/cloud-skills:disaster-recovery-and-backup-strategyfrom cloud-skills
Guides designing backup and disaster-recovery strategy for cloud workloads — RTO/RPO-driven DR pattern selection, cross-region/cross-account backup replication, and DR runbook testing across AWS, Azure, and GCP.
Ships in cloud-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Backups that have never been restored, and DR plans that have never been tested with a real failover, are aspirational documents, not operational capabilities — the outage or ransomware event is the worst possible time to discover a backup is corrupt, a runbook step references a decommissioned system, or the cross-region replica has silent lag. This skill covers picking a DR pattern (backup-restore through active-active) matched to a genuine Recovery Time Objective (RTO) and Recovery Point Objective (RPO) rather than the most expensive option by default, implementing cross-region/cross-account backup replication that survives the loss of the primary account itself, and — critically — testing failover on a schedule so the plan is proven, not assumed.
Set RTO/RPO per workload tier before choosing a pattern. Example tiering:
| Tier | RTO | RPO | Pattern |
|---|---|---|---|
| 0 (revenue path) | < 15 min | < 5 min | Multi-site active-active or warm standby |
| 1 (business-critical) | < 4 hours | < 1 hour | Warm standby or pilot light |
| 2 (internal/batch) | < 24 hours | < 24 hours | Backup-restore |
Match the DR pattern to the tier, not the other way around:
Implement cross-region, cross-account backup replication. Example — AWS Backup with a cross-account, cross-region copy:
resource "aws_backup_plan" "tier0" {
name = "tier0-daily"
rule {
rule_name = "daily-backup"
target_vault_name = aws_backup_vault.primary.name
schedule = "cron(0 5 * * ? *)"
copy_action {
destination_vault_arn = "arn:aws:backup:eu-west-1:<DR_ACCOUNT_ID>:backup-vault:tier0-dr-vault"
lifecycle {
delete_after = 90
}
}
}
}
Equivalent patterns: Azure Backup with a Recovery Services vault in a paired region plus cross-subscription vault access, or GCP Backup and DR Service / Cloud SQL cross-region replicas combined with cross-project backup storage. The DR-account/subscription/project backup copy should use a separate IAM/RBAC trust boundary from the primary so that a compromise of the primary account's credentials cannot also delete the DR copy.
Automate DR-site infrastructure as code, not as a manual runbook step performed only during an actual incident — the DR environment's Terraform/Bicep/Deployment Manager templates should be applied (or kept warm, per the chosen pattern) and validated in CI the same way production infrastructure is.
Write the failover runbook as executable steps, including: DNS/ traffic-routing cutover (e.g. Route 53 / Azure Traffic Manager / Cloud DNS failover routing policies), data promotion (promoting a read replica to primary), application configuration changes, and the reverse (fail-back) procedure — fail-back is frequently forgotten and is often riskier than the initial failover.
Test the failover on a schedule, not only during a real incident:
Protect backups against ransomware/mass-deletion specifically: enable immutability (AWS Backup Vault Lock, Azure Backup immutable vaults, GCP Backup and DR immutable backup storage) so that even a fully compromised primary-account administrator credential cannot delete or shorten the retention of existing backup copies.
Review and update RTO/RPO and the DR plan whenever the architecture changes — a new dependency, a new database, or a new region added to production without a corresponding DR update silently degrades the plan's accuracy.
Symptom: During an actual regional outage, the DR failover takes many hours longer than the documented RTO. Fix: The runbook was written and reviewed but never executed live — steps referenced outdated resource names, a manual approval step wasn't accounted for, or DNS TTLs were set too high to cut over quickly. Run at least one live failover test per year for Tier 0/1 workloads and update the runbook based on what actually happened, not what was planned.
Symptom: A backup restore is attempted during an incident and the restored data is missing recent transactions or is outright corrupt. Fix: Backup jobs were reporting success, but nobody had performed an actual restore-and-verify test. Add scheduled restore-verification jobs (restore to a scratch environment, run an integrity/row-count check) as a standing practice, not a one-time validation.
Symptom: Ransomware or a compromised automation credential deletes
both the production data and its backups.
Fix: Backups shared the same account/credentials/trust boundary as
production, and were mutable (deletable by the same role that manages
production). Enable backup vault immutability/lock and store DR
copies under a separate account/subscription/project with a distinct,
narrowly scoped IAM/RBAC role — see cloud-iam-hardening for how to
scope that role tightly.
Symptom: RTO/RPO targets exist on paper but every workload was assigned the same (usually the strictest) tier by default, and the resulting DR infrastructure cost is unsustainable. Fix: Tiering was never actually reviewed with business stakeholders workload-by-workload. Revisit tiering with the business owner for each workload, honestly assessing whether a multi-hour RTO is genuinely unacceptable before defaulting to the most expensive pattern.
Symptom: An engineer, cleaning up "old" DR infrastructure to save
cost, deletes the DR-region database replica or storage bucket
entirely.
Fix: Never tear down DR-region infrastructure (a promoted-
capable read replica, a cross-region backup vault/bucket) as a cost
cleanup without explicit sign-off from whoever owns the DR plan for
that workload — confirm current RTO/RPO commitments still require it
before any destructive action, and prefer scaling down (pilot
light) over full deletion if cost is the concern. See
cloud-native-storage-strategy for the equivalent caution on deleting
storage resources generally.
Scenario: An e-commerce company's checkout service (Tier 0, target RTO < 15 minutes, RPO < 5 minutes) runs entirely in one AWS region with only default RDS automated backups (7-day retention, same region, same account) — effectively no real disaster recovery.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub selvarajmurugesan90/ops-engineering-skills --plugin cloud-skills14 skills in this plugin
/aws-landing-zone-setupGuides designing and implementing a multi-account AWS landing zone using AWS Organizations, Control Tower, and Account Factory — including the account/OU hierarchy, Service Control Policies, centralized logging, and baseline guardrails. Use when a user asks to "set up a new AWS account structure", "design an AWS landing zone", "implement AWS Control Tower", "create OUs and SCPs", "bootstrap a multi-account AWS environment", or "onboard a new AWS account into our organization".
/azure-landing-zone-setupGuides designing and implementing an Azure landing zone using Management Groups, subscription democratization, Azure Policy, and the Cloud Adoption Framework (CAF) Landing Zone Accelerator pattern. Use when a user asks to "design an Azure landing zone", "set up Management Groups and subscriptions", "implement Azure Policy guardrails", "onboard a new Azure subscription", "structure our Azure tenant", or "migrate to the CAF enterprise-scale landing zone".
/cloud-access-request-and-iam-lifecycle-managementHandles the everyday operational request to grant, time-box, and later revoke a scoped IAM permission for a contractor, new hire, or a temporary need (e.g. "give the new contractor read-only S3 access for 30 days," "grant break-fix access to prod for this incident," "revoke Priya's access, she left the team," "why does this access request keep getting rejected") — including expiry enforcement and the audit trail a security review will ask for. Use for a single access grant/revoke transaction, not for designing the underlying IAM policy/role structure (see cloud-iam-hardening for that).
/cloud-cost-anomaly-investigationWalks through investigating an unexpected cost spike on this month's cloud bill right now — querying AWS Cost Explorer/CUR, Azure Cost Management, or GCP BigQuery billing export to isolate the specific resource, tag, and team responsible before it becomes a formal FinOps review. Use when a user asks "why did our AWS/Azure/GCP bill jump this week/month," "what's driving this cost anomaly alert," "find what resource caused this spike," or "who do I ask about this spend before the finance review." Distinct from cloud-cost-finops-optimization, which covers the ongoing tagging/rightsizing/commitment program this investigation is a single incident inside of.
/cloud-cost-finops-optimizationGuides establishing cloud cost visibility and reducing spend across AWS, Azure, and GCP through tagging/labeling discipline, rightsizing, commitment-based discounts (Reserved Instances, Savings Plans, Committed Use Discounts), and FinOps showback/chargeback practices. Use when a user asks to "reduce our cloud bill", "set up cost allocation tags", "find idle/oversized resources", "decide between Reserved Instances and Savings Plans", "implement FinOps", "explain why cloud spend went up", or "build a cost dashboard per team".
/cloud-iam-hardeningGuides hardening identity and access management across AWS, Azure, and GCP — least-privilege policy design, eliminating long-lived credentials in favor of federation (OIDC/Workload Identity), break-glass access, and periodic access review. Use when a user asks to "reduce IAM permissions", "remove unused IAM roles", "set up federated/keyless access for CI/CD", "harden our cloud identity posture", "review who has admin access", "implement least privilege", or "get rid of long-lived access keys".
Other plugins' skills for the same job