A CloudWatch alarm enters ALARM after deployment.
Return the application to the previous revision automatically.
Which setting is most appropriate?
Configure automatic rollback conditions on the CodeDeploy deployment group and associate the CloudWatch alarm.
Detailed explanation
Manual termination increases recovery time and harms availability.
Manual termination increases recovery time and harms availability.
DNS TTL does not restore a deployment revision.
DNS TTL does not restore a deployment revision.
A deployment group can roll back when a deployment fails or an associated alarm enters ALARM.
A deployment group can roll back when a deployment fails or an associated alarm enters ALARM.
S3 versioning does not switch a running application to an earlier revision.
S3 versioning does not switch a running application to an earlier revision.
Check official documentation
Compare the following points with the official documentation.
AWS CodeDeploy automatic rollbackの公式説明を確認する。
What to confirm
ロールバック条件とアプリケーション監視を接続できる。
Key points
- Automatic rollback
- Deployment group
- CloudWatch alarm
Notes
- Environment: AWS公式SOA-C03試験ガイドとAWS公式ドキュメントの確認
- Confirm current AWS service behavior in the official documentation.
Foundation review
Signal-driven recovery
An alarm supplies an observable failure condition for the deployment controller.
Rollback scope
A rollback restores the application revision; it does not require destroying the compute fleet.