Rocksmash
Rocksmash

Reputation: 103

Best strategy for staging and production environments in AWS

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

Answers (1)

shariqmaws
shariqmaws

Reputation: 8890

This is something that AWS recommend having multiple cross accounts deployment separating Dev and Tools account. Detailed blog is here.

enter image description here

You can add a Manual Approval action as last action in DeployToTest stage to guardrail a production deployment.

enter image description here

Upvotes: 3

Related Questions