A developer is configuring a deployment strategy for a web application running on AWS Elastic Beanstalk. The application must maintain full capacity () throughout the deployment process to handle steady traffic, and the developer wants to avoid performing any DNS routing changes or CNAME swaps. Which two deployment policies satisfy these requirements? (Select TWO.)
- Rolling with additional batchAnswer
- ImmutableAnswer
- CRolling
- DAll at once
- EBlue/Green deployment via CNAME swap
Answer
Rolling with additional batch and Immutable are the correct deployment policies.
The correct options are 'Rolling with additional batch' and 'Immutable'. 'Rolling with additional batch' maintains full capacity by launching a new batch of instances before taking existing ones out of service. 'Immutable' maintains full capacity by deploying a temporary Auto Scaling group next to the original one and only cleaning up the old instances once the new ones pass health checks. Neither policy requires DNS or CNAME swaps.
Step-by-Step Solution
Key Concept
AWS Elastic Beanstalk deployment policies and their impact on environment capacity, downtime, and DNS routing.