AWS Certified Solutions Architect – Professional
ARC zonal shift vs routing control vs Region switch (SAP-C03)
The Amazon Application Recovery Controller (ARC) guide describes zonal shift and zonal autoshift for moving traffic out of one impaired Availability Zone, and routing control and Region switch for moving an application between Regions. For failover, AWS recommends data plane operations, such as updating routing control states through the cluster endpoints, not the console.
Zonal shift and zonal autoshift
A zonal shift moves a supported resource's traffic away from one Availability Zone to the healthy zones in the same Region. You start it, and it ends when it expires or you cancel it. A load balancer must be opted in first: on a Network Load Balancer you enable the ARC zonal shift integration attribute.
Where the shift starts matters when load balancers are chained. If an Application Load Balancer is the target of a Network Load Balancer, the shift must start from the Network Load Balancer. A shift started on the Application Load Balancer does not stop the Network Load Balancer sending traffic to it and its targets. During a shift, the Network Load Balancer node in that zone is removed from DNS and the targets in the zone stop receiving traffic.
With zonal autoshift, AWS starts the shift for you when its own telemetry shows an impairment in a zone. You enable it per resource, and you must also configure a practice run. AWS runs practice runs about weekly for 30 minutes to prove the application has enough capacity without one zone. A practice run needs at least one outcome alarm, a CloudWatch alarm that goes into ALARM when losing a zone hurts the application. Blocking alarms are optional and stop practice runs from starting.
Autoshift assumes you pre-scale so the remaining zones can carry the load. If the target groups in the other zones have no instances, or every instance is unhealthy, the load balancer fails open and the zone cannot be shifted away.
Routing control: data plane vs control plane
A routing control is an on/off state you set to move traffic between Regions. The mechanism is a DNS update: new connections go to the other Region, while clients with open connections stay until they reconnect. AWS suggests record TTLs of 60 or 120 seconds and a shorter load balancer keepalive for that reason.
ARC splits routing control in two. The control plane, the Recovery Control Configuration API, creates clusters, control panels and routing controls. It is hosted in US West (Oregon) and is not highly available. The data plane is a dedicated cluster across five Regions that gets, lists and updates routing control states. It is highly available.
So the failover step should use the data plane only. AWS recommends calling UpdateRoutingControlState from the AWS CLI or an SDK and not changing states in the console. Keep the five Regional cluster endpoints and the routing control ARNs in the runbook or code, and retry on another endpoint if one does not answer. Looking the endpoints up during an event relies on an API that is not on the data plane.
AWS also recommends long-lived IAM credentials kept only for disaster recovery, so failover does not depend on federated sign-in.
Region switch plans
Region switch orchestrates a whole recovery. A plan holds workflows, a workflow holds steps, and each step runs one or more execution blocks in parallel or in sequence. Plans work across accounts, support active/passive and active/active designs, and run manually or from a CloudWatch alarm trigger. Region switch has a data plane in each Region, so a plan can run without depending on the Region being left.
Execution blocks do the work. The Amazon EC2 Auto Scaling group block scales the group in the Region being activated to a percentage of the other Region's capacity. Region switch does not guarantee that capacity will be available, so AWS recommends reserving it for critical applications. The Aurora Global Database block runs the database recovery and can perform a failover, which might lose data.
Traffic can move without routing controls. The Route 53 health check block creates a health check for each Region, and you attach those health checks to your own DNS records. Running the block flips the health check states. That change is a Route 53 data plane operation. There is also an ARC routing control block for plans that use routing controls.
Where the exam catches people
- Believing a zonal shift on the Application Load Balancer is enough when a Network Load Balancer fronts it: the shift must start from the Network Load Balancer.
- Believing you choose the alarm that triggers an autoshift: AWS starts autoshifts from its own telemetry. Your alarms belong to the practice run, and at least one outcome alarm is required.
- Believing the ARC console is the reliable way to change routing control states in an outage: AWS recommends the data plane API through the cluster endpoints.
- Believing one cluster endpoint in the runbook is enough: keep all five and retry, because an endpoint can be unavailable.
- Believing Region switch needs ARC routing controls to move DNS: the Route 53 health check block changes health check states on records you own.