A company hosts a high-traffic web application on AWS Elastic Beanstalk. A SysOps Administrator must configure a deployment strategy for an upcoming application update that satisfies the following operational requirements:
1. The application must maintain of its serving capacity throughout the deployment process.
2. The rollback process must be immediate and automated if the new version fails post-deployment health checks.
3. The strategy must not rely on DNS routing changes or CNAME swaps, as downstream client applications cache DNS records with long Time to Live (TTL) values.
Which deployment strategy should the SysOps Administrator select to meet these requirements?
- Immutable deploymentAnswer
- BRolling with additional batch deployment
- CBlue/Green deployment
- DRolling deployment
Answer
Immutable deployment
The correct option is the one specifying an Immutable deployment. An Immutable deployment launches a temporary Auto Scaling group with the new version alongside the existing one. This satisfies the capacity requirement because the old instances remain fully operational. Traffic is shifted to the new instances within the same environment, avoiding any DNS or CNAME modifications. If post-deployment health checks fail, Elastic Beanstalk terminates the temporary Auto Scaling group, immediately returning the environment to its original state.
Step-by-Step Solution
Key Concept
Selecting and configuring AWS Elastic Beanstalk deployment policies to meet capacity, rollback speed, and DNS routing constraints.
Estimated Time:2m 0s