Design Resilient Architectures

A CloudFormation-managed Auto Scaling group must replace instances in batches while keeping at least four serving traffic; new instances must finish application initialization before the next batch starts. Failed initialization must automatically roll back the stack update without a custom deployment controller. Which configuration meets these requirements?

Show the answer

Correct answerA. Use an UpdatePolicy with rolling updates, MinInstancesInService, WaitOnResourceSignals, and application readiness signals.

AWhy this is right: Rolling updates preserve minimum capacity, wait for readiness signals, and fail the update if required signals do not arrive.

BWhy not this: Scheduled scaling does not gate replacement batches on application readiness or trigger stack rollback on initialization failure.

CWhy not this: A CreationPolicy alone does not govern rolling replacement of instances during updates to an existing Auto Scaling group.

DWhy not this: Configuration remediation does not coordinate replacement batches or gate CloudFormation progress on application readiness.

A rolling UpdatePolicy controls batch replacement and minimum in-service capacity. Waiting for application readiness signals gates progress, and a signal timeout fails the update so CloudFormation can roll back; a CreationPolicy alone does not control rolling updates to an existing group.