Skip to content
planning-disaster-recovery logo

Planning Disaster Recovery

planning-disaster-recovery

Execute use when you need to work with backup and recovery.

SKILL.md

Full skill instructions

Planning Disaster Recovery

Overview

Design disaster recovery (DR) plans for cloud infrastructure covering RTO/​RPO requirements, multi-region failover, data replication, and automated recovery procedures. Generate runbooks, Terraform for standby infrastructure, and automated failover scripts for databases, compute, and networking.

Prerequisites

  • Complete inventory of production infrastructure components and dependencies
  • Defined RTO (Recovery Time Objective) and RPO (Recovery Point Objective) per service tier
  • Cloud provider CLI authenticated with permissions for multi-region resource management
  • Cross-region networking configured (VPC peering, Transit Gateway, or VPN)
  • Backup and replication mechanisms already in place or planned

Instructions

  1. Catalog all production services with their criticality tier (Tier 1: < 15 min RTO, Tier 2: < 1 hour, Tier 3: < 24 hours)
  2. Map dependencies between services to identify single points of failure and cascading failure paths
  3. Design the DR strategy per tier: active-active for Tier 1, pilot light or warm standby for Tier 2, backup-restore for Tier 3
  4. Generate Terraform for standby region infrastructure: VPC, subnets, security groups, and scaled-down compute
  5. Configure database replication: RDS cross-region read replicas, DynamoDB global tables, or Cloud SQL cross-region replicas
  6. Set up DNS failover using Route 53 health checks, Cloud DNS routing policies, or global load balancers
  7. Create automated failover scripts: promote read replica to primary, update DNS records, scale up standby compute
  8. Document the DR runbook with step-by-step procedures, responsible parties, and communication plans
  9. Schedule quarterly DR drills: simulate region failure, execute the runbook, measure actual RTO/​RPO, and document gaps
  10. Set up monitoring for replication lag, backup freshness, and standby infrastructure health

Output

  • DR plan document with service tiers, RTO/​RPO targets, and recovery procedures
  • Terraform modules for standby region infrastructure
  • Automated failover scripts (database promotion, DNS switching, compute scaling)
  • DR drill checklist and post-drill assessment template
  • Monitoring dashboards for replication lag and backup status

Error Handling

ErrorCauseSolution
Replication lag exceeds RPONetwork throughput insufficient or write volume too highIncrease replication instance size, enable compression, or implement write throttling during peak
DNS failover not triggeringHealth check misconfigured or TTL too highVerify health check endpoint returns proper status; reduce DNS TTL to 60 seconds before drill
Standby database promotion failedReplication broken or standby in inconsistent stateCheck replication status; if broken, restore from latest snapshot and re-establish replication
Insufficient capacity in DR regionInstance types unavailable in standby regionPre-provision reserved capacity in DR region or use multiple instance type options
Application cannot connect after failoverConnection strings hardcoded to primary region endpointsUse DNS-based endpoints (CNAME/​Route 53) instead of direct IPs; parameterize region in config

Examples

  • "Create a disaster recovery plan for a 3-tier web application on AWS with < 15 minute RTO for the API layer and < 1 hour for batch processing."
  • "Generate Terraform for a warm standby in us-west-2 with RDS cross-region read replica, scaled-down ECS cluster, and Route 53 failover routing."
  • "Design a DR drill that simulates primary region failure, executes automated failover, and validates data integrity in the standby region."

Resources

More DevOps & CI/CD skills

Project scaffolding, deployment configuration, and CI/CD setup for Google ADK agents.

6K 472.6K
View

Set up tracing, logging, and monitoring for deployed ADK agents across Cloud Trace, BigQuery, and third-party platforms.

6K 472.6K
View

Enterprise Azure infrastructure architect generating Bicep or Terraform from workload descriptions.

1.5K 454.3K
View
azure-kubernetes logo
DevOps & CI/CD

azure-kubernetes

Plan and configure production-ready Azure Kubernetes Service clusters with Day-0 and Day-1 best practices.

1.5K 447.1K
View

Raw mechanical interfaces fusing Swiss typographic print with military terminal aesthetics. Rigid grids, extreme type scale contrast, utilitarian color, analog degradation effects. For data-heavy dashboards, portfolios, or editorial sites that need to feel like declassified blueprints.

92.7K 354.9K
View
just-scrape logo
DevOps & CI/CD

just-scrape

Web search, scraping, extraction, crawling, and monitoring via ScrapeGraph AI CLI.

69 245K
View

Skill for working with Firebase Hosting (Classic). Use this when you want to deploy static web apps, Single Page Apps (SPAs), or simple microservices. Do NOT use for Firebase App Hosting.

462 159.7K
View

Deploy and manage web apps with Firebase App Hosting. Use this skill when deploying Next.js/Angular apps with backends.

462 159.1K
View
deploy-to-vercel logo
DevOps & CI/CD

deploy-to-vercel

Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".

31.9K 146.6K
View
programmatic-seo logo
DevOps & CI/CD

programmatic-seo

Build SEO-optimized pages at scale using templates, data, and proven playbook patterns.

53.3K 140.1K
View

Design and build isolated, reusable Convex backend components with clear boundaries and app-facing wrappers.

63 123.5K
View

Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".

31.9K 116.1K
View

Coding & apps AI tools

Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View
Imagica logo
Coding & apps

Imagica

Build a no-code AI app in minutes.

Freemium
View
E
Coding & apps

Emergent.sh

An IDE for code migration from legacy to modern frameworks through coding agents.

Freemium
View
Wonder Dynamics logo
Coding & apps

Wonder Dynamics

Automate CGI animation in live-action scenes

Paid
View
M
Coding & apps

Mixo

Launch a website in seconds with AI.

Paid
View
AI Code Convert logo
Coding & apps

AI Code Convert

Streamline Your Coding Experience with AI Code Helper

Free
View