Deployment, Provisioning, and Automation

An Elastic Beanstalk application must maintain its existing serving capacity during updates and deploy the new version to a separate group of instances before replacing the original instances. Which deployment policy meets these requirements?

Show the answer

Correct answerD. Immutable

AWhy not this: Rolling deployments update batches of existing instances, which reduces capacity while each batch updates.

BWhy not this: All-at-once deployments update the existing instances together, interrupting service during deployment.

CWhy not this: Rolling with additional batch keeps capacity with one extra batch but deploys onto the existing instances in batches.

DWhy this is right: Immutable deployments validate a separate group of new instances while the original instances retain serving capacity.

Immutable deployments launch a separate Auto Scaling group with the new version and verify the new instances before replacing the originals. Rolling with additional batch keeps full capacity by launching one extra batch, but it then updates the existing instances in batches rather than using a separate group.