Skip to main content
In this lesson we cover core disaster recovery (DR) concepts and architectures: Recovery Time Objective (RTO), Recovery Point Objective (RPO), and the common DR models — Backup & Restore (cold), Pilot Light, Warm Standby, and Active–Active (multi-site). Understanding the trade-offs between cost, complexity, and recovery speed will help you choose the right model for each workload. Disaster recovery is a subset of business continuity: keeping services available or recoverable within acceptable limits so customers continue to get service. There are expensive approaches that aim for near-zero downtime and data loss, and lower-cost approaches that accept longer outages or limited data loss. Choose based on the workload’s business value and its RTO/RPO requirements.
Shared responsibility reminder: cloud providers (for example, AWS) manage the underlying infrastructure, but you are responsible for configuration, backups, encryption, and operational decisions for resources you control. If you can log in or configure it, assume it’s your responsibility to make it resilient and test your recovery processes.

RTO and RPO — definitions and why they matter

  • RTO (Recovery Time Objective): The maximum acceptable time to restore service after an outage. Example: an RTO of 4 hours means the service must be back online within 4 hours of failure.
  • RPO (Recovery Point Objective): The maximum acceptable amount of data loss measured in time. Example: an RPO of 15 minutes means you must be able to recover data up to 15 minutes before the incident.
These targets are typically expressed in seconds, minutes, or hours — most businesses avoid designs that accept a full day of outage.
A timeline diagram titled "RTO and RPO" showing a fire icon for a disaster, with a blue marker for Recovery Point Objective (RPO) indicating data loss and a green marker for Recovery Time Objective (RTO) indicating downtime. The image highlights questions about how much data can be lost and how quickly systems must be recovered.

Common DR models — overview

This section describes the primary DR architectures, their characteristics, trade-offs, and typical AWS services that can simplify implementation.

1) Backup & Restore (cold standby)

Backup & Restore is the simplest, lowest-cost model. Data and infrastructure state (snapshots, DB backups, IaC templates) are stored in a secondary Region. If the primary fails, you provision infrastructure in the DR Region (usually via Infrastructure as Code) and restore data from backups. Advantages:
  • Low ongoing cost: minimal or no running DR compute resources.
  • Straightforward to implement using standard backup tools and IaC.
Disadvantages:
  • Slow recovery compared with other models — you must create or scale resources during failover.
  • Higher operational risk unless restore processes are routinely tested.
  • Not suitable when tight RTO/RPO are required.
Typical use case: non-critical applications that tolerate hours of downtime or some data loss.
A titled AWS architecture diagram showing a backup-and-restore disaster recovery model with regions, availability zones and VPCs, illustrating EBS/EFS/RDS snapshots to Amazon S3 and cross-region restores using AWS Backup.
AWS services and features to consider:
  • AWS Backup for centralized backup scheduling, policies, and cross-Region copies.
  • S3 Cross-Region Replication (CRR) and S3 Versioning for object-level durability and protection against accidental deletes.
  • Database snapshots, read replicas, and global database options (for example, RDS snapshots, Amazon Aurora Global Database).
Important: Continuous replication does not protect against data corruption or malicious deletes unless you combine it with versioning, point-in-time recovery, and immutable backups. Schedule regular restore drills to validate recoverability.
A slide diagram showing a backup-and-restore workflow using AWS services (AWS Backup, Amazon EBS, Amazon SNS, and AWS Lambda). Arrows indicate actions like performing backups/restores, sending job notifications, invoking Lambda for test restores and cleanup.
Best practices for Backup & Restore:
  • Automate backups with AWS Backup or equivalent.
  • Align backup frequency and retention with your RPO and compliance needs.
  • Enable S3 versioning and lifecycle policies where appropriate.
  • Use Infrastructure as Code (CloudFormation, CDK, Terraform) to recreate environments reliably.
  • Perform automated restore tests (both data and full environment) and maintain runbooks.
A presentation slide titled "Best Practices: Backup and Restore" listing AWS recommendations — automate backups with AWS Backup, align frequency to your RPO, enable S3 versioning, and use Infrastructure as Code (CloudFormation/CDK). The slide is © KodeKloud.

2) Pilot Light (data-active, app-passive)

Pilot Light keeps critical data infrastructure actively replicated in the DR Region while application servers are mostly stopped or minimal (pre-configured but not handling production traffic). On failover you provision or start application components and redirect traffic. Characteristics:
  • Continuous replication of data (databases, block-level data, object stores).
  • Application tiers are pre-configured and can be launched quickly.
  • Faster than cold backups but cheaper than full warm standby.
