Count surviving capacity
In a fictional service, three zones have two instances each. Each instance sustains 80 requests per second under the rehearsal conditions, while expected demand is 350. After losing one zone, four instances provide 320 requests per second in this model: a shortfall of 30.
A three-zone diagram does not resolve that gap. If the requirement demands service without waiting for new launches, size capacity already available in surviving zones and assess shared dependencies. This calculation is not an AWS benchmark and excludes queues, variability, and database limits.
Use it to define acceptance rehearsal with representative load, approved margin, and explicit controlled-degradation criteria. Capacity also needs accessible state: if each session exists only in one instance’s memory, a subsequent request to another target can lose its context.
Externalize required state to a suitable shared service or design requests independent of the previous instance. Include that service’s availability and consistency in the analysis; adding instances does not automatically replicate sessions.
Interpret health without promising absolute isolation
An ALB normally selects healthy targets within its configured scope, but there is an important exception: when all registered targets in the group are unhealthy across enabled zones, fail-open can occur and traffic can still reach them. Do not use a failed health check as guaranteed traffic isolation.
During diagnosis, distinguish ResponseCodeMismatch, Timeout, and NotInUse; an instance reachable directly may sit in a disabled zone or a group without a listener rule. Examine configuration and evidence before widening the matcher. Treating errors as healthy merely to turn the dashboard green hides the failure.
Also define what limited response the application can provide when a shared dependency fails.
Separate routing from replacement
A web worker is unhealthy in the ALB, but its operating system remains running and EC2 checks pass. The team expects automatic group replacement. Confirm which health sources are enabled in Auto Scaling: attaching the group to a load balancer is insufficient to conclude that every application check drives replacement.
During startup, a grace period can avoid premature replacement due to checks that have not passed yet. That protection does not retain an instance that has left the running state. Record both flows: deciding whether to receive traffic and deciding whether to replace capacity.
A correction to the first can leave the second unchanged, so acceptance must observe both.
Choose the right startup control
An instance downloads configuration before serving and then fills caches. A lifecycle hook can hold a lifecycle wait phase until preparation finishes; include outcome, timeout, and failure handling. The grace period addresses startup health replacement.
Default instance warmup addresses unstable metrics contributing to scaling decisions. Target-group slow start, when compatible with the chosen algorithm, gradually increases a healthy target’s traffic share. These controls are not interchangeable.
Draw a timeline from launch to stable load. Measure each interval and explain which signal ends each phase instead of choosing one arbitrary timer for every decision. Record which mechanism actually prevents premature traffic and which only affects scaling behavior.
Scale using metrics that respond to capacity
A team wants to use total incoming requests for target tracking. If doubling instance count does not change external demand, that total does not reflect reduced work per instance. Compare a per-target metric with sustainable capacity, keeping the interval and traffic distribution explicit.
Latency remains useful for service acceptance, but a useful observation metric is not automatically suitable for the scaling mechanism. Also confirm minimum, maximum, quotas, and launch capacity. If the group is already at its maximum, another target breach does not create additional headroom.
Bring demand, the identified limit, and options with cost and risk to the decision meeting.
Remove targets and accept recovery
During target removal, deregistration delay helps in-flight requests finish, but does not keep alive a process terminated by the application. Align draining, shutdown, and relevant request durations. After a failure, recovering DNS or instance count is only part of the service: also validate state, dependencies, capacity, and business output.
RPO concerns tolerated data loss measured in time; RTO concerns target time to agreed recovery. In the documentary workshop, allow fifteen minutes for the timeline and twenty for an expected-outcome matrix covering partial failure, shared failure, and recovery.
Examples are fictional; no AWS failover was executed. Deliver observable criteria and RUN responsibilities. If restoration takes four hours and RTO becomes thirty minutes, assess warm standby: a functional copy already running at reduced capacity.
Measure scaling, validation, and transition; the strategy name does not guarantee the deadline. An unexpired TTL can keep the previous DNS answer cached, and existing connections need separate handling. In the workshop, compare clients with a recent cache and with fresh resolution.
Also check permissions and quotas at the destination before accepting the plan.
Three zones with two 80-request/s instances leave 320 requests/s after losing one zone. At demand of 350, the gap is 30; launching replacements later does not satisfy a no-wait requirement.
Common pitfalls
Confusing ALB health with ASG replacement; assuming isolation when all targets are unhealthy; using warmup to block traffic; terminating the process before draining completes.
Related topics: Data protection and recovery · Recovery: dependencies, capacity, and cost · Compute: commitments and batch recovery
Plan for capacity already present, identify the mechanism behind each decision, and measure recovery through validated service.
References
- Disaster recovery options · AWS documentation consulted 2026-09-29
- SAA-C03 resilient architectures · SAA-C03 / primary documentation consulted 2026-10-04
- ALB target health checks · SAA-C03 / primary documentation consulted 2026-10-04
- ALB target group attributes · SAA-C03 / primary documentation consulted 2026-10-04
- Auto Scaling health check types · SAA-C03 / primary documentation consulted 2026-10-04
- Auto Scaling health check grace period · SAA-C03 / primary documentation consulted 2026-10-04
- Default instance warmup · SAA-C03 / primary documentation consulted 2026-10-04
- Auto Scaling lifecycle hooks · SAA-C03 / primary documentation consulted 2026-10-04
- Target tracking scaling policies · SAA-C03 / primary documentation consulted 2026-10-04
- Static stability · SAA-C03 / primary documentation consulted 2026-10-04
- Route 53 health checks · SAA-C03 / primary documentation consulted 2026-10-04
- SAA-C03 high-performing architectures · SAA-C03 / primary documentation consulted 2026-10-04
- Make systems stateless where possible · SAA-C03 / primary documentation consulted 2026-10-04
- Values for simple Route 53 records · SAA-C03 / primary documentation consulted 2026-10-04