← Back to all products

Cloud DR Patterns

$39

Disaster recovery architectures: pilot light, warm standby, multi-region active-active with RTO/RPO calculations.

📁 25 files
JSONPythonTerraformYAMLMarkdownAWS

📄 Product Preview

Try the interactive reader and demo tools below, or get the full product with all content unlocked.

📖 Interactive Reader (Free Preview) ⚙ Try Demo Tools 📦 Download Free Sample

📁 File Structure 25 files

cloud-disaster-recovery/ ├── LICENSE ├── README.md ├── cloudformation/ │ ├── multi-region-active-active.yaml │ ├── pilot-light.yaml │ ├── shared-networking.yaml │ └── warm-standby.yaml ├── docs/ │ ├── architecture.md │ ├── dr-runbook.md │ └── dr-testing-guide.md ├── examples/ │ ├── active-active-params.json │ ├── pilot-light-params.json │ ├── rto-rpo-requirements.json │ └── warm-standby-params.json ├── free-sample.zip ├── guide/ │ ├── 01_overview.md │ ├── 02_prerequisites.md │ └── 03_frequently-asked-questions.md ├── index.html ├── scripts/ │ ├── dr_test_scheduler.py │ ├── failover_validator.py │ └── rto_rpo_calculator.py └── terraform/ ├── multi-region-active-active.tf ├── pilot-light.tf ├── variables.tf └── warm-standby.tf

📖 Documentation Preview README excerpt

Cloud Disaster Recovery Architecture Kit

Production-ready disaster recovery patterns with IaC templates, RTO/RPO calculators, and operational runbooks.

Overview

This kit provides three battle-tested DR architecture patterns for AWS, each with complete CloudFormation and Terraform templates, automated failover scripts, and operational documentation. Whether you need a cost-efficient pilot light setup or a zero-downtime multi-region active-active deployment, this kit gives you the infrastructure code and decision frameworks to implement it.

What's Included

FileDescription
cloudformation/pilot-light.yamlPilot light DR pattern — minimal footprint, lowest cost
cloudformation/warm-standby.yamlWarm standby — pre-scaled secondary region
cloudformation/multi-region-active-active.yamlActive-active multi-region with Global Accelerator
cloudformation/shared-networking.yamlCross-region VPC peering and Transit Gateway
terraform/pilot-light.tfTerraform equivalent of pilot light pattern
terraform/warm-standby.tfTerraform equivalent of warm standby pattern
terraform/multi-region-active-active.tfTerraform active-active with Route 53 health checks
terraform/variables.tfShared Terraform variables for all patterns
scripts/rto_rpo_calculator.pyInteractive RTO/RPO calculator with cost modeling
scripts/failover_validator.pyPre-failover validation checks
scripts/dr_test_scheduler.pyDR test scheduling and reporting tool
docs/architecture.mdReference architecture with diagrams
docs/dr-runbook.mdStep-by-step failover/failback runbook
docs/dr-testing-guide.mdDR testing strategy and game day playbook
examples/pilot-light-params.jsonExample parameters for pilot light deployment
examples/warm-standby-params.jsonExample parameters for warm standby
examples/active-active-params.jsonExample parameters for active-active
examples/rto-rpo-requirements.jsonSample RTO/RPO requirements document

Architecture Patterns at a Glance

PatternRTORPOMonthly Cost*Best For
Pilot Light1-4 hoursMinutes~$150-400Non-critical workloads, cost-sensitive
Warm Standby10-30 minSeconds-Minutes~$800-2,000Business-critical applications
Active-Active< 1 minNear-zero~$2,000-5,000Mission-critical, zero-downtime

*Costs are estimates for a mid-size web application (2-4 EC2 instances, RDS Multi-AZ, S3).

Prerequisites

  • AWS Account with permissions for EC2, RDS, S3, Route 53, CloudFormation, IAM
  • AWS CLI v2 configured with appropriate credentials
  • Python 3.10+ (for helper scripts — stdlib only, no pip packages)
  • Terraform >= 1.5 (if using Terraform templates)
  • Two AWS regions selected (primary + DR)

Quick Start

Step 1: Choose Your Pattern

Use the RTO/RPO calculator to determine which pattern fits:


python3 scripts/rto_rpo_calculator.py

Answer the prompts about your application's availability requirements and budget. The tool recommends a pattern and estimates monthly DR cost.

... continues with setup instructions, usage examples, and more.

📄 Code Sample .py preview

scripts/dr_test_scheduler.py #!/usr/bin/env python3 """ DR Test Scheduler and Reporting Tool Generates and tracks DR test plans for regular disaster recovery exercises. Creates structured test plans with: - Pre-test checklist - Step-by-step failover procedure - Verification checkpoints - Failback procedure - Post-test report template Usage: python3 dr_test_scheduler.py --pattern pilot-light --frequency quarterly python3 dr_test_scheduler.py --generate-plan --pattern warm-standby --date 2026-07-15 python3 dr_test_scheduler.py --schedule-year 2026 Python 3.10+ required. No external dependencies (stdlib only). """ from __future__ import annotations import argparse import calendar import json import logging import sys from dataclasses import dataclass, field from datetime import datetime, date, timedelta from enum import Enum from pathlib import Path from typing import Optional logging.basicConfig( level=logging.INFO, format="%(asctime)s [%(levelname)s] %(message)s", ) logger = logging.getLogger(__name__) class TestFrequency(Enum): MONTHLY = "monthly" QUARTERLY = "quarterly" SEMI_ANNUAL = "semi-annual" ANNUAL = "annual" class DRPattern(Enum): PILOT_LIGHT = "pilot-light" WARM_STANDBY = "warm-standby" # ... 436 more lines ...
Buy Now — $39 Back to Products