Use cases: workloads that need faster recovery than Backup & Restore (tens of minutes to an hour) while keeping costs lower. Implementation examples and tools:
  • Database replication (for example, Amazon Aurora Global Database, RDS read replicas).
  • Block-level replication with tools like AWS Elastic Disaster Recovery (formerly CloudEndure), which replicates block-level data to staging EBS volumes and allows rapid launch of recovery instances.
A technical architecture diagram for AWS Elastic Disaster Recovery. It shows on-premises disks and AWS replication agents sending compressed, encrypted block-level data to staging EBS volumes in an AWS region, with recovery instances launched in recovery subnets.
AWS services and feature names evolve. Elastic Disaster Recovery and related products (for example, formerly CloudEndure) have changed over time — confirm current capabilities and best practices in official AWS documentation before relying on a specific workflow or lifecycle claim.

3) Warm Standby (scaled-down active)

Warm Standby runs a fully functional copy of production in the DR Region, but at reduced capacity. The DR environment may process a small portion of traffic or be kept idle but running. If the primary fails, you scale up the DR environment (using autoscaling) and shift traffic. Characteristics:
  • DR Region runs live services, typically scaled down.
  • Faster recovery (minutes) since components are already running and warmed.
  • More expensive than Pilot Light but significantly reduces failover risk.
Typical implementation details:
  • Use autoscaling groups and load balancers to scale up quickly.
  • Use DNS strategies (Route 53 weighted policies or AWS Global Accelerator) to redirect traffic.
  • Keep unidirectional replication to avoid data conflicts, or use complex multi-master conflict resolution only when required.
A diagram of an AWS "Warm Standby" disaster recovery architecture spanning two regions. It shows Amazon Route 53 splitting traffic (95%/5%), VPCs with Elastic Load Balancers, auto-scaling front-end and application servers, and Aurora RDS cross-region replication.
Comparison summary:
  • Pilot Light: data active, apps minimal/off — lower cost, slower recovery.
  • Warm Standby: apps running at reduced scale — higher cost, faster recovery.
A slide showing a comparison table titled "Pilot Light vs Warm Standby" that contrasts DR readiness, traffic handling, failover actions, and recovery speed between the two approaches. The Pilot Light column describes minimal/off resources and slower recovery, while Warm Standby shows running infra at low scale and faster, limited-capacity failover.

4) Active–Active (multi-site)

Active–Active runs full-capacity infrastructure in multiple Regions or sites simultaneously and load-balances traffic across them. Data replication is near-real-time using services and patterns suited for distributed systems. Characteristics:
  • Multiple sites actively handle production traffic.
  • Minimal or near-zero downtime during site failures.
  • Highest cost and operational complexity: requires strong replication, conflict resolution, and global networking/DNS strategies.
Common patterns and services:
  • Amazon DynamoDB Global Tables for multi-region table replication.
  • Amazon Aurora Global Database or cross-region replication for relational workloads.
  • Global load balancing with Route 53, Global Accelerator, or anycast networks.
Active–Active is suitable for global services that demand continuous availability and low-latency access for distributed users.
An AWS architecture diagram titled "Disaster Recovery Models – Multi-Site A/A" showing two active regions. It illustrates VPCs with Elastic Load Balancers, auto-scaling front-end and application servers, and Amazon DynamoDB global tables with automatic replication and continuous backup.

Choosing the right model — mapping RTO/RPO to architecture

The following table summarizes typical RTO/RPO ranges, cost, and common use cases for each DR model: Recap guidance:
  • Cold (Backup & Restore): choose when hours of downtime/data loss are acceptable and cost must be minimized.
  • Pilot Light: choose when RTO in tens of minutes is acceptable and you need continuous data replication.
  • Warm Standby: choose when you need recovery in minutes and are willing to pay for running scaled-down capacity.
  • Active–Active: choose for near-zero downtime and real-time availability across regions, accepting the highest cost and complexity.

Operational best practices (applies to all models)

  • Automate infrastructure provisioning and DR procedures with IaC (CloudFormation, CDK, Terraform).
  • Version and protect backups; use immutable or write-once storage when required by compliance.
  • Regularly test restores and failovers using automated drills and runbooks.
  • Monitor replication health, backup success, and DR-related alarms.
  • Maintain clear runbooks and post-mortem processes to improve readiness.
Closing note: regardless of the DR model you choose, automation, continuous testing, and clear operational runbooks are essential to ensure the plan succeeds when needed. For service-specific guidance and up-to-date features, consult the vendor documentation (for example, the AWS service pages linked above).

Watch Video