SkillSprout
Chapter 4 · Lesson 3
Advanced
6 min read

Disaster Recovery Strategies and AWS Backup

Overview

Disaster recovery (DR) is the plan for restoring service after a major failure such as a Region outage, data corruption or ransomware. Two numbers drive every decision: RPO (how much data you can afford to lose) and RTO (how long you can be down). Tighter objectives cost more.

Think of home insurance tiers. A cheap policy means you rebuild from receipts after a fire (backup and restore); a premium policy keeps a fully furnished second house ready to move into (multi-site active/active). You choose the tier whose cost matches the value of what you protect.

AWS Backup centralises backup policy for many services and, with Organizations, across accounts and Regions. The exam asks you to map RTO/RPO to a strategy, to choose the right data replication feature and to use Backup features such as Vault Lock and cross-account copy.

Key Concepts

  • Four DR strategies: Backup and restore (hours), Pilot light (tens of minutes), Warm standby (minutes), Multi-site active/active (near zero).
  • Aurora Global Database replicates storage with typically < 1 second lag and promotes a secondary Region in about a minute (RPO seconds).
  • DynamoDB global tables provide multi-Region, multi-active replication; S3 Cross-Region Replication (with RTC for 15-minute SLA) copies objects.
  • RDS cross-Region read replicas and snapshot copy give DR for engines without global database support.
  • AWS Elastic Disaster Recovery (DRS) continuously replicates servers to a low-cost staging area for fast recovery.
  • AWS Backup supports backup plans, tags/resource assignments, lifecycle to cold storage, cross-Region and cross-account copy, and Backup Audit Manager.
  • Backup Vault Lock (compliance mode) provides immutable WORM retention; logically air-gapped vaults protect against ransomware.
  • Organizations backup policies deploy plans centrally; restore testing automatically validates recoverability.

Detailed Notes

DR strategy comparison

StrategyRTO / RPOWhat runs in DR RegionRelative cost
Backup and restoreHours / hoursNothing; backups copied$
Pilot lightTens of minutes / minutesData replicated; core services off (AMIs, minimal DB)$$
Warm standbyMinutes / secondsScaled-down full stack running$$$
Multi-site active/activeNear zero / near zeroFull production in both Regions$$$$

Failing over a pilot light means scaling the ASG from zero, promoting the database and switching DNS. Automate it with Step Functions or SSM Automation and rehearse. Warm standby already serves a small share of traffic, proving the stack works.

Data replication options

ServiceMechanismNotes
Aurora Global DatabaseStorage-level replicationManaged planned switchover; unplanned failover by detach/promote
RDS read replica (cross-Region)Asynchronous engine replicationPromote to standalone
DynamoDB global tablesMulti-active replicationLast writer wins; consider conflict patterns
S3 CRR/SRRObject replicationNeeds versioning; RTC gives 99.99% within 15 min; replication does not copy existing objects unless Batch Replication
EBS / AMISnapshot copy, Data Lifecycle ManagerCross-Region copy rules
ElastiCache Global DatastoreRedis cross-Region replicationRead local, write primary
EFSReplication to another RegionAutomatic, RPO minutes
Elastic Disaster RecoveryBlock-level continuous replicationConvert and launch in minutes

AWS Backup plan

json
{
  "BackupPlanName": "prod-daily",
  "Rules": [{
    "RuleName": "daily-35d",
    "TargetBackupVaultName": "prod-vault",
    "ScheduleExpression": "cron(0 3 * * ? *)",
    "StartWindowMinutes": 60,
    "CompletionWindowMinutes": 360,
    "Lifecycle": { "MoveToColdStorageAfterDays": 30, "DeleteAfterDays": 365 },
    "CopyActions": [{
      "DestinationBackupVaultArn": "arn:aws:backup:us-west-2:999988887777:backup-vault:dr-vault",
      "Lifecycle": { "DeleteAfterDays": 365 }
    }]
  }]
}

Assign resources by tag (backup=daily) so new resources join automatically. Supported services include EC2/EBS, RDS, Aurora, DynamoDB, EFS, FSx, S3, DocumentDB, Neptune, Storage Gateway and VMware. The copy action sends recovery points to another Region and/or another account, which isolates backups from a compromised production account.

