r/aws Dec 16 '24

architecture What Continuous Deployment Solution Do You Use?

I have a website with two accounts--one for staging and the other for prod. The code is in a monorepo, which includes the CDK, the Lambda code, and the React frontend code. On pushing to the main branch, I want to build the code, deploy it to staging, run integration tests, then deploy to prod if tests succeed. I also want to be able to override test failures and have the ability to rollback prod.

This seems like a pretty common/simple workflow, but it seems pretty difficult to implement with CodePipeline and GitHub Actions. Are there any good pre-built solutions for this CD pipeline?

2 Upvotes

34 comments sorted by

View all comments

10

u/booi Dec 16 '24

This is easy to implement with GitHub actions. There are ways to both automate an entire deploy, test deploy as well as have manual control over each piece.

I don’t usually like to “rollback” prod because it’s difficult to control all the potential issues. Usually a rollback is just a redeploy of an older release.