RTO, RPO, and DR Tiers
Define Recovery Time Objective and Recovery Point Objective, map them to cost tiers, and understand what SLA commitments each DR strategy supports.
RTO, RPO, and DR Tiers is a free AWS Solutions Architect lesson on CoddyKit — lesson 1 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the AWS Solutions Architect learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.
Understanding RTO and RPO
Recovery Time Objective (RTO) is the maximum acceptable time from when a disaster occurs until your system is restored to operation. If your RTO is 4 hours, your business can tolerate 4 hours of downtime. Recovery Point Objective (RPO) is the maximum acceptable amount of data loss measured in time — if your RPO is 1 hour, you must be able to recover to a point no more than 1 hour before the disaster. Both metrics are defined by business requirements, not technical preferences.
# RTO and RPO definitions:
# RTO = max time system can be DOWN
# Example: RTO=4h means restore within 4 hours
#
# RPO = max data LOSS acceptable
# Example: RPO=1h means no more than 1 hour of data lost
#
# Lower RTO and RPO = more expensive DR strategy
# Higher RTO and RPO = cheaper but more business impactThe Four DR Tiers
AWS defines four primary Disaster Recovery strategies, ordered from lowest cost / highest RTO to highest cost / lowest RTO: 1) Backup and Restore — cheapest, hours of RTO. 2) Pilot Light — minimal core always running, minutes to hours RTO. 3) Warm Standby — scaled-down but functional, minutes RTO. 4) Multi-Site Active-Active — most expensive, near-zero RTO. Your choice depends on the business cost of downtime versus the cost of the DR infrastructure.
# DR Strategy comparison:
# Strategy | RTO | RPO | Cost
# Backup & Restore | Hours | Hours | Lowest
# Pilot Light | Minutes+ | Minutes | Low
# Warm Standby | Minutes | Seconds | Medium
# Active-Active | ~0 | ~0 | HighestBackup and Restore Strategy
In Backup and Restore, you regularly snapshot your data and store it in another location (e.g., S3 with cross-region replication). In a disaster, you restore from the most recent backup. This is the cheapest strategy because you do not run standby infrastructure. The trade-off is the longest RTO (hours to restore large databases from snapshots) and highest RPO (data since the last backup is lost). AWS Backup automates snapshot schedules across EC2, RDS, EFS, DynamoDB, and more.
# Create AWS Backup plan for RDS
aws backup create-backup-plan \
--backup-plan '{
"BackupPlanName": "daily-backup",
"Rules": [{
"RuleName": "daily",
"TargetBackupVaultName": "dr-vault",
"ScheduleExpression": "cron(0 5 ? * * *)",
"StartWindowMinutes": 60,
"CompletionWindowMinutes": 180,
"Lifecycle": {
"DeleteAfterDays": 35
},
"CopyActions": [{
"DestinationBackupVaultArn": "arn:aws:backup:us-west-2:123:backup-vault:dr-vault"
}]
}]
}'Pilot Light Strategy
The Pilot Light strategy keeps the core components of your system running in a DR region at minimal capacity — like a pilot light that can quickly ignite the full flame. Typically, this means continuously replicating your database to the DR region and maintaining basic network infrastructure (VPC, subnets, security groups). Application servers are NOT running but can be launched from pre-built AMIs or launch templates quickly. RTO is typically 30 minutes to several hours depending on how much manual work is needed.
# Pilot Light: what runs in DR region at all times
# - RDS Read Replica (continuously replicated)
# - Core VPC/networking infrastructure
# - Route 53 DNS (inactive until failover)
# What is NOT running (launched during failover):
# - EC2 application servers
# - ELB (or dormant)
# Failover steps:
# 1. Promote RDS Read Replica to standalone
# 2. Scale up EC2 instances from launch template
# 3. Update Route 53 to point to DR regionWarm Standby Strategy
The Warm Standby strategy runs a fully functional scaled-down copy of your production environment in the DR region. Unlike Pilot Light, the application tier is running (perhaps with 1-2 instances instead of 20), and the database is an Aurora Global Database secondary or RDS Read Replica. During failover, you scale up the DR environment to match production capacity. RTO is typically under 15 minutes. This is the most common DR strategy for medium to high criticality workloads.
# Warm Standby: DR region runs scaled-down version
# Production: 10 EC2 instances (ASG min=10, max=50)
# DR Standby: 2 EC2 instances (ASG min=2, max=50)
# During failover:
# 1. Route 53 health check fails for primary
# 2. DNS switches to DR ALB
# 3. ASG in DR scales up from 2 to 10+
# 4. Promote Aurora Global DB secondary
# Total failover time: ~5-15 minutesMulti-Site Active-Active Strategy
Multi-Site Active-Active runs full production capacity in two or more regions simultaneously. All regions serve live traffic, and data is replicated in near real-time (or multi-master). There is no failover delay — when one region fails, Route 53 or Global Accelerator immediately routes all traffic to the remaining healthy regions. This provides the lowest RTO and RPO but also the highest cost, as you are paying for full production capacity in all regions at all times.
# Active-Active: full capacity in both regions
# us-east-1: ASG 10 instances (serving ~50% traffic)
# eu-west-1: ASG 10 instances (serving ~50% traffic)
# Route 53 weighted routing:
# us-east-1: weight=50
# eu-west-1: weight=50
# Both records have health checks
# On us-east-1 failure:
# Health check fails -> Route 53 removes us-east-1
# eu-west-1 receives 100% traffic
# ASG in eu-west-1 scales up automaticallyRPO and Data Replication Technology
Your RPO directly dictates what replication technology you need. RPO = 0 requires synchronous replication — nothing is lost. RPO in seconds needs near-real-time async replication like Aurora Global Database (<1s lag). RPO in minutes allows asynchronous replication with small lag (DynamoDB Streams, RDS Read Replicas). RPO in hours is achievable with periodic snapshots (AWS Backup hourly schedule). Clearly establish your business RPO requirement before choosing a technology.
# RPO requirements mapped to replication technology:
# RPO = 0: RDS Multi-AZ (synchronous)
# RPO < 1 second: Aurora Global Database
# RPO < 1 minute: DynamoDB Global Tables
# RPO < 15 min: RDS Read Replica
# RPO < 1 hour: AWS Backup hourly schedule
# RPO < 24 hours: AWS Backup daily scheduleDR for Serverless Architectures
Serverless architectures (Lambda, DynamoDB, API Gateway) are naturally more resilient but still need DR planning. DynamoDB Global Tables provides active-active multi-region for the database tier. Lambda can be deployed to a second region from the same CI/CD pipeline. API Gateway should be provisioned in the DR region. The main risk is configuration drift between regions — use AWS CDK or Terraform to deploy identical infrastructure to both regions from the same code base.
# Deploy Lambda to multiple regions with CDK
# cdk.json environment configuration:
{
'primary': {
'account': '123456789',
'region': 'us-east-1'
},
'dr': {
'account': '123456789',
'region': 'us-west-2'
}
}
# Deploy to both:
# cdk deploy --context env=primary
# cdk deploy --context env=drRTO and Cost Trade-off Examples
Consider a company with annual revenue of $10M. If downtime costs $1,000/minute, an 8-hour outage (RTO=8h) costs $480,000. An active-passive warm standby with RTO=15 minutes reduces potential loss to $15,000 per incident. If the standby costs $5,000/month ($60,000/year), it only makes economic sense if you have more than one significant outage per year. This cost-justification analysis is exactly what the SAA-C03 exam asks you to perform when selecting DR strategies.
# DR cost justification formula:
# Annual cost of DR infrastructure
# vs
# Expected annual outage cost
# = P(outage) x downtime_duration x cost_per_minute
#
# Example:
# P(annual outage) = 0.1 (10% chance per year)
# downtime = 8 hours = 480 minutes
# cost = $1000/min
# Expected loss = 0.1 x 480 x $1000 = $48,000/year
#
# If warm standby costs $30,000/year -> worth itDR Testing and Documentation
A DR plan that has never been tested is just a document. AWS strongly recommends regular DR drills: practice failover procedures, measure actual RTO and RPO, and identify gaps. Use AWS Fault Injection Simulator (FIS) to simulate regional degradation in a controlled way. Document runbooks for failover steps so that under the stress of a real incident, the on-call team follows a clear, tested procedure rather than improvising.
# DR drill checklist:
# 1. Notify stakeholders (planned drill)
# 2. Initiate failover (Route 53 health check override)
# 3. Measure time from trigger to traffic in DR region (RTO)
# 4. Measure data consistency between regions (RPO)
# 5. Test all critical application functions in DR
# 6. Failback to primary region
# 7. Document actual RTO/RPO vs target
# 8. Update runbooks with lessons learnedCompliance and DR Requirements
Many industries have regulatory requirements for DR. PCI DSS requires documented DR plans and testing. HIPAA requires data backup and disaster recovery procedures. SOC 2 evaluates availability controls including DR. Use AWS Config and AWS Audit Manager to continuously evaluate and document that your DR resources (backups, replicas, health checks) are configured correctly. This provides evidence for compliance audits without manual collection.
# AWS Config rule to check RDS backup retention
aws configservice put-config-rule \
--config-rule '{
"ConfigRuleName": "rds-backup-enabled",
"Source": {
"Owner": "AWS",
"SourceIdentifier": "DB_INSTANCE_BACKUP_ENABLED"
},
"InputParameters": "{\"backupRetentionMinimum\":\"7\"}"
}'Quick Check
Test your understanding of AWS Solutions Architect (SAA-C03) concepts from this lesson.
Lesson Recap
In this lesson you learned: RTO is the maximum acceptable downtime and RPO is the maximum acceptable data loss, the four DR tiers balance cost against recovery speed, and your RPO requirement determines which replication technology to use. Always test your DR plan to validate actual RTO and RPO. Next up we explore the Backup and Restore strategy in detail.
Frequently asked questions
Is the “RTO, RPO, and DR Tiers” lesson free?
Yes — the full text of “RTO, RPO, and DR Tiers” is free to read here on the web, and the AWS Solutions Architect course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the AWS Solutions Architect course, upgrade to CoddyKit PRO.
What will I learn in “RTO, RPO, and DR Tiers”?
Define Recovery Time Objective and Recovery Point Objective, map them to cost tiers, and understand what SLA commitments each DR strategy supports. You practise AWS Solutions Architect with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.
Do I need any experience to start AWS Solutions Architect?
No prior experience is required. AWS Solutions Architect on CoddyKit is structured for beginners through advanced learners; this is — lesson 1 of 4, so you can start here or from the beginning and move at your own pace.
How long does the “RTO, RPO, and DR Tiers” lesson take?
Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.
Can I write and run code in this AWS Solutions Architect lesson?
Yes. Every AWS Solutions Architect lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.