AWS Deployment View (Testing Environment) - pinocchio61/Architecture GitHub Wiki
This view is an AWS infrastructure in the testing environment.
- The client visits various services from the EC2
- The EC2 instance initializes "sensitive" parameters in runtime from AWS Secrets Manager
- The EC2 writes and reads data from DynamoDB
- The EC2 dispatches transcription jobs to AWS Transcribe
The permissions to programmatically access AWS products are carefully managed by IAM.
The deployment process is as follows:
- The Push event on GitHub triggers a Deployment job on CodeDeploy
- CodeDeploy archives the latest codebase to Amazon S3
- CodeDeploy commands the EC2 to update the codebase
- EC2 pulls the codebase from S3 and restart all the services
- CodeDeploy publishes a message to SNS if there is a update failure
- SNS notifies the developer about the deployment failure