Ransomware and immutability

  • Vault Lock compliance mode: after the cooling-off period (minimum 3 days) nobody, including root, can delete recovery points before retention ends.
  • Logically air-gapped vault shares recovery points through RAM with restricted access.
  • Use a separate backup account with an organisation-managed backup policy and SCPs preventing deletion of vaults.

Governance and verification

  • Backup Audit Manager frameworks report compliance with controls (frequency, retention, cross-Region copy).
  • Restore testing plans periodically restore a sample and validate, giving evidence of RTO.
  • Organizations backup policies apply plans to accounts or OUs from the management/delegated account.

Failover runbook outline

  1. Declare disaster (decision owner and criteria defined).
  2. Promote database in DR Region (aws rds failover-global-cluster or promote-read-replica).
  3. Scale compute (ASG desired capacity), warm caches.
  4. Switch traffic (Route 53 / ARC routing control / Global Accelerator traffic dial).
  5. Validate with synthetic tests; communicate status.
  6. Plan failback and data reconciliation.
bash
aws rds failover-global-cluster --global-cluster-identifier orders-global \
  --target-db-cluster-identifier arn:aws:rds:us-west-2:111122223333:cluster:orders-usw2

Cost and testing

DR that is never tested fails. Schedule game days, use AWS Fault Injection Service to simulate AZ or dependency failure, and track actual RTO/RPO against targets. Reduce cost with scaled-down standby, Savings Plans for the baseline, and lifecycle rules on backups.

DR runbook essentials

  1. Define RTO and RPO per workload tier, then map to a strategy: backup and restore, pilot light, warm standby or multi-site active-active.
  2. Automate failover steps as SSM Automation or Step Functions runbooks and keep them in version control.
  3. Pre-provision the hard-to-create items (VPC, IAM, KMS multi-Region keys, replicated AMIs, cross-Region ECR replication, secrets replication).
  4. Decide who may declare a disaster and the failback procedure, which is often harder than failover.
  5. Measure results from game days and feed them into the next plan; Elastic Disaster Recovery adds continuous block replication for servers with minutes of RPO.

Real World Example

Scenario: an insurance company needs RTO 15 minutes and RPO 1 minute for its claims platform. They choose warm standby: Aurora Global Database replicates to the DR Region, a scaled-down ASG and ALB run there, S3 uses CRR with RTC, and Route 53 plus ARC routing controls handle cutover.

For ransomware protection, AWS Backup copies daily recovery points to a separate backup account vault locked in compliance mode. Quarterly game days with Fault Injection Service prove the measured RTO of 11 minutes.

Architecture Diagram

Warm standby with immutable cross-account backups
Architecture
AWS Cloud
Primary Region
Full-scale app
Aurora primary
DR Region
Scaled-down app
Aurora secondary
Backup account
AWS Backup vaultVault Lock

Continuous replication for fast recovery; vaulted copies for corruption and ransomware.

  1. 1Aurora Global Database streams changes to the DR Region with sub-second lag.
  2. 2A scaled-down stack in DR continuously serves health checks and small traffic.
  3. 3AWS Backup creates daily recovery points and copies them to a locked vault in a backup account.
  4. 4On disaster, the secondary cluster is promoted and the ASG is scaled out.
  5. 5Traffic is switched through ARC or Route 53, then validated with synthetic checks.

Best Practices

  • ✓Define RTO and RPO per workload and choose the cheapest strategy that meets them.
  • ✓Copy backups to another account and Region with Vault Lock for immutability.
  • ✓Automate failover (Step Functions, SSM Automation) and rehearse with game days.
  • ✓Use tag-based backup assignments and Organizations backup policies for coverage.
  • ✓Enable restore testing and Backup Audit Manager to prove recoverability.

Common Interview Questions

Exam Tips

DOP-C02 focus

  • RPO seconds + RTO minutes = warm standby or multi-site with Aurora Global / DynamoDB global tables.
  • "Immutable, cannot be deleted even by root" = Backup Vault Lock (compliance mode).
  • S3 replication requires versioning and does not replicate pre-existing objects by default.
  • Cheapest DR with long RTO acceptable = backup and restore.

Finished this lesson?

0 of 44 lessons done · 0% of the course