RTO and RPO
Overview
Disaster recovery (DR) is the plan for getting your workload working again after a major failure, such as a Regional outage, ransomware or a destructive human error. Two numbers drive every DR decision: RPO and RTO.
The Recovery Point Objective (RPO) is how much data you can afford to lose, measured as time: "we can lose at most 15 minutes of transactions". The Recovery Time Objective (RTO) is how long you can be down: "we must be back within one hour". Tighter targets cost more money and complexity.
AWS describes four DR strategies along a cost-versus-recovery-speed spectrum: backup and restore, pilot light, warm standby and multi-site active-active. The SAA-C03 exam constantly asks you to pick the cheapest strategy that still meets stated RTO/RPO values.
Key Concepts
- RPO = maximum acceptable data loss measured in time (driven by backup/replication frequency).
- RTO = maximum acceptable downtime until service is restored (driven by how much is pre-provisioned and automated).
- Backup & restore: lowest cost, RPO/RTO of hours; restore data and rebuild infrastructure after the disaster.
- Pilot light: data continuously replicated and core infrastructure (e.g. DB) running, but app servers off/minimal; RTO of tens of minutes to hours.
- Warm standby: a scaled-down but fully functional copy always running; scale up on failover; RTO of minutes, RPO of seconds to minutes.
- Multi-site active-active: full capacity in two or more Regions serving traffic; near-zero RTO/RPO, highest cost and complexity.
- AWS Elastic Disaster Recovery (DRS) and AWS Backup are key tools; Route 53 and Global Accelerator direct traffic to the recovery site.
- DR is regional; HA (Multi-AZ) handles AZ failures, while DR handles Region-wide failure or data loss.
Detailed Notes
Defining RPO and RTO
Last good backup/replica Disaster Service restored
|-------- RPO -------------|------------ RTO ------------|
data loss window downtime window
- RPO depends on how often you copy data: nightly backups give an RPO of up to 24 hours; continuous replication gives seconds.
- RTO depends on how much infrastructure must be created, configured and tested during recovery, and how automated it is.
- Also define MTD (maximum tolerable downtime) and WRT (work recovery time) when mentioned.
The four AWS DR strategies
| Strategy | RPO | RTO | Cost | What runs in the DR Region |
|---|---|---|---|---|
| Backup & restore | Hours | Hours (24 h or less) | $ | Nothing running; backups/AMIs/snapshots stored (cross-Region copies) |
| Pilot light | Minutes | Tens of minutes to hours | $$ | Data replicated, core resources (DB) running; app servers stopped or at zero |
| Warm standby | Seconds-minutes | Minutes | $$$ | Scaled-down full environment running and receiving replicated data |
| Multi-site active-active | Near zero | Near zero (seconds) | $$$$ | Full-scale environment in each Region serving live traffic |
1. Backup and restore
Back up data and AMIs to S3/EBS snapshots, copy them to another Region (AWS Backup). On disaster you provision infrastructure with CloudFormation/IaC, restore data and cut over DNS. Cheapest, slowest.
2. Pilot light
Like the small flame in a gas heater, the minimal core is always on: the database is replicated and running (e.g. RDS read replica or Aurora Global secondary), while AMIs and launch templates are ready. On failover you start the application servers, scale out, and switch DNS. Recovery is quicker than restoring from backup because data is already present.
3. Warm standby
A smaller but complete copy of the production stack runs in the DR Region (for example, 2 instances rather than 20). It can handle some traffic and is tested continuously. On failover you scale up the Auto Scaling group and switch traffic. Lower RTO than pilot light because everything is already running.
4. Multi-site active-active
The workload serves traffic from multiple Regions simultaneously, using Route 53 latency/weighted routing or Global Accelerator, and multi-writer data (DynamoDB Global Tables, Aurora Global with write forwarding). If one Region fails, the others absorb traffic. Highest cost and design complexity (data consistency, conflict resolution).
Choosing a strategy
| Requirement | Likely strategy |
|---|---|
| RTO/RPO of many hours, tight budget | Backup & restore |
| RTO of tens of minutes, RPO minutes, cost-conscious | Pilot light |
| RTO of minutes, RPO seconds | Warm standby |
| Near-zero RTO and RPO, mission-critical | Multi-site active-active |
Key services by strategy
- Backup & restore: AWS Backup, EBS snapshots/AMI copy, S3 CRR, CloudFormation.
- Pilot light: RDS/Aurora cross-Region replica, AWS Elastic Disaster Recovery, AMIs, Auto Scaling at 0.
- Warm standby: Aurora Global Database, scaled-down ASG, Route 53 failover.
- Active-active: DynamoDB Global Tables, Global Accelerator, Route 53 latency routing, StackSets.
Elastic Disaster Recovery (DRS)
DRS installs an agent on source servers (physical, virtual, other clouds, or EC2) and continuously replicates block-level data to a low-cost staging area (small instances and EBS). In a disaster it launches recovery instances in minutes, typically RPO of seconds and RTO of minutes. It works like a pilot light for lift-and-shift servers.
Failover mechanics
# Promote the DR read replica and update the DNS failover record
aws rds promote-read-replica --db-instance-identifier orders-dr --region us-west-2
aws autoscaling update-auto-scaling-group --auto-scaling-group-name web-dr \
--min-size 4 --desired-capacity 8 --region us-west-2
- Use Route 53 failover routing with health checks for active-passive and latency/weighted for active-active.
- Automate failover where possible; manual runbooks lengthen RTO.
- Test regularly with game days; untested DR plans fail.
Common exam pitfalls
- Multi-AZ is HA, not DR. A Region outage needs a second Region.
- Replication is not backup: it copies corruption.
- Choose the cheapest strategy that satisfies both RTO and RPO.
- Data replication frequency sets RPO; pre-provisioned capacity sets RTO.
Real World Example
Scenario — a bank classifies applications by recovery objectives.
A bank sorts its applications into tiers and uses a different DR strategy for each:
- Tier 3 - internal HR portal (RPO 24 h, RTO 24 h): backup and restore using AWS Backup with cross-Region copies and CloudFormation templates. Monthly cost is tiny.
- Tier 2 - reporting platform (RPO 15 min, RTO 2 h): pilot light. An RDS cross-Region read replica runs in the DR Region, AMIs are synced, and the Auto Scaling group sits at zero until a failover runbook scales it.
- Tier 1 - online banking (RPO under 1 min, RTO 10 min): warm standby with an Aurora Global Database secondary and a half-size fleet, plus Route 53 health-check failover.
- Tier 0 - payment switch (RPO ~0, RTO ~0): active-active across two Regions with DynamoDB Global Tables and Global Accelerator.
The bank runs quarterly DR drills, records actual RTO/RPO, and shifts applications between tiers as business criticality changes, balancing risk against cost.
Architecture Diagram
More infrastructure kept running in the DR Region means faster recovery and higher cost.
- 1Backup and restore: only backups exist in the DR Region; infrastructure is rebuilt and data restored after a disaster (hours).
- 2Pilot light: the database is replicated and running, application servers are started during failover (tens of minutes).
- 3Warm standby: a scaled-down full stack is already running and is scaled up and receives traffic (minutes).
- 4Active-active: both Regions serve live traffic; losing one Region needs no recovery action beyond DNS or accelerator rerouting (near zero).
Best Practices
- ✓Define RTO and RPO per workload with the business and choose the cheapest strategy that meets both.
- ✓Tier applications by criticality instead of applying one expensive strategy everywhere.
- ✓Automate recovery with infrastructure as code, runbooks, Step Functions and Systems Manager Automation.
- ✓Keep the DR Region ready: quotas, AMIs, KMS keys, secrets, IAM roles, DNS and capacity reservations.
- ✓Test failover and failback regularly (game days) and record actual RTO/RPO.
- ✓Monitor replication lag and backup success with CloudWatch alarms.
- ✓Use Route 53 health checks or Global Accelerator to detect failure and shift traffic.
- ✓Combine DR with backups and security controls to protect from data corruption and ransomware.
Common Interview Questions
Exam Tips
SAA-C03 focus
- RPO = data loss tolerance; RTO = downtime tolerance. Memorise the definition.
- Order by cost and speed: Backup & restore < Pilot light < Warm standby < Multi-site active-active.
- "Core services/database running, servers off" -> pilot light. "Scaled-down but fully working copy" -> warm standby.
- "RTO/RPO of hours, lowest cost" -> backup and restore. "Near-zero downtime" -> active-active.
- Cheapest option that meets both RTO and RPO is almost always the right answer.
- Elastic Disaster Recovery (DRS) for continuous server replication to AWS (on-premises to AWS or cross-Region).
- Route 53 failover + health checks or Global Accelerator redirects traffic to the DR site.
- Multi-AZ = HA, not DR; replication != backup. Test your DR plan.
Chapter quiz
Disaster Recovery · 5 questions
1.A company requires that its database backups cannot be deleted by anyone, including administrators, for seven years to protect against ransomware. Backups should be centrally managed across several services. Which solution meets the requirement?
2.A production RDS for MySQL database must remain available if an Availability Zone fails, with automatic failover and no data loss. The application should not need configuration changes after failover. What should a solutions architect do?
3.A company stores critical documents in an S3 bucket in us-east-1 and must keep a copy in eu-west-1 with 99.99% of new objects replicated within 15 minutes. What should be configured?
4.An application has an RTO of 15 minutes and an RPO of 1 minute for a Regional failure. Cost should be minimised while meeting the objectives. Which DR strategy is MOST appropriate?
5.A global gaming company needs a NoSQL database that accepts reads and writes in multiple Regions at the same time with low latency for players worldwide, and continues operating if one Region fails. Which service should be used?
0 of 5 answered
Finished this lesson?
0 of 64 lessons done · 0% of the course

