[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7A6W93WHDJD2H6C438TZK6R":3,"skill-same:01M7A6W93WHDJD2H6C438TZK6R":148},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":6,"ownerHtmlUrl":49,"ownerBlogUrl":6,"ownerDescription":50,"updatedAt":51,"install":52,"resources":65},"01M7A6W93WHDJD2H6C438TZK6R","dr-failover-automator",null,"Designs AWS disaster recovery failover automation across the four DR strategies (backup & restore, pilot light, warm standby, multi-site active\u002Factive), Route 53 health-checked failover records, Aurora Global Database planned + unplanned failover, S3 cross-region replication failover, RDS cross-region read replica promotion, Elastic Disaster Recovery (DRS) launch, AWS Backup cross-region restore, cross-zone + cross-region load balancing (Global Accelerator), Lambda multi-region, and Step Functions orchestration of the canonical failover sequence (health check, promote, DNS, verify, notify). Includes AWS Resilience Hub readiness assessment and Elastic DRS non-blocking agent. Emits AUTOMATED with failover runbook or MANUAL_STEP_REQUIRED with the gap. Use when designing DR failover, RTO\u002FRPO analysis, or resilience assessment.","jhkchan\u002Faws-agent-skills","jhkchan","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1083902?v=4","01M7A2SVQYP9GQTPTDXP5JKYQ4","Jacky Chan","01M7A2SVS117YWCTZABB75HZR1",4,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdr-failover-automator\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: dr-failover-automator\ndescription: Designs AWS disaster recovery failover automation across the four DR strategies (backup & restore, pilot light, warm standby, multi-site active\u002Factive), Route 53 health-checked failover records, Aurora Global Database planned + unplanned failover, S3 cross-region replication failover, RDS cross-region read replica promotion, Elastic Disaster Recovery (DRS) launch, AWS Backup cross-region restore, cross-zone + cross-region load balancing (Global Accelerator), Lambda multi-region, and Step Functions orchestration of the canonical failover sequence (health check, promote, DNS, verify, notify). Includes AWS Resilience Hub readiness assessment and Elastic DRS non-blocking agent. Emits AUTOMATED with failover runbook or MANUAL_STEP_REQUIRED with the gap. Use when designing DR failover, RTO\u002FRPO analysis, or resilience assessment.\nlicense: Apache-2.0\ncompatibility: Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). No AWS CLI required for offline plan authoring. Live deployment uses aws route53 change-resource-record-sets (failover record, health check), aws rds failover-global-cluster (Aurora Global), promote-read-replica (RDS cross-region), aws drs start-recovery (Elastic DRS), aws backup start-restore-job (cross-region restore), aws elasticloadbalancing modify-load-balancer-attributes (cross-zone), aws lambda...\nmetadata:\n  domain: aws-cloudops\n  complexity: high\n  requires_llm: 'true'\n  phase: '4'\n  supports_pipeline: 'true'\n  entry_point: 'false'\n  family: Management\n  task_type: automate\n  skill_class: capability\n  lifecycle_status: active\n  verdict_shape: AUTOMATED | MANUAL_STEP_REQUIRED\n  when_to_use: Designing a DR failover plan, picking among backup-restore \u002F pilot light \u002F warm standby \u002F multi-site strategies, wiring Route 53 health-checked DNS failover, automating Aurora Global Database or RDS cross-region replica promotion, orchestrating Elastic Disaster Recovery (DRS) launch, centralizing AWS Backup cross-region restore, deploying Lambda multi-region with Route 53 failover, building a Step Functions failover orchestrator (health check -> promote -> DNS -> verify -> notify), or running an AWS Resilience Hub readiness assessment.\n  when_not_to_use: Single-region high availability (use autoscaling \u002F multi-AZ skills — DR is cross-region by definition)., Backup-only design with no failover component (use backup \u002F data-protection skills)., Application-level health check design (use app-monitoring skills — this skill automates failover, not monitoring)., Migration planning (use migration skills — DR is about failover, not lift-and-shift).\n  activation_triggers: DR failover automation, Route 53 health-checked failover, Aurora Global Database failover, RDS cross-region read replica promotion, Elastic Disaster Recovery launch, pilot light DR strategy, warm standby DR, multi-site active active, AWS Backup cross-region restore, Lambda multi-region deploy, Step Functions failover orchestrator, Resilience Hub readiness assessment, RTO RPO analysis, S3 cross-region replication failover\n  invocation_schema: 'Input: either (a) a DR requirement (\"design pilot-light DR for a three-tier app, RTO 30min, RPO 5min, us-east-1 -> us-west-2\"), OR (b) an existing failover workflow \u002F Route 53 configuration \u002F Aurora Global cluster to audit and harden. Output: deterministic DR block per requirement — STRATEGY\u002FFAILOVER\u002FORCHESTRATION\u002FVERIFICATION\u002F VERDICT — where VERDICT is AUTOMATED (failover runbook complete with all gates passing) or MANUAL_STEP_REQUIRED (specific gap cited, e.g., health check missing, untested RDS promotion, no break-glass notification path).'\n  version: 0.1.0\n  author: Jacky Chan — AWS Community Builder\n  keywords: disaster recovery, DR failover, backup and restore, pilot light, warm standby, multi-site active-active, Route 53 health check, Route 53 failover record, Aurora Global Database, cross-region read replica, Elastic Disaster Recovery, DRS launch, CloudEndure migration, AWS Backup cross-region restore, cross-zone load balancing, Global Accelerator, Lambda multi-region, Step Functions failover orchestration, AWS Resilience Hub, RTO RPO, S3 cross-region replication\n  tags: disaster-recovery, route53, aurora-global, elastic-drs, aws-backup, resilience-hub, stepfunctions, automate\n---\n\n# DR Failover Automator\n\n## What this skill does\n\nDesigns automated AWS disaster recovery failover across the four\ncanonical DR strategies — **backup & restore**, **pilot light**, **warm\nstandby**, and **multi-site active\u002Factive** — and the building blocks\nthat compose each: Route 53 health-checked DNS failover, Aurora Global\nDatabase failover, RDS cross-region read replica promotion, Elastic\nDisaster Recovery (DRS) launch, AWS Backup cross-region restore,\ncross-zone \u002F cross-region load balancing, Lambda multi-region deployment,\nand Step Functions orchestration of the canonical failover sequence\n(health check -> promote primary -> update DNS -> verify -> notify).\n\nThe verdict is binary: **AUTOMATED** when the runbook covers a chosen\nstrategy with mapped RTO\u002FRPO targets, a defined trigger (health check\nor manual), the full failover sequence, verification step, and rollback\npath; **MANUAL_STEP_REQUIRED** when any component is missing (e.g.,\nhealth check threshold undefined, untested promotion, no verification\nhook, no break-glass notification).\n\n## Quick navigation\n\n| # | Section | Jump when |\n|---|---|---|\n| 1 | [Pre-flight gate](#pre-flight-dr-spec-gate) | Starting any DR design — blocks unsafe specs |\n| 2 | [Decision tree](#decision-tree--strategy-selection) | Backup-restore \u002F pilot light \u002F warm standby \u002F multi-site |\n| 3 | [Route 53 failover](#route-53-health-checked-failover) | DNS-level failover with health checks |\n| 4 | [Aurora Global Database](#aurora-global-database-failover) | Planned + unplanned cross-region DB failover |\n| 5 | [RDS cross-region replica](#rds-cross-region-read-replica-promotion) | Cross-region read replica promotion |\n| 6 | [Elastic Disaster Recovery](#elastic-disaster-recovery-drs) | DRS launch + recovery instance |\n| 7 | [AWS Backup cross-region](#aws-backup-cross-region-restore) | Cross-region restore orchestration |\n| 8 | [S3 cross-region replication](#s3-cross-region-replication-failover) | CRR + Route 53 client failover |\n| 9 | [Load balancer failover](#load-balancer-cross-zone--cross-region) | ALB\u002FNLB cross-zone, Global Accelerator |\n| 10 | [Lambda multi-region](#lambda-multi-region-deployment) | SAM multi-region + Route 53 failover |\n| 11 | [Step Functions orchestrator](#step-functions-failover-orchestration) | The canonical failover state machine |\n| 12 | [Resilience Hub](#aws-resilience-hub-readiness-assessment) | DR readiness scoring + drift detection |\n| 13 | [STRICT output contract](#output-format-strict-output-contract) | The exact DR block the skill emits |\n| 14 | [NEVER anti-patterns](#never-these-things) | The hardcoded list of DR taboos |\n| 15 | [Expert heuristic](#expert-heuristic-callouts) | Non-obvious behaviors that change the design |\n| 16 | [Recent AWS features](#recent-aws-features-2024-2026) | Managed planned failover, non-blocking DRS, Resilience Hub |\n\n## Mindset\n\n**One-line takeaway:** disaster recovery is **RTO + RPO + tested failover**.\nAn untested failover plan is documentation, not DR. The first time you\npromote a cross-region Aurora Global cluster should be in a game-day\nexercise — not during a real outage when the database is down and\neveryone is stressed.\n\n- **The DR strategy is a cost\u002Fcontinuum trade-off, not a binary.**\n  Backup-and-restore is cheapest but highest RTO\u002FRPO. Multi-site\n  active\u002Factive is most expensive but lowest RTO\u002FRPO (near-zero). The\n  right strategy meets the business RTO\u002FRPO at the lowest cost.\n- **Route 53 health checks fail in 10-60 seconds; DNS TTL adds to that.**\n  A failover record with a 60s TTL + 30s health check interval gives\n  ~90s DNS-level RTO. Client\u002Fresolver caching can push effective RTO\n  to 5+ minutes.\n- **Failover without verification is a footgun.** A health check that\n  triggers a promotion before the primary is truly down causes a\n  split-brain — two primaries accepting writes. Always verify the\n  primary is unreachable before promoting the secondary.\n\n## Pre-flight: DR spec gate (run before generation)\n\n| Attribute | Required | Effect on plan |\n|---|---|---|\n| `application_tier` | YES | Determines building blocks (DB, compute, storage, DNS) |\n| `rto_target_minutes` | YES | Determines strategy (backup, pilot, warm, multi-site) |\n| `rpo_target_minutes` | YES | Determines replication mode (async, sync, snapshot interval) |\n| `primary_region` | YES | Source region |\n| `secondary_region` | YES | DR region |\n| `compliance_framework` | Recommended | PCI\u002FHIPAA\u002FFedRAMP may mandate tested DR |\n| `existing_failover` | For audit mode | When provided, run the layer gates |\n\n**If the spec is incomplete**, output:\n\n```text\nSTRATEGY: \u003Cunknown>\nFAILOVER: \u003Cunknown>\nORCHESTRATION: \u003Cunknown>\nVERIFICATION: \u003Cunknown>\nVERDICT: MANUAL_STEP_REQUIRED\nREASON: Spec is missing required fields (\u003Clist>).\nREQUIRED:\n  - application_tier (web | app | db | mixed)\n  - rto_target_minutes (integer)\n  - rpo_target_minutes (integer)\n  - primary_region, secondary_region\nREMEDIATION: Provide all required fields. Example: \"design pilot-light\nDR for a 3-tier app, RTO 30min, RPO 5min, us-east-1 -> us-west-2\"\nmaps to application_tier=mixed, rto_target_minutes=30,\nrpo_target_minutes=5.\n```\n\n**Live-account pre-flight checks (skip for offline authoring):**\nMoved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) - load on demand (see References below).\n\n## Decision tree — strategy selection\n\n```\nSTART\n  ├─ rto > 24h AND rpo > 24h? ─────────────► Backup & Restore\n  ├─ rto 1-24h AND rpo 15min-1h? ──────────► Pilot Light\n  ├─ rto 1-60min AND rpo \u003C 15min? ─────────► Warm Standby\n  ├─ rto \u003C 1min AND rpo ~0? ───────────────► Multi-Site Active\u002FActive\n  └─ (insufficient objectives) ─────────────► MANUAL_STEP_REQUIRED\n```\n\n| Strategy | RTO | RPO | Cost | When to use |\n|---|---|---|---|---|\n| Backup & restore | Hours-days | Hours-days | 1x storage | Archives, dev, low-criticality |\n| Pilot light | 10min-1h | Minutes | 1x replica | Tier 2-3 apps |\n| Warm standby | Single-digit min | Seconds-min | 50-100% secondary | Tier 1 apps |\n| Multi-site active\u002Factive | Near-zero | Near-zero | 200% duplicate | Tier 0 \u002F revenue-critical |\n\n**Component-to-building-block mapping:**\n\n| Component | RPO target | Building block |\n|---|---|---|\n| Aurora DB | \u003C 1s | Aurora Global Database (async, ~1s lag) |\n| Aurora DB | 5min (PITR) | Aurora automated backup (5-min PITR) |\n| RDS MySQL\u002FPostgreSQL | \u003C 1s | Cross-region read replica (async) |\n| DynamoDB | Near-zero | DynamoDB Global Tables (multi-region active-active) |\n| S3 data | \u003C 15min | S3 cross-region replication (CRR) |\n| EBS volumes | Hours | AWS Backup cross-region copy |\n| EC2 stateful | Hours | Elastic DRS continuous replication |\n\n## Route 53 health-checked failover\n\n```bash\n# Create health check on the primary\nHC_ID=$(aws route53 create-health-check \\\n  --caller-reference \"primary-hc-$(date +%s)\" \\\n  --health-check-config '{\n    \"Type\": \"HTTPS\",\n    \"FullyQualifiedDomainName\": \"primary.example.com\",\n    \"Port\": 443,\n    \"ResourcePath\": \"\u002Fhealth\",\n    \"RequestInterval\": 30,\n    \"FailureThreshold\": 3\n  }' --query 'HealthCheck.Id' --output text)\n\n# Create failover routing policy\naws route53 change-resource-record-sets --hosted-zone-id \u003Czone-id> \\\n  --change-batch '{\n    \"Changes\": [\n      {\"Action\":\"CREATE\",\"ResourceRecordSet\":{\n        \"Name\":\"app.example.com\",\"Type\":\"A\",\n        \"SetIdentifier\":\"primary\",\"Failover\":\"PRIMARY\",\n        \"AliasTarget\":{\"HostedZoneId\":\"Z2FDTNDATAQYW2\",\n          \"DNSName\":\"primary-alb.us-east-1.elb.amazonaws.com\",\n          \"EvaluateTargetHealth\":true},\n        \"HealthCheckId\":\"'\"$HC_ID\"'\"}},\n      {\"Action\":\"CREATE\",\"ResourceRecordSet\":{\n        \"Name\":\"app.example.com\",\"Type\":\"A\",\n        \"SetIdentifier\":\"secondary\",\"Failover\":\"SECONDARY\",\n        \"AliasTarget\":{\"HostedZoneId\":\"Z2FDTNDATAQYW2\",\n          \"DNSName\":\"secondary-alb.us-west-2.elb.amazonaws.com\",\n          \"EvaluateTargetHealth\":true}}}\n    ]\n  }'\n```\n\n**Routing policies:** Failover (primary->secondary on health check\nfailure), Weighted (split 90\u002F10), Latency (route to lowest-latency\nregion), Geolocation (route by client geography).\n\n**Gotchas:** TTL matters — a 60s TTL gives 60s client cache. Health\ncheck `FailureThreshold` x `RequestInterval` = detection time (3 x 30s\n= 90s). `EvaluateTargetHealth: true` cascades health to the ALB\u002FNLB.\n\n## Aurora Global Database failover\n\nAurora Global provides a primary cluster in one region + up to 5\nsecondary read-only clusters. Storage-level async replication (~1s lag).\n\n### Managed planned failover (2024-2025)\n```bash\naws rds failover-global-cluster \\\n  --global-cluster-identifier my-global-cluster \\\n  --target-db-cluster-identifier arn:aws:rds:us-west-2:111111111111:cluster:my-secondary\n```\nPromotes secondary in \u003C 1 minute with no data loss. Use for DR drills\nand controlled failover.\n\n### Unplanned failover (outage)\n```bash\n# Detach + promote secondary (standalone writable cluster)\naws rds remove-from-global-cluster \\\n  --db-cluster-identifier arn:aws:rds:us-west-2:111111111111:cluster:my-secondary \\\n  --global-cluster-identifier my-global-cluster\n# Update Route 53 to point at new primary; verify application writes\n```\nMay lose the last ~1s of writes (replication lag). After unplanned\nfailover, the old primary cannot rejoin — rebuild the global cluster.\n\n## RDS cross-region read replica promotion\n\nFor non-Aurora RDS (MySQL, PostgreSQL):\n\n```bash\n# One-time setup: create cross-region read replica\naws rds create-db-instance-read-replica \\\n  --db-instance-identifier my-db-replica \\\n  --source-db-instance-identifier arn:aws:rds:us-east-1:111111111111:db:my-db \\\n  --region us-west-2\n\n# On failover: promote to standalone\naws rds promote-read-replica \\\n  --db-instance-identifier my-db-replica --region us-west-2\n```\n\n**Gotchas:** promotion breaks replication — the original primary cannot\nre-add as a replica without re-snapshot. Cross-region async replication\nhas lag (seconds-minutes). Promotion takes 5-20 minutes (account for\nthis in RTO).\n\n## Elastic Disaster Recovery (DRS)\n\nDRS provides continuous block-level replication from source servers to a\nstaging area in the DR region. On failover, launches EC2 recovery\ninstances from the replicated data.\n\n### Launch recovery instances\n```bash\naws drs start-recovery \\\n  --source-servers i-0primary1,i-0primary2 \\\n  --is-drill false\n```\n\n### Non-blocking agent (2024-2025)\nDecouples replication from application I\u002FO — source-server performance is\nnot impacted under heavy write load. Older agents blocked I\u002FO during\nreplication bursts.\n\n### Drill mode\n```bash\naws drs start-recovery --source-servers i-0primary1 --is-drill true\n```\nLaunches recovery instances in an isolated subnet without affecting\nproduction. Run quarterly drills.\n\n**Gotchas:** DRS does NOT replicate IAM role, security group, or tags —\nconfigure in launch templates. Recovery launch takes 5-30 min. Staging\narea cost is continuous. CloudEndure is being sunset — migrate to DRS.\n\n## AWS Backup cross-region restore\n\n```bash\n# Cross-region copy in backup plan\naws backup create-backup-plan --backup-plan '{\n  \"BackupPlanName\":\"cross-region-daily\",\n  \"Rules\":[{\n    \"RuleName\":\"DailyBackup\",\n    \"TargetBackupVaultName\":\"Default\",\n    \"ScheduleExpression\":\"cron(0 5 ? * * *)\",\n    \"CopyActions\":[{\n      \"DestinationBackupVaultArn\":\"arn:aws:backup:us-west-2:111111111111:backup-vault:Default\",\n      \"Lifecycle\":{\"DeleteAfterDays\":30}\n    }]\n  }]\n}'\n\n# Restore on failover\naws backup start-restore-job \\\n  --recovery-point-arn arn:aws:backup:us-west-2:111111111111:recovery-point:1-xxx \\\n  --metadata '{\"InstanceType\":\"t3.large\",\"VpcId\":\"vpc-xxx\"}' \\\n  --iam-role-arn arn:aws:iam::111111111111:role\u002FAWSBackupRestoreRole \\\n  --resource-type EC2\n```\n\n**Gotchas:** restore time scales with snapshot size (1TB EBS = 30-60min).\nCross-region copy happens after local backup completes. RPO = backup\ninterval + copy time.\n\n## S3 cross-region replication failover\n\n```bash\naws s3api put-bucket-replication --bucket primary-bucket \\\n  --replication-configuration '{\n    \"Role\":\"arn:aws:iam::111111111111:role\u002FS3ReplicationRole\",\n    \"Rules\":[{\"Status\":\"Enabled\",\"Priority\":1,\n      \"Destination\":{\"Bucket\":\"arn:aws:s3:::secondary-bucket\"},\n      \"Filter\":{}}]\n  }'\n```\n\n**Failover pattern:** Route 53 failover records pointing at the two\nbuckets (via CloudFront), OR update application S3 client to the\nsecondary bucket ARN. S3 CRR is async — recent objects may not yet be\nreplicated at failover. Use S3 Batch Operations post-failover to\nidentify and re-upload missing objects.\n\n## Load balancer cross-zone + cross-region\n\n### Cross-zone (within region)\n```bash\naws elbv2 modify-load-balancer-attributes \\\n  --load-balancer-arn \u003Calb-arn> \\\n  --attributes Key=load_balancing.cross_zone.enabled,Value=true\n```\nALB cross-zone is on by default. NLB cross-zone is off by default.\n\n### Cross-region (Global Accelerator)\n```bash\naws globalaccelerator create-accelerator --name dr-global-accelerator\n# Primary endpoint group: traffic-dial-percentage 100\n# Secondary endpoint group: traffic-dial-percentage 0\n# Flip dials on failover\n```\nGlobal Accelerator provides static anycast IPs that route to the nearest\nhealthy regional endpoint. Sub-second failover — better than DNS TTL.\n\n## Lambda multi-region deployment\n\n```bash\nsam package --template-file template.yaml \\\n  --s3-bucket sam-bucket-us-east-1 --output-template-file packaged.yaml\nsam deploy --template-file packaged.yaml --stack-name my-fn --region us-east-1\nsam deploy --template-file packaged.yaml --stack-name my-fn --region us-west-2\n```\nFront with Route 53 failover records pointing at regional API Gateway \u002F\nFunction URL. **Gotcha:** Lambda env vars and IAM roles are\nregion-specific. Use Parameter Store cross-region replication or\nSecrets Manager replica for shared config.\n\n## Step Functions failover orchestration\n\nThe canonical failover sequence: health check -> promote primary ->\nupdate DNS -> verify -> notify.\nMoved verbatim to [references\u002Ffailover-orchestration-patterns.md](references\u002Ffailover-orchestration-patterns.md) - load on demand (see References below).\n\nAlways prefer `waitForTaskToken` for human approval gates — pauses\ncleanly, resumes on callback. Avoid `Wait` with fixed duration (clutters\ndashboard, may hit 1-year execution limit).\n\n## AWS Resilience Hub readiness assessment\n\n```bash\naws resiliencehub create-app --app-name my-dr-app \\\n  --resource-mappings '[{\"PhysicalResourceId\":\"arn:aws:rds:us-east-1:111111111111:cluster:my-db\",\"LogicalResourceId\":{\"Identifier\":\"my-db\"},\"MappingType\":\"CfnStack\"}]'\n\naws resiliencehub start-app-assessment \\\n  --app-arn arn:aws:resiliencehub:\u003Cregion>:\u003Caccount>:app\u002F123 \\\n  --app-version-name release-1 --assessment-name dr-readiness-2026-08\n```\n\nReturns a compliance score + recommendations (\"add Aurora Global for\nRPO \u003C 1s compliance\"). Use as the readiness gate for go-live. Requires\nthe app components be modeled as CloudFormation, Terraform, or\nAppRegistry. Schedule monthly assessments to detect drift.\n\n## Output format (STRICT output contract)\n\n```text\nSTRATEGY: \u003Cbackup-restore | pilot-light | warm-standby | multi-site>\nRTO_TARGET: \u003Cminutes>\nRPO_TARGET: \u003Cminutes>\nREGIONS: primary=\u003Cregion>, secondary=\u003Cregion>\nFAILOVER:\n  - [PASS|FAIL] Route 53 health check configured (interval, threshold)\n  - [PASS|FAIL] Primary verification step (prevent split-brain)\n  - [PASS|FAIL] Secondary promotion mechanism defined\n  - [PASS|FAIL] DNS update step\n  - [PASS|FAIL] Verification step post-failover\n  - [PASS|FAIL] Rollback path documented\nORCHESTRATION:\n  - [PASS|FAIL] Step Functions state machine (or equivalent)\n  - [PASS|FAIL] Kill-switch implemented\n  - [PASS|FAIL] Human approval gate (task-token or manual)\nVERIFICATION:\n  - [PASS|FAIL] Game-day drill run within last 90 days\n  - [PASS|FAIL] Resilience Hub assessment score >= target\n  - [PASS|FAIL] Health check threshold tuned (not too sensitive)\nVERDICT: AUTOMATED | MANUAL_STEP_REQUIRED\nFINDINGS:\n  - [INFO|WARN|HIGH|CRITICAL] \u003Cobservation>\nREMEDIATION:\n  1. \u003Cstep 1>\n  2. \u003Cstep 2>\n```\n\n### Worked example — AUTOMATED pilot light\n```text\nSTRATEGY: pilot-light\nRTO_TARGET: 30\nRPO_TARGET: 5\nREGIONS: primary=us-east-1, secondary=us-west-2\nFAILOVER:\n  - [PASS] Route 53 health check: HTTPS \u002Fhealth, interval=30s, threshold=3\n  - [PASS] Primary verification: Lambda dr-verify-primary-down (3 retries, backoff)\n  - [PASS] Aurora Global Database managed failover (failover-global-cluster)\n  - [PASS] DNS update: Route 53 failover record UPSERT to secondary ALB\n  - [PASS] Post-failover verification: Lambda dr-verify-secondary-up\n  - [PASS] Rollback path documented (reverse DNS, failback via snapshot rebuild)\nORCHESTRATION:\n  - [PASS] Step Functions state machine dr-failover-orchestrator\n  - [PASS] Kill-switch: Parameter Store \u002Fdr\u002Fkill-switch (checked first)\n  - [PASS] Human approval via SQS task token (no fixed Wait)\nVERIFICATION:\n  - [PASS] Game-day drill: 2026-07-15, RTO measured 22min, RPO 1s\n  - [PASS] Resilience Hub assessment: compliance score 92\n  - [PASS] Health check threshold tuned (3 failures, 30s = 90s detection)\nVERDICT: AUTOMATED\nFINDINGS:\n  - [INFO] Aurora Global replication lag: 1s typical, 5s max observed\n  - [WARN] DRS source servers: 4 of 5 in sync, 1 lagging\nREMEDIATION:\n  1. Re-sync lagging DRS source server i-0primary5\n  2. Add ElastiCache cross-region replication for session state\n```\n\n### Worked example — MANUAL_STEP_REQUIRED (no verification)\nMoved verbatim to [references\u002Fworked-examples.md](references\u002Fworked-examples.md) - load on demand (see References below).\n\n## NEVER (these things)\n\n- NEVER failover without first verifying the primary is truly down. A\n  transient health check failure (network blip, brief ALB 5xx) triggers\n  promotion of the secondary while the primary is still serving writes\n  — split-brain, data divergence, irrecoverable state. Always run a\n  verify-primary-down step with retries before promoting.\n\n- NEVER skip the game-day drill. An untested failover plan is a wish.\n  Aurora Global failover, RDS replica promotion, DRS launch — all have\n  subtle behaviors (lag, IAM, launch template drift) that surface only\n  on first execution. Run drills quarterly; document the measured RTO.\n\n- NEVER rely on a single Route 53 health check as the failover trigger.\n  Health checks have false positives (network blips, health endpoint\n  bugs). Use a verification Lambda + Step Functions with retries as the\n  actual trigger, not the health check directly.\n\n- NEVER auto-failover without a kill-switch. A misconfigured health\n  check endpoint causes endless failover flapping. The kill-switch lets\n  you stop the orchestrator while debugging.\n\n- NEVER assume Aurora Global failover is automatic. Out of the box,\n  Aurora Global does NOT auto-failover. Managed Planned Failover (2024)\n  handles the planned case; unplanned requires manual or Step Functions\n  orchestration via `remove-from-global-cluster`.\n\n## Expert heuristic callouts\nMoved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) - load on demand (see References below).\n\n## Pre-flight safety checks\nMoved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) - load on demand (see References below).\n\n## Edge-case handling\nMoved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) - load on demand (see References below).\n\n## Recent AWS features (2024-2026)\nMoved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) - load on demand (see References below).\n\n## References (load on demand)\n\n- [references\u002Fworked-examples.md](references\u002Fworked-examples.md) — secondary worked example (MANUAL_STEP_REQUIRED) moved from SKILL.md\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — expert heuristics, edge-case handling, 2024-2026 features moved from SKILL.md\n- [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) — live pre-flight checks + pre-failover safety checks moved from SKILL.md\n- [references\u002Ffailover-orchestration-patterns.md](references\u002Ffailover-orchestration-patterns.md) — canonical Step Functions failover ASL moved from SKILL.md\n- [references\u002Fdr-strategy-deep-dive.md](references\u002Fdr-strategy-deep-dive.md) — DR strategy cost\u002FRTO-RPO deep dive\n\n## Domain\n\nAWS CloudOps \u002F Disaster Recovery Failover Automation.\n\n## AWS documentation\n\n- **AWS Disaster Recovery** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fwellarchitected\u002Flatest\u002Fdisaster-recovery\u002F\n- **AWS Elastic Disaster Recovery** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fdrs\u002Flatest\u002Fuserguide\u002F\n- **AWS Resilience Hub** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fresilience-hub\u002Flatest\u002Fuserguide\u002F\n- **Amazon Aurora Global Database** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonRDS\u002Flatest\u002FAuroraUserGuide\u002Faurora-global-database.html\n- **AWS Backup** — https:\u002F\u002Fdocs.aws.amazon.com\u002Faws-backup\u002Flatest\u002Fdevguide\u002F\n- **Amazon Route 53 Health Checks** — https:\u002F\u002Fdocs.aws.amazon.com\u002FRoute53\u002Flatest\u002FDeveloperGuide\u002Fdns-failover.html\n- **AWS Global Accelerator** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fglobal-accelerator\u002Flatest\u002Fdg\u002F\n- **AWS Step Functions** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fstep-functions\u002Flatest\u002Fdg\u002F\n- **AWS DR Blog** — https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Farchitecture\u002F\n","# DR Failover Automator\n\n## What this skill does\n\nDesigns automated AWS disaster recovery failover across the four\ncanonical DR strategies — **backup & restore**, **pilot light**, **warm\nstandby**, and **multi-site active\u002Factive** — and the building blocks\nthat compose each: Route 53 health-checked DNS failover, Aurora Global\nDatabase failover, RDS cross-region read replica promotion, Elastic\nDisaster Recovery (DRS) launch, AWS Backup cross-region restore,\ncross-zone \u002F cross-region load balancing, Lambda multi-region deployment,\nand Step Functions orchestration of the canonical failover sequence\n(health check -> promote primary -> update DNS -> verify -> notify).\n\nThe verdict is binary: **AUTOMATED** when the runbook covers a chosen\nstrategy with mapped RTO\u002FRPO targets, a defined trigger (health check\nor manual), the full failover sequence, verification step, and rollback\npath; **MANUAL_STEP_REQUIRED** when any component is missing (e.g.,\nhealth check threshold undefined, untested promotion, no verification\nhook, no break-glass notification).\n\n## Quick navigation\n\n| # | Section | Jump when |\n|---|---|---|\n| 1 | [Pre-flight gate](#pre-flight-dr-spec-gate) | Starting any DR design — blocks unsafe specs |\n| 2 | [Decision tree](#decision-tree--strategy-selection) | Backup-restore \u002F pilot light \u002F warm standby \u002F multi-site |\n| 3 | [Route 53 failover](#route-53-health-checked-failover) | DNS-level failover with health checks |\n| 4 | [Aurora Global Database](#aurora-global-database-failover) | Planned + unplanned cross-region DB failover |\n| 5 | [RDS cross-region replica](#rds-cross-region-read-replica-promotion) | Cross-region read replica promotion |\n| 6 | [Elastic Disaster Recovery](#elastic-disaster-recovery-drs) | DRS launch + recovery instance |\n| 7 | [AWS Backup cross-region](#aws-backup-cross-region-restore) | Cross-region restore orchestration |\n| 8 | [S3 cross-region replication](#s3-cross-region-replication-failover) | CRR + Route 53 client failover |\n| 9 | [Load balancer failover](#load-balancer-cross-zone--cross-region) | ALB\u002FNLB cross-zone, Global Accelerator |\n| 10 | [Lambda multi-region](#lambda-multi-region-deployment) | SAM multi-region + Route 53 failover |\n| 11 | [Step Functions orchestrator](#step-functions-failover-orchestration) | The canonical failover state machine |\n| 12 | [Resilience Hub](#aws-resilience-hub-readiness-assessment) | DR readiness scoring + drift detection |\n| 13 | [STRICT output contract](#output-format-strict-output-contract) | The exact DR block the skill emits |\n| 14 | [NEVER anti-patterns](#never-these-things) | The hardcoded list of DR taboos |\n| 15 | [Expert heuristic](#expert-heuristic-callouts) | Non-obvious behaviors that change the design |\n| 16 | [Recent AWS features](#recent-aws-features-2024-2026) | Managed planned failover, non-blocking DRS, Resilience Hub |\n\n## Mindset\n\n**One-line takeaway:** disaster recovery is **RTO + RPO + tested failover**.\nAn untested failover plan is documentation, not DR. The first time you\npromote a cross-region Aurora Global cluster should be in a game-day\nexercise — not during a real outage when the database is down and\neveryone is stressed.\n\n- **The DR strategy is a cost\u002Fcontinuum trade-off, not a binary.**\n  Backup-and-restore is cheapest but highest RTO\u002FRPO. Multi-site\n  active\u002Factive is most expensive but lowest RTO\u002FRPO (near-zero). The\n  right strategy meets the business RTO\u002FRPO at the lowest cost.\n- **Route 53 health checks fail in 10-60 seconds; DNS TTL adds to that.**\n  A failover record with a 60s TTL + 30s health check interval gives\n  ~90s DNS-level RTO. Client\u002Fresolver caching can push effective RTO\n  to 5+ minutes.\n- **Failover without verification is a footgun.** A health check that\n  triggers a promotion before the primary is truly down causes a\n  split-brain — two primaries accepting writes. Always verify the\n  primary is unreachable before promoting the secondary.\n\n## Pre-flight: DR spec gate (run before generation)\n\n| Attribute | Required | Effect on plan |\n|---|---|---|\n| `application_tier` | YES | Determines building blocks (DB, compute, storage, DNS) |\n| `rto_target_minutes` | YES | Determines strategy (backup, pilot, warm, multi-site) |\n| `rpo_target_minutes` | YES | Determines replication mode (async, sync, snapshot interval) |\n| `primary_region` | YES | Source region |\n| `secondary_region` | YES | DR region |\n| `compliance_framework` | Recommended | PCI\u002FHIPAA\u002FFedRAMP may mandate tested DR |\n| `existing_failover` | For audit mode | When provided, run the layer gates |\n\n**If the spec is incomplete**, output:\n\n```text\nSTRATEGY: \u003Cunknown>\nFAILOVER: \u003Cunknown>\nORCHESTRATION: \u003Cunknown>\nVERIFICATION: \u003Cunknown>\nVERDICT: MANUAL_STEP_REQUIRED\nREASON: Spec is missing required fields (\u003Clist>).\nREQUIRED:\n  - application_tier (web | app | db | mixed)\n  - rto_target_minutes (integer)\n  - rpo_target_minutes (integer)\n  - primary_region, secondary_region\nREMEDIATION: Provide all required fields. Example: \"design pilot-light\nDR for a 3-tier app, RTO 30min, RPO 5min, us-east-1 -> us-west-2\"\nmaps to application_tier=mixed, rto_target_minutes=30,\nrpo_target_minutes=5.\n```\n\n**Live-account pre-flight checks (skip for offline authoring):**\nMoved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) - load on demand (see References below).\n\n## Decision tree — strategy selection\n\n```\nSTART\n  ├─ rto > 24h AND rpo > 24h? ─────────────► Backup & Restore\n  ├─ rto 1-24h AND rpo 15min-1h? ──────────► Pilot Light\n  ├─ rto 1-60min AND rpo \u003C 15min? ─────────► Warm Standby\n  ├─ rto \u003C 1min AND rpo ~0? ───────────────► Multi-Site Active\u002FActive\n  └─ (insufficient objectives) ─────────────► MANUAL_STEP_REQUIRED\n```\n\n| Strategy | RTO | RPO | Cost | When to use |\n|---|---|---|---|---|\n| Backup & restore | Hours-days | Hours-days | 1x storage | Archives, dev, low-criticality |\n| Pilot light | 10min-1h | Minutes | 1x replica | Tier 2-3 apps |\n| Warm standby | Single-digit min | Seconds-min | 50-100% secondary | Tier 1 apps |\n| Multi-site active\u002Factive | Near-zero | Near-zero | 200% duplicate | Tier 0 \u002F revenue-critical |\n\n**Component-to-building-block mapping:**\n\n| Component | RPO target | Building block |\n|---|---|---|\n| Aurora DB | \u003C 1s | Aurora Global Database (async, ~1s lag) |\n| Aurora DB | 5min (PITR) | Aurora automated backup (5-min PITR) |\n| RDS MySQL\u002FPostgreSQL | \u003C 1s | Cross-region read replica (async) |\n| DynamoDB | Near-zero | DynamoDB Global Tables (multi-region active-active) |\n| S3 data | \u003C 15min | S3 cross-region replication (CRR) |\n| EBS volumes | Hours | AWS Backup cross-region copy |\n| EC2 stateful | Hours | Elastic DRS continuous replication |\n\n## Route 53 health-checked failover\n\n```bash\n# Create health check on the primary\nHC_ID=$(aws route53 create-health-check \\\n  --caller-reference \"primary-hc-$(date +%s)\" \\\n  --health-check-config '{\n    \"Type\": \"HTTPS\",\n    \"FullyQualifiedDomainName\": \"primary.example.com\",\n    \"Port\": 443,\n    \"ResourcePath\": \"\u002Fhealth\",\n    \"RequestInterval\": 30,\n    \"FailureThreshold\": 3\n  }' --query 'HealthCheck.Id' --output text)\n\n# Create failover routing policy\naws route53 change-resource-record-sets --hosted-zone-id \u003Czone-id> \\\n  --change-batch '{\n    \"Changes\": [\n      {\"Action\":\"CREATE\",\"ResourceRecordSet\":{\n        \"Name\":\"app.example.com\",\"Type\":\"A\",\n        \"SetIdentifier\":\"primary\",\"Failover\":\"PRIMARY\",\n        \"AliasTarget\":{\"HostedZoneId\":\"Z2FDTNDATAQYW2\",\n          \"DNSName\":\"primary-alb.us-east-1.elb.amazonaws.com\",\n          \"EvaluateTargetHealth\":true},\n        \"HealthCheckId\":\"'\"$HC_ID\"'\"}},\n      {\"Action\":\"CREATE\",\"ResourceRecordSet\":{\n        \"Name\":\"app.example.com\",\"Type\":\"A\",\n        \"SetIdentifier\":\"secondary\",\"Failover\":\"SECONDARY\",\n        \"AliasTarget\":{\"HostedZoneId\":\"Z2FDTNDATAQYW2\",\n          \"DNSName\":\"secondary-alb.us-west-2.elb.amazonaws.com\",\n          \"EvaluateTargetHealth\":true}}}\n    ]\n  }'\n```\n\n**Routing policies:** Failover (primary->secondary on health check\nfailure), Weighted (split 90\u002F10), Latency (route to lowest-latency\nregion), Geolocation (route by client geography).\n\n**Gotchas:** TTL matters — a 60s TTL gives 60s client cache. Health\ncheck `FailureThreshold` x `RequestInterval` = detection time (3 x 30s\n= 90s). `EvaluateTargetHealth: true` cascades health to the ALB\u002FNLB.\n\n## Aurora Global Database failover\n\nAurora Global provides a primary cluster in one region + up to 5\nsecondary read-only clusters. Storage-level async replication (~1s lag).\n\n### Managed planned failover (2024-2025)\n```bash\naws rds failover-global-cluster \\\n  --global-cluster-identifier my-global-cluster \\\n  --target-db-cluster-identifier arn:aws:rds:us-west-2:111111111111:cluster:my-secondary\n```\nPromotes secondary in \u003C 1 minute with no data loss. Use for DR drills\nand controlled failover.\n\n### Unplanned failover (outage)\n```bash\n# Detach + promote secondary (standalone writable cluster)\naws rds remove-from-global-cluster \\\n  --db-cluster-identifier arn:aws:rds:us-west-2:111111111111:cluster:my-secondary \\\n  --global-cluster-identifier my-global-cluster\n# Update Route 53 to point at new primary; verify application writes\n```\nMay lose the last ~1s of writes (replication lag). After unplanned\nfailover, the old primary cannot rejoin — rebuild the global cluster.\n\n## RDS cross-region read replica promotion\n\nFor non-Aurora RDS (MySQL, PostgreSQL):\n\n```bash\n# One-time setup: create cross-region read replica\naws rds create-db-instance-read-replica \\\n  --db-instance-identifier my-db-replica \\\n  --source-db-instance-identifier arn:aws:rds:us-east-1:111111111111:db:my-db \\\n  --region us-west-2\n\n# On failover: promote to standalone\naws rds promote-read-replica \\\n  --db-instance-identifier my-db-replica --region us-west-2\n```\n\n**Gotchas:** promotion breaks replication — the original primary cannot\nre-add as a replica without re-snapshot. Cross-region async replication\nhas lag (seconds-minutes). Promotion takes 5-20 minutes (account for\nthis in RTO).\n\n## Elastic Disaster Recovery (DRS)\n\nDRS provides continuous block-level replication from source servers to a\nstaging area in the DR region. On failover, launches EC2 recovery\ninstances from the replicated data.\n\n### Launch recovery instances\n```bash\naws drs start-recovery \\\n  --source-servers i-0primary1,i-0primary2 \\\n  --is-drill false\n```\n\n### Non-blocking agent (2024-2025)\nDecouples replication from application I\u002FO — source-server performance is\nnot impacted under heavy write load. Older agents blocked I\u002FO during\nreplication bursts.\n\n### Drill mode\n```bash\naws drs start-recovery --source-servers i-0primary1 --is-drill true\n```\nLaunches recovery instances in an isolated subnet without affecting\nproduction. Run quarterly drills.\n\n**Gotchas:** DRS does NOT replicate IAM role, security group, or tags —\nconfigure in launch templates. Recovery launch takes 5-30 min. Staging\narea cost is continuous. CloudEndure is being sunset — migrate to DRS.\n\n## AWS Backup cross-region restore\n\n```bash\n# Cross-region copy in backup plan\naws backup create-backup-plan --backup-plan '{\n  \"BackupPlanName\":\"cross-region-daily\",\n  \"Rules\":[{\n    \"RuleName\":\"DailyBackup\",\n    \"TargetBackupVaultName\":\"Default\",\n    \"ScheduleExpression\":\"cron(0 5 ? * * *)\",\n    \"CopyActions\":[{\n      \"DestinationBackupVaultArn\":\"arn:aws:backup:us-west-2:111111111111:backup-vault:Default\",\n      \"Lifecycle\":{\"DeleteAfterDays\":30}\n    }]\n  }]\n}'\n\n# Restore on failover\naws backup start-restore-job \\\n  --recovery-point-arn arn:aws:backup:us-west-2:111111111111:recovery-point:1-xxx \\\n  --metadata '{\"InstanceType\":\"t3.large\",\"VpcId\":\"vpc-xxx\"}' \\\n  --iam-role-arn arn:aws:iam::111111111111:role\u002FAWSBackupRestoreRole \\\n  --resource-type EC2\n```\n\n**Gotchas:** restore time scales with snapshot size (1TB EBS = 30-60min).\nCross-region copy happens after local backup completes. RPO = backup\ninterval + copy time.\n\n## S3 cross-region replication failover\n\n```bash\naws s3api put-bucket-replication --bucket primary-bucket \\\n  --replication-configuration '{\n    \"Role\":\"arn:aws:iam::111111111111:role\u002FS3ReplicationRole\",\n    \"Rules\":[{\"Status\":\"Enabled\",\"Priority\":1,\n      \"Destination\":{\"Bucket\":\"arn:aws:s3:::secondary-bucket\"},\n      \"Filter\":{}}]\n  }'\n```\n\n**Failover pattern:** Route 53 failover records pointing at the two\nbuckets (via CloudFront), OR update application S3 client to the\nsecondary bucket ARN. S3 CRR is async — recent objects may not yet be\nreplicated at failover. Use S3 Batch Operations post-failover to\nidentify and re-upload missing objects.\n\n## Load balancer cross-zone + cross-region\n\n### Cross-zone (within region)\n```bash\naws elbv2 modify-load-balancer-attributes \\\n  --load-balancer-arn \u003Calb-arn> \\\n  --attributes Key=load_balancing.cross_zone.enabled,Value=true\n```\nALB cross-zone is on by default. NLB cross-zone is off by default.\n\n### Cross-region (Global Accelerator)\n```bash\naws globalaccelerator create-accelerator --name dr-global-accelerator\n# Primary endpoint group: traffic-dial-percentage 100\n# Secondary endpoint group: traffic-dial-percentage 0\n# Flip dials on failover\n```\nGlobal Accelerator provides static anycast IPs that route to the nearest\nhealthy regional endpoint. Sub-second failover — better than DNS TTL.\n\n## Lambda multi-region deployment\n\n```bash\nsam package --template-file template.yaml \\\n  --s3-bucket sam-bucket-us-east-1 --output-template-file packaged.yaml\nsam deploy --template-file packaged.yaml --stack-name my-fn --region us-east-1\nsam deploy --template-file packaged.yaml --stack-name my-fn --region us-west-2\n```\nFront with Route 53 failover records pointing at regional API Gateway \u002F\nFunction URL. **Gotcha:** Lambda env vars and IAM roles are\nregion-specific. Use Parameter Store cross-region replication or\nSecrets Manager replica for shared config.\n\n## Step Functions failover orchestration\n\nThe canonical failover sequence: health check -> promote primary ->\nupdate DNS -> verify -> notify.\nMoved verbatim to [references\u002Ffailover-orchestration-patterns.md](references\u002Ffailover-orchestration-patterns.md) - load on demand (see References below).\n\nAlways prefer `waitForTaskToken` for human approval gates — pauses\ncleanly, resumes on callback. Avoid `Wait` with fixed duration (clutters\ndashboard, may hit 1-year execution limit).\n\n## AWS Resilience Hub readiness assessment\n\n```bash\naws resiliencehub create-app --app-name my-dr-app \\\n  --resource-mappings '[{\"PhysicalResourceId\":\"arn:aws:rds:us-east-1:111111111111:cluster:my-db\",\"LogicalResourceId\":{\"Identifier\":\"my-db\"},\"MappingType\":\"CfnStack\"}]'\n\naws resiliencehub start-app-assessment \\\n  --app-arn arn:aws:resiliencehub:\u003Cregion>:\u003Caccount>:app\u002F123 \\\n  --app-version-name release-1 --assessment-name dr-readiness-2026-08\n```\n\nReturns a compliance score + recommendations (\"add Aurora Global for\nRPO \u003C 1s compliance\"). Use as the readiness gate for go-live. Requires\nthe app components be modeled as CloudFormation, Terraform, or\nAppRegistry. Schedule monthly assessments to detect drift.\n\n## Output format (STRICT output contract)\n\n```text\nSTRATEGY: \u003Cbackup-restore | pilot-light | warm-standby | multi-site>\nRTO_TARGET: \u003Cminutes>\nRPO_TARGET: \u003Cminutes>\nREGIONS: primary=\u003Cregion>, secondary=\u003Cregion>\nFAILOVER:\n  - [PASS|FAIL] Route 53 health check configured (interval, threshold)\n  - [PASS|FAIL] Primary verification step (prevent split-brain)\n  - [PASS|FAIL] Secondary promotion mechanism defined\n  - [PASS|FAIL] DNS update step\n  - [PASS|FAIL] Verification step post-failover\n  - [PASS|FAIL] Rollback path documented\nORCHESTRATION:\n  - [PASS|FAIL] Step Functions state machine (or equivalent)\n  - [PASS|FAIL] Kill-switch implemented\n  - [PASS|FAIL] Human approval gate (task-token or manual)\nVERIFICATION:\n  - [PASS|FAIL] Game-day drill run within last 90 days\n  - [PASS|FAIL] Resilience Hub assessment score >= target\n  - [PASS|FAIL] Health check threshold tuned (not too sensitive)\nVERDICT: AUTOMATED | MANUAL_STEP_REQUIRED\nFINDINGS:\n  - [INFO|WARN|HIGH|CRITICAL] \u003Cobservation>\nREMEDIATION:\n  1. \u003Cstep 1>\n  2. \u003Cstep 2>\n```\n\n### Worked example — AUTOMATED pilot light\n```text\nSTRATEGY: pilot-light\nRTO_TARGET: 30\nRPO_TARGET: 5\nREGIONS: primary=us-east-1, secondary=us-west-2\nFAILOVER:\n  - [PASS] Route 53 health check: HTTPS \u002Fhealth, interval=30s, threshold=3\n  - [PASS] Primary verification: Lambda dr-verify-primary-down (3 retries, backoff)\n  - [PASS] Aurora Global Database managed failover (failover-global-cluster)\n  - [PASS] DNS update: Route 53 failover record UPSERT to secondary ALB\n  - [PASS] Post-failover verification: Lambda dr-verify-secondary-up\n  - [PASS] Rollback path documented (reverse DNS, failback via snapshot rebuild)\nORCHESTRATION:\n  - [PASS] Step Functions state machine dr-failover-orchestrator\n  - [PASS] Kill-switch: Parameter Store \u002Fdr\u002Fkill-switch (checked first)\n  - [PASS] Human approval via SQS task token (no fixed Wait)\nVERIFICATION:\n  - [PASS] Game-day drill: 2026-07-15, RTO measured 22min, RPO 1s\n  - [PASS] Resilience Hub assessment: compliance score 92\n  - [PASS] Health check threshold tuned (3 failures, 30s = 90s detection)\nVERDICT: AUTOMATED\nFINDINGS:\n  - [INFO] Aurora Global replication lag: 1s typical, 5s max observed\n  - [WARN] DRS source servers: 4 of 5 in sync, 1 lagging\nREMEDIATION:\n  1. Re-sync lagging DRS source server i-0primary5\n  2. Add ElastiCache cross-region replication for session state\n```\n\n### Worked example — MANUAL_STEP_REQUIRED (no verification)\nMoved verbatim to [references\u002Fworked-examples.md](references\u002Fworked-examples.md) - load on demand (see References below).\n\n## NEVER (these things)\n\n- NEVER failover without first verifying the primary is truly down. A\n  transient health check failure (network blip, brief ALB 5xx) triggers\n  promotion of the secondary while the primary is still serving writes\n  — split-brain, data divergence, irrecoverable state. Always run a\n  verify-primary-down step with retries before promoting.\n\n- NEVER skip the game-day drill. An untested failover plan is a wish.\n  Aurora Global failover, RDS replica promotion, DRS launch — all have\n  subtle behaviors (lag, IAM, launch template drift) that surface only\n  on first execution. Run drills quarterly; document the measured RTO.\n\n- NEVER rely on a single Route 53 health check as the failover trigger.\n  Health checks have false positives (network blips, health endpoint\n  bugs). Use a verification Lambda + Step Functions with retries as the\n  actual trigger, not the health check directly.\n\n- NEVER auto-failover without a kill-switch. A misconfigured health\n  check endpoint causes endless failover flapping. The kill-switch lets\n  you stop the orchestrator while debugging.\n\n- NEVER assume Aurora Global failover is automatic. Out of the box,\n  Aurora Global does NOT auto-failover. Managed Planned Failover (2024)\n  handles the planned case; unplanned requires manual or Step Functions\n  orchestration via `remove-from-global-cluster`.\n\n## Expert heuristic callouts\nMoved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) - load on demand (see References below).\n\n## Pre-flight safety checks\nMoved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) - load on demand (see References below).\n\n## Edge-case handling\nMoved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) - load on demand (see References below).\n\n## Recent AWS features (2024-2026)\nMoved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) - load on demand (see References below).\n\n## References (load on demand)\n\n- [references\u002Fworked-examples.md](references\u002Fworked-examples.md) — secondary worked example (MANUAL_STEP_REQUIRED) moved from SKILL.md\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — expert heuristics, edge-case handling, 2024-2026 features moved from SKILL.md\n- [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) — live pre-flight checks + pre-failover safety checks moved from SKILL.md\n- [references\u002Ffailover-orchestration-patterns.md](references\u002Ffailover-orchestration-patterns.md) — canonical Step Functions failover ASL moved from SKILL.md\n- [references\u002Fdr-strategy-deep-dive.md](references\u002Fdr-strategy-deep-dive.md) — DR strategy cost\u002FRTO-RPO deep dive\n\n## Domain\n\nAWS CloudOps \u002F Disaster Recovery Failover Automation.\n\n## AWS documentation\n\n- **AWS Disaster Recovery** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fwellarchitected\u002Flatest\u002Fdisaster-recovery\u002F\n- **AWS Elastic Disaster Recovery** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fdrs\u002Flatest\u002Fuserguide\u002F\n- **AWS Resilience Hub** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fresilience-hub\u002Flatest\u002Fuserguide\u002F\n- **Amazon Aurora Global Database** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonRDS\u002Flatest\u002FAuroraUserGuide\u002Faurora-global-database.html\n- **AWS Backup** — https:\u002F\u002Fdocs.aws.amazon.com\u002Faws-backup\u002Flatest\u002Fdevguide\u002F\n- **Amazon Route 53 Health Checks** — https:\u002F\u002Fdocs.aws.amazon.com\u002FRoute53\u002Flatest\u002FDeveloperGuide\u002Fdns-failover.html\n- **AWS Global Accelerator** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fglobal-accelerator\u002Flatest\u002Fdg\u002F\n- **AWS Step Functions** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fstep-functions\u002Flatest\u002Fdg\u002F\n- **AWS DR Blog** — https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Farchitecture\u002F\n",{"name":5,"license":15,"metadata":24,"description":7,"compatibility":43},{"tags":25,"phase":26,"author":27,"domain":28,"family":29,"version":30,"keywords":31,"task_type":32,"complexity":33,"entry_point":34,"skill_class":35,"when_to_use":36,"requires_llm":37,"verdict_shape":38,"when_not_to_use":39,"lifecycle_status":40,"invocation_schema":41,"supports_pipeline":37,"activation_triggers":42},"disaster-recovery, route53, aurora-global, elastic-drs, aws-backup, resilience-hub, stepfunctions, automate","4","Jacky Chan — AWS Community Builder","aws-cloudops","Management","0.1.0","disaster recovery, DR failover, backup and restore, pilot light, warm standby, multi-site active-active, Route 53 health check, Route 53 failover record, Aurora Global Database, cross-region read replica, Elastic Disaster Recovery, DRS launch, CloudEndure migration, AWS Backup cross-region restore, cross-zone load balancing, Global Accelerator, Lambda multi-region, Step Functions failover orchestration, AWS Resilience Hub, RTO RPO, S3 cross-region replication","automate","high","false","capability","Designing a DR failover plan, picking among backup-restore \u002F pilot light \u002F warm standby \u002F multi-site strategies, wiring Route 53 health-checked DNS failover, automating Aurora Global Database or RDS cross-region replica promotion, orchestrating Elastic Disaster Recovery (DRS) launch, centralizing AWS Backup cross-region restore, deploying Lambda multi-region with Route 53 failover, building a Step Functions failover orchestrator (health check -> promote -> DNS -> verify -> notify), or running an AWS Resilience Hub readiness assessment.","true","AUTOMATED | MANUAL_STEP_REQUIRED","Single-region high availability (use autoscaling \u002F multi-AZ skills — DR is cross-region by definition)., Backup-only design with no failover component (use backup \u002F data-protection skills)., Application-level health check design (use app-monitoring skills — this skill automates failover, not monitoring)., Migration planning (use migration skills — DR is about failover, not lift-and-shift).","active","Input: either (a) a DR requirement (\"design pilot-light DR for a three-tier app, RTO 30min, RPO 5min, us-east-1 -> us-west-2\"), OR (b) an existing failover workflow \u002F Route 53 configuration \u002F Aurora Global cluster to audit and harden. Output: deterministic DR block per requirement — STRATEGY\u002FFAILOVER\u002FORCHESTRATION\u002FVERIFICATION\u002F VERDICT — where VERDICT is AUTOMATED (failover runbook complete with all gates passing) or MANUAL_STEP_REQUIRED (specific gap cited, e.g., health check missing, untested RDS promotion, no break-glass notification path).","DR failover automation, Route 53 health-checked failover, Aurora Global Database failover, RDS cross-region read replica promotion, Elastic Disaster Recovery launch, pilot light DR strategy, warm standby DR, multi-site active active, AWS Backup cross-region restore, Lambda multi-region deploy, Step Functions failover orchestrator, Resilience Hub readiness assessment, RTO RPO analysis, S3 cross-region replication failover","Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). No AWS CLI required for offline plan authoring. Live deployment uses aws route53 change-resource-record-sets (failover record, health check), aws rds failover-global-cluster (Aurora Global), promote-read-replica (RDS cross-region), aws drs start-recovery (Elastic DRS), aws backup start-restore-job (cross-region restore), aws elasticloadbalancing modify-load-balancer-attributes (cross-zone), aws lambda...","main","eeace51bd5dd1db2030729d83eeab988861553aa","skills\u002Fdr-failover-automator",0,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills","https:\u002F\u002Fgithub.com\u002Fjhkchan","CTO & Co-Founder @Beever-AI  & @votee. CAISP. AWS Community Builder. Organizer@GDGCloudHK. MongoDB Champion. Technopreneur + Infornographer.","2026-09-24 08:54:10",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add jhkchan\u002Faws-agent-skills --skill dr-failover-automator",{"tool":58,"command":59},"bunx","bunx skills add jhkchan\u002Faws-agent-skills --skill dr-failover-automator",{"tool":61,"command":62},"pnpm","pnpm dlx skills add jhkchan\u002Faws-agent-skills --skill dr-failover-automator","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdr-failover-automator\u002FSKILL.md",true,[66,72,76,80,84,88,92,96,100,104,108,112,116,120,124,128,132,136,140,144],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"eval\u002Ftest-cases.yaml","REFERENCE","参考文档",8582,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdr-failover-automator\u002Feval\u002Ftest-cases.yaml",{"path":73,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":74,"sourceHtmlUrl":75},"evals\u002Fbaselines\u002Faurora-unplanned-failover.md",769,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdr-failover-automator\u002Fevals\u002Fbaselines\u002Faurora-unplanned-failover.md",{"path":77,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":78,"sourceHtmlUrl":79},"evals\u002Fbaselines\u002Fdrs-ec2-recovery.md",834,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdr-failover-automator\u002Fevals\u002Fbaselines\u002Fdrs-ec2-recovery.md",{"path":81,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":82,"sourceHtmlUrl":83},"evals\u002Fbaselines\u002Fno-verification-split-brain.md",804,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdr-failover-automator\u002Fevals\u002Fbaselines\u002Fno-verification-split-brain.md",{"path":85,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":86,"sourceHtmlUrl":87},"evals\u002Fbaselines\u002Fpilot-light-aurora-global.md",875,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdr-failover-automator\u002Fevals\u002Fbaselines\u002Fpilot-light-aurora-global.md",{"path":89,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":90,"sourceHtmlUrl":91},"evals\u002Fbaselines\u002Fwarm-standby-route53.md",854,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdr-failover-automator\u002Fevals\u002Fbaselines\u002Fwarm-standby-route53.md",{"path":93,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":94,"sourceHtmlUrl":95},"evals\u002Feval_config.yaml",1685,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdr-failover-automator\u002Fevals\u002Feval_config.yaml",{"path":97,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":98,"sourceHtmlUrl":99},"evals\u002Fevals.json",4345,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdr-failover-automator\u002Fevals\u002Fevals.json",{"path":101,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":102,"sourceHtmlUrl":103},"evals\u002Fprompts\u002Faurora-unplanned-failover.md",1821,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdr-failover-automator\u002Fevals\u002Fprompts\u002Faurora-unplanned-failover.md",{"path":105,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":106,"sourceHtmlUrl":107},"evals\u002Fprompts\u002Fdrs-ec2-recovery.md",1477,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdr-failover-automator\u002Fevals\u002Fprompts\u002Fdrs-ec2-recovery.md",{"path":109,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":110,"sourceHtmlUrl":111},"evals\u002Fprompts\u002Fno-verification-split-brain.md",1884,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdr-failover-automator\u002Fevals\u002Fprompts\u002Fno-verification-split-brain.md",{"path":113,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":114,"sourceHtmlUrl":115},"evals\u002Fprompts\u002Fpilot-light-aurora-global.md",1554,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdr-failover-automator\u002Fevals\u002Fprompts\u002Fpilot-light-aurora-global.md",{"path":117,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":118,"sourceHtmlUrl":119},"evals\u002Fprompts\u002Fwarm-standby-route53.md",1316,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdr-failover-automator\u002Fevals\u002Fprompts\u002Fwarm-standby-route53.md",{"path":121,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":122,"sourceHtmlUrl":123},"example\u002FREADME.md",4909,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdr-failover-automator\u002Fexample\u002FREADME.md",{"path":125,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":126,"sourceHtmlUrl":127},"references\u002Fadvanced-patterns.md",4382,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdr-failover-automator\u002Freferences\u002Fadvanced-patterns.md",{"path":129,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":130,"sourceHtmlUrl":131},"references\u002Fdiagnostic-commands.md",1658,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdr-failover-automator\u002Freferences\u002Fdiagnostic-commands.md",{"path":133,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":134,"sourceHtmlUrl":135},"references\u002Fdr-strategy-deep-dive.md",8792,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdr-failover-automator\u002Freferences\u002Fdr-strategy-deep-dive.md",{"path":137,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":138,"sourceHtmlUrl":139},"references\u002Ffailover-orchestration-patterns.md",12078,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdr-failover-automator\u002Freferences\u002Ffailover-orchestration-patterns.md",{"path":141,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":142,"sourceHtmlUrl":143},"references\u002Fworked-examples.md",1780,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdr-failover-automator\u002Freferences\u002Fworked-examples.md",{"path":145,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":146,"sourceHtmlUrl":147},"skill.usf.yaml",4618,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdr-failover-automator\u002Fskill.usf.yaml",[149,156,163,170,177,184],{"skillNo":150,"name":151,"nameZh":6,"description":152,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":153,"categories":154,"keywords":155,"publishedAt":19},"01M7ADVD60X4PCAPKSE58P9NDC","xray-tracing-deployer","Deploys AWS X-Ray distributed tracing with production-grade configuration: X-Ray daemon deployment (EC2 systemd, ECS sidecar, EKS DaemonSet, Lambda built-in), SDK instrumentation (Java, Python, Node.js, Go, .NET) with annotations and metadata, sampling rules (default reservoir + rate vs custom rules with URL \u002F method \u002F service-name predicates), service map generation, trace query and retrieval, groups and insights, CloudWatch ServiceLens integration, IAM permissions (PutTraceSegments, GetSamplingRules), and latest features (Lambda Powertools tracing, OpenTelemetry \u002F ADOT Collector support, W3C trace context). Emits a READY_TO_DEPLOY checklist with every configuration item verified. Use when enabling X-Ray on a new application, adding tracing to ECS \u002F EKS \u002F Lambda, validating a sampling configuration, or generating daemon deployment CLI and IaC templates. Triggers: X-Ray, distributed tracing, X-Ray daemon, sampling rules, service map, X-Ray SDK, OpenTelemetry, ADOT, Lambda Powertools, CloudWatch ServiceLens.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxray-tracing-deployer\u002FSKILL.md",[],[],{"skillNo":157,"name":158,"nameZh":6,"description":159,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":160,"categories":161,"keywords":162,"publishedAt":19},"01M7ADTVJ7DCBM9CB1FY51GH7J","wellarchitected-workload-auditor","Audits AWS Well-Architected Tool workloads for review staleness, per-pillar high-risk issue counts, milestone tracking gaps, and remediation plan completeness. Emits a deterministic verdict (STALE_REVIEW | HIGH_RISK | CONFIG_GAP | OK) per workload with per-pillar risk breakdown, milestone trend analysis, and specific remediation. Use when reviewing Well-Architected workloads, checking WA review freshness, auditing high-risk issues per pillar, validating milestone coverage, or tracking remediation plans.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwellarchitected-workload-auditor\u002FSKILL.md",[],[],{"skillNo":164,"name":165,"nameZh":6,"description":166,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":167,"categories":168,"keywords":169,"publishedAt":19},"01M7ADT59G6FTTNZYHT2QRPNNP","wellarchitected-review-operator","Operates AWS Well-Architected Tool reviews end-to-end — creates workloads, runs pillar reviews (operational excellence, security, reliability, performance, cost optimization, sustainability, Prosperity), answers questions with risk-tier rationale, generates reports and improvement plans, creates milestones, and integrates with Trusted Advisor and Well-Architected Labs. Runs deterministic pre-checks (workload existence, lens availability, pillar coverage), emits the exact update-answer \u002F get-consolidated-report CLI behind a CONFIRM gate, and verifies risk-tier transitions. Emits READY | BLOCKED | COMPLETED. Use when creating a workload, answering pillar questions, generating an improvement plan, creating a milestone, or integrating with Trusted Advisor. Triggers: well-architected tool, well architected review, workload review, pillar, operational excellence, security, reliability, performance, cost optimization, sustainability, prosperity, improvement plan, milestone, trusted advisor.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwellarchitected-review-operator\u002FSKILL.md",[],[],{"skillNo":171,"name":172,"nameZh":6,"description":173,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":174,"categories":175,"keywords":176,"publishedAt":19},"01M7ADSH5JA9QHNPPHQCD7EVA7","wafv2-web-acl-deployer","Provisions AWS WAFv2 Web ACLs with correct production defaults: scope selection (CLOUDFRONT vs REGIONAL), managed rule groups (AWSManagedRulesCommonRuleSet, SQLiRuleSet, LinuxRuleSet, WindowsRuleSet, IPReputationList, BotControlRuleSet, AmazonIpReputationList, ATP), custom rules (byte match, IP set, regex pattern, geo match, size constraint, rate-based), rule priority ordering, logging destinations (Kinesis Firehose, CloudWatch Logs, S3), resource association (ALB, API Gateway, CloudFront), rate-based rules with aggregate keys (IP, forwarded IP), Challenge and CAPTCHA actions, and account takeover prevention. Emits a READY_TO_DEPLOY checklist. Use when creating a Web ACL, attaching managed rules, configuring rate limiting, enabling WAF logging, associating a Web ACL with an ALB\u002FAPI Gateway\u002FCloudFront, or configuring CAPTCHA\u002FChallenge actions. Triggers: create WAF Web ACL, WAFv2, managed rule groups, WAF rate limiting, WAF logging, WAF CAPTCHA, WAF Challenge action, bot control, ATP managed rules.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwafv2-web-acl-deployer\u002FSKILL.md",[],[],{"skillNo":178,"name":179,"nameZh":6,"description":180,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":181,"categories":182,"keywords":183,"publishedAt":19},"01M7ADRYFAT8R73FBNCHRC573X","wafv2-web-acl-auditor","Audits AWS WAFv2 Web ACL configurations to determine whether the ACL provides effective protection: default-action posture (Allow vs Block), managed-rule-group coverage gaps, rule effectiveness (BLOCK vs COUNT, shadow\u002Fbypass rules, stale exclusions), rate-based rule correctness, logging and visibility configuration, and text-transformation bypass vectors. Emits a deterministic verdict per Web ACL. Use when reviewing a WAFv2 Web ACL for security posture, checking managed-rule coverage, validating rate-limit configuration, auditing WAF logging, or hardening a WAF before production deployment. Triggers: WAF, WAFv2, Web ACL, managed rule group, AWSManagedRules, rate-based rule, CAPTCHA, Challenge, OverrideAction, Count mode, forwarded IP, Bot Control, ATP, text transformation, WAF logging, WAF visibility, OWASP, SQLi, XSS, RFI.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwafv2-web-acl-auditor\u002FSKILL.md",[],[],{"skillNo":185,"name":186,"nameZh":6,"description":187,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":188,"categories":189,"keywords":190,"publishedAt":19},"01M7ADR8W7G72JX4KFGN03QK8Q","waf-rule-deployer","Provisions AWS WAFv2 rule sets with production defaults: Web ACL creation (CloudFront scope in us-east-1 vs Regional scope), rule groups (managed vs custom) with capacity planning in WCU (Web ACL Capacity Units, 1500 default per ACL), managed rule groups (AWSManagedRulesCommonRuleSet, AWSManagedRulesSQLiRuleSet, AWSManagedRulesAmazonIpReputationList, AWSManagedRulesLinuxRuleSet, AWSManagedRulesWindowsRuleSet, AWSManagedRulesUnixRuleSet), custom rules (byte-match, regex pattern set, geo-match, rate-based), IP set and regex pattern set resources, rule priority ordering (lowest number evaluated first), action types (allow, block, count, CAPTCHA, Challenge), bot control managed rule group, account takeover. Triggers: create WAF rule, WAF managed rule group, WAF custom rule, WAF byte match, WAF geo match, WAF rate based rule, WAF IP set, WAF regex pattern set, WAF WCU budget, WAF CloudFront ACL, WAF logging Kinesis Firehose, WAF bot control, WAF ATP, WAF label matching, WAF Challenge action, WAF CAPTCHA.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwaf-rule-deployer\u002FSKILL.md",[],[]]