Reputation: 103
Currently, I am running a nodejs application with AWS Beanstalk as well as AWS CodeDeploy and CodeBuild. Also, I push to a github repository to start the automation of my CodeDeploy pipeline.
What is the best / cleanest strategy to have a staging environment be pushed to first, and if all tests are ok, approve to push it to production?
Thanks, in advance!
Upvotes: 4
Views: 4150
Reputation: 8890
This is something that AWS recommend having multiple cross accounts deployment separating Dev and Tools account. Detailed blog is here.
You can add a Manual Approval action as last action in DeployToTest stage to guardrail a production deployment.
Upvotes: 3