An Elastic Beanstalk deployment must keep every original instance unchanged until a complete replacement fleet passes health checks. If deployment fails, the replacement fleet must be discarded without redeploying the previous version to original instances; which deployment policy meets these requirements?
Show the answer
Correct answerB. Immutable
AWhy not this: An additional batch preserves serving capacity, but the deployment subsequently updates original instances.
BWhy this is right: A separate replacement fleet is health-checked, and failed replacement instances can be terminated while originals remain unchanged.
CWhy not this: All at once deploys to original instances together and does not create an isolated replacement fleet.
DWhy not this: Rolling deployment updates original instances, so failure can leave instances running different application versions.
An immutable deployment launches a complete replacement fleet in a temporary Auto Scaling group and verifies its health before replacing the original instances. Rolling with additional batch preserves capacity but still updates original instances in batches.