...

/

Demo: Performing Rollbacks in AWS CodeDeploy

Demo: Performing Rollbacks in AWS CodeDeploy

Learn how to perform rollbacks if an application deployment fails.

Deployment failures are common in DevOps projects that deliver frequent releases. The project teams must decide early on how to react during such failures.

AWS CodeDeploy Rollbacks feature

AWS CodeDeploy offers an option to rollback an application revision during failure, and the last known good revision is redeployed. To achieve this, we must make a few changes to our deployment group. Under the “Advanced” section, CodeDeploy offers an option to enable or disable rollbacks.

Press + to interact
AWS CodeDeploy Rollbacks feature
AWS CodeDeploy Rollbacks feature

We have a couple of options:

  • Roll back in case a deployment fails: This failure could be because of bad application code, network issues, ...