Cloud Disaster Recovery

Disaster recovery (DR) is the discipline of restoring service after major failure. In cloud, "disaster" usually means: AZ outage, region outage, account compromise, or significant data loss. The cloud reduces some types of risk and introduces others.

This page covers the framework, the tiers, and the patterns for cloud DR.

RTO and RPO

The two key metrics:

Tighter values cost more. Pick based on business needs:

Service tierRTORPOCost
Tier 1: critical<5 minNear-zeroHigh
Tier 2: important<1 hour<15 minMedium
Tier 3: standard<24 hours<4 hoursLow
Tier 4: archiveDaysDay or moreMinimal

Match tier to business value. Don't pay tier-1 prices for tier-3 workloads.

The four DR tiers

Tier 1: backup and restore

The cheapest DR. Take regular backups; restore manually after disaster.

Fine for non-critical data and slow-recovery acceptable workloads.

Tier 2: pilot light

Minimal infrastructure running in the secondary region. Data continuously replicated. Compute spun up on disaster.

Good middle ground for important workloads.

Tier 3: warm standby

Full infrastructure running in secondary region but at reduced capacity. Scale up on disaster.

For workloads with tight RTO and meaningful but bounded budget.

Tier 4: multi-region active-active

Both regions handle traffic simultaneously. Failover is just routing change.

For tier-1 workloads where downtime cost exceeds infrastructure cost.

Cloud-specific patterns

Multi-AZ (the baseline)

Default for any production workload. AZ outages happen; multi-AZ deployments ride through.

This isn't really DR; it's basic availability. But it covers AZ-level disasters with no special effort.

Multi-region

For region-level disasters. AWS regions fail rarely but they do (rare us-east-1 issues, region-specific natural disasters).

Approaches:

Account-level redundancy

For compromise scenarios — attacker gets cloud account credentials. Mitigations:

What goes wrong in DR plans

Untested DR

The DR plan that has never been exercised is fictional. Test annually at minimum:

Most DR plans don't survive the first test. That's the point of testing.

DR that depends on the primary region

You backed up to the primary region; lost the region; can't access backups. Cross-region replication for backups.

Data inconsistency between regions

Asynchronous replication has lag. Failover during high lag means data loss. Tighter consistency costs more.

Forgotten dependencies

The application fails over. Authentication is in the primary region. Or the database failover takes longer than the application's connection retry. Map all dependencies.

Backup strategy

The standard recommendation: 3-2-1.

For cloud workloads:

Costs are typically dominated by long-term archive, which is cheap.

Specific service patterns

RDS / Aurora

DynamoDB

S3

EC2

Common failure patterns

A starter DR plan

For a typical web application:

  1. Multi-AZ deployment (baseline)
  2. RDS automated backups + cross-region snapshot weekly
  3. S3 cross-region replication for user uploads
  4. DR runbook documented; tested quarterly
  5. Monthly backup-restore test (restore from backup, verify)
  6. Annual full failover drill

Costs are modest. Coverage is real. Iterate based on actual incidents.

Further Reading