A SysOps Administrator is managing a production web application deployed on AWS Elastic Beanstalk. The application must maintain its full capacity of running instances at all times to handle peak traffic. The administrator needs to deploy a new application version with zero downtime. The deployment strategy must also support a rapid, automatic rollback to the previous version without requiring a full redeployment of the older application version package if any post-deployment health checks fail. Which deployment strategy should the administrator implement to meet these requirements?
- Configure the Elastic Beanstalk environment to use the Immutable deployment policy.Answer
- BConfigure the Elastic Beanstalk environment to use the Rolling with additional batch deployment policy.
- CConfigure the Elastic Beanstalk environment to use the Rolling deployment policy.
- DConfigure a Blue/Green deployment by cloning the environment and performing a CNAME swap, without pre-warming the instances in the new environment.
Answer
Configure the Elastic Beanstalk environment to use the Immutable deployment policy.
The Immutable deployment policy is correct because it launches a parallel, temporary Auto Scaling group with the new application version. It ensures that the original instances continue to serve traffic at full capacity. If health checks fail on the new instances, Elastic Beanstalk terminates the temporary Auto Scaling group immediately. This provides a rapid, one-step rollback without any downtime or the need to redeploy the previous version package.
Step-by-Step Solution
Key Concept
AWS Elastic Beanstalk Immutable deployments provide zero-downtime updates and rapid rollbacks by launching a temporary Auto Scaling group alongside the existing one and verifying the new version before terminating the old instances.
Estimated Time:1m 30s