Designing Multi-AZ and Multi-Region Applications and Disaster Recovery
Availability Zones protect against most infrastructure failures; Regions protect against the rare events that affect a whole Region and against Regional dependencies. This lesson explains how to design applications that run across AZs and Regions with minimal downtime, the four disaster recovery strategies and their RTO, RPO and cost, and the data and failover considerations that make multi-Region designs work.
Learning outcomes
After completing this lesson, you will be able to:
- Explain how applications are designed to run across multiple Availability Zones with minimal downtime.
- Compare backup and restore, pilot light, warm standby and multi-site active/active disaster recovery strategies.
- Explain the data replication, consistency and failover decisions in multi-Region designs.
- Choose a disaster recovery strategy that meets given RTO, RPO and cost requirements.
Multi-AZ Application Design
Each AWS Region contains at least three Availability Zones, which are physically separate groups of data centres with independent power, cooling and networking, connected by low-latency links. Because AZs are close enough for synchronous replication, a workload can run actively in several AZs at once with no user-visible failover. The standard multi-AZ design has a load balancer across the AZs, stateless compute in an Auto Scaling group or ECS service spread across the AZs, a database with synchronous standby or replicas in other AZs, and AZ-redundant managed services such as S3, DynamoDB, SQS and Lambda, which are multi-AZ by default.
To minimise downtime during changes as well as failures, deployments are rolled out one AZ or one batch at a time, and the application tolerates the brief connection drops that occur during database failover by retrying with backoff and using connection pools that reconnect, such as Amazon RDS Proxy, which also reduces failover time for applications.
The Four Disaster Recovery Strategies
Multi-Region resilience is described by four strategies, ordered by increasing cost and decreasing RTO and RPO. Each is explained below and then compared.
Backup and restore
Data is backed up and copied to the recovery Region, and infrastructure is defined in IaC. After a disaster, the environment is deployed from templates and data is restored from the backups. RPO equals the backup interval (hours, or minutes with continuous backup copies), and RTO is hours, because everything must be created and restored. It is the cheapest strategy and is appropriate for lower-tier workloads.
Pilot light
Data is replicated continuously to the recovery Region, and the core infrastructure that is slow to create, such as the database replica and the network, is always running, but application servers are off or scaled to zero. Recovery means starting and scaling the application tier and failing over the data store, so RTO is tens of minutes and RPO is seconds to minutes.
Warm standby
A complete, scaled-down but functional copy of the workload runs in the recovery Region, with data replicated continuously. It can handle some traffic immediately and is scaled up during failover. RTO is minutes and RPO is seconds. The standby can be tested continuously by sending it a small share of real traffic.
Multi-site active/active
The workload runs at full capacity in two or more Regions, each serving production traffic, routed by Route 53 latency or geoproximity routing or by other global traffic management. A Regional failure only removes one Region from routing. RTO is near zero, and RPO depends on the replication method, near zero for most data. It is the most expensive and complex strategy, particularly because writes in several Regions require a data design that handles conflicts.
| Strategy | Running in recovery Region | RTO | RPO | Relative cost |
|---|---|---|---|---|
| Backup and restore | Backups only | Hours | Hours (backup frequency) | Lowest |
| Pilot light | Data replicas and core infrastructure | Tens of minutes | Seconds to minutes | Low |
| Warm standby | Scaled-down full stack | Minutes | Seconds | Medium to high |
| Multi-site active/active | Full production capacity | Near zero | Near zero | Highest |
The following diagram places the four strategies on a spectrum.

Pilot light or warm standby?
The difference between pilot light and warm standby is whether the application tier is running and able to serve requests. If the scenario says the recovery environment can take traffic immediately but at reduced capacity, it is warm standby.
Name the DR strategy
Data Replication Across Regions
The data layer usually determines the RPO and the complexity of a multi-Region design. Most cross-Region replication is asynchronous, because the latency between Regions makes synchronous replication impractical, so a small amount of recent data can be lost when a Region fails. The main managed options, each described in the resilient data module, are Aurora Global Database (typically under one second of lag, managed failover and switchover), RDS cross-Region read replicas (promotion on failover), DynamoDB global tables (multi-active writes, with an option for multi-Region strong consistency), S3 Cross-Region Replication (with Replication Time Control for a 15-minute SLA), ElastiCache Global Datastore and AWS Backup cross-Region copies.
Multi-Region writes require a conflict strategy. DynamoDB global tables use last-writer-wins by default; many designs avoid conflicts by routing each user or tenant to a home Region for writes. Supporting resources also need replication: container images (ECR replication), secrets (Secrets Manager replication), KMS keys (multi-Region keys), parameters and AMIs.
Failover Decisions
Multi-Region failover can be automatic or manual, and each has risks. Automatic failover based on health checks reacts fastest but can be triggered by a false positive, such as a monitoring problem, and can flap between Regions. Manual failover, started by an operator following a runbook, avoids false positives but adds human decision time to the RTO. Many organisations automate the detection and the execution but require a human to decide, using tools such as Route 53 Application Recovery Controller routing controls, which are designed to be operated from the data plane during an event.
Whichever approach is used, failover must not depend on the failed Region: runbooks, DNS changes and scaling actions should be executable from the recovery Region, and the recovery Region's quotas, AMIs and configuration must be ready in advance. Failback, returning to the original Region, needs its own plan, including resynchronising data written during the outage.
Choosing a Strategy
Three applications need disaster recovery to a second Region.
| Application | Requirements | Strategy | Reason |
|---|---|---|---|
| Internal wiki | RTO 24 hours, RPO 24 hours, minimal cost | Backup and restore | Nightly AWS Backup copies to the second Region and IaC meet the targets cheaply |
| Partner API | RTO 30 minutes, RPO 5 minutes | Pilot light | An Aurora Global Database secondary and the network run continuously; the ECS service is scaled from zero during failover |
| Payment service | RTO 5 minutes, RPO under 1 minute | Warm standby | A scaled-down stack is already serving test traffic and scales up on failover |
A company needs an RTO of under one minute and continuous availability even if a Region fails, and it can accept the highest cost. Which strategy fits?
Show answer
Multi-site active/active, with production capacity serving traffic in at least two Regions and routing that removes a failed Region automatically.
Exam Tips
Remember for the exam
- Multi-AZ designs run actively in several AZs with synchronous data replication; use retries and RDS Proxy to smooth database failover.
- DR strategies by increasing cost: backup and restore (hours), pilot light (tens of minutes), warm standby (minutes), multi-site active/active (near zero).
- Pilot light keeps data and core infrastructure running; warm standby keeps a scaled-down, working copy.
- Cross-Region replication is asynchronous; Aurora Global Database, DynamoDB global tables, S3 CRR with RTC, ECR, Secrets Manager and KMS multi-Region keys support multi-Region designs.
- Failover must not depend on the failed Region; prepare quotas, AMIs and runbooks in the recovery Region.