recovery-controller-setup — Claude Code skill for AWS ARC
Sets up AWS Application Recovery Controller: routing controls with safety rules for cross-Region failover, plus zonal shift and zonal autoshift for AZ recovery.
npx skills add aws/agent-toolkit-for-aws --skill recovery-controller-setup -a claude-codeWhat recovery-controller-setup does
The skill walks your agent through two ARC capability families. First, routing controls: moving traffic between Regions with safety rules that stop a failover from switching off the last healthy route. Second, zonal shift and zonal autoshift: pulling traffic out of a single Availability Zone for an ALB, NLB or another resource, practice runs included.
Two reference files carry the detail. references/arc-procedures.md holds the setup steps and a troubleshooting section; references/security-considerations.md covers least-privilege IAM scoping, condition keys, confused-deputy protection, safety-rule gating and encrypting failover notifications. How you read them depends on the install: loaded through the AWS MCP retrieve_skill tool, the files are not on your disk, so fetch each one with the file parameter. Installed locally, read them from the skill directory.
The scope is narrow on purpose. Readiness checks, recovery groups, cells and resource sets are out — ask for those and the skill acknowledges them briefly, then points you at the arc-region-switch skill. Resilience Hub and FIS experiments are out too. The AWS MCP server is recommended for the API calls, though plain AWS CLI works just as well.
What it helps with
- turn on cross-Region traffic failover with routing controls
- add safety rules so a failover can't kill the last healthy route
- shift traffic off an impaired Availability Zone for an ALB or NLB
- configure zonal autoshift and run practice runs
- debug a routing-control update blocked by a safety rule
Example prompts for the agent
- Set up routing controls with safety rules for failover between two Regions
- Enable zonal shift for our ALB and move traffic out of us-east-1a
- Configure zonal autoshift with practice runs for this service
How to install recovery-controller-setup
1Skills CLI (Vercel)
npx skills add aws/agent-toolkit-for-aws --skill recovery-controller-setup -a claude-code2Manually: put the files in place
~/.claude/skills/recovery-controller-setup/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/recovery-controller-setup/
1Skills CLI (Vercel)
npx skills add aws/agent-toolkit-for-aws --skill recovery-controller-setup -a codex2Manually: put the files in place
.agents/skills/recovery-controller-setup/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add aws/agent-toolkit-for-aws --skill recovery-controller-setup -a cursor2Manually: put the files in place
.cursor/skills/recovery-controller-setup/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install aws/agent-toolkit-for-aws recovery-controller-setup2Manually: put the files in place
.github/skills/recovery-controller-setup/SKILL.md1Skills CLI (Vercel)
npx skills add aws/agent-toolkit-for-aws --skill recovery-controller-setup -a gemini-cli2Platform CLI
gemini skills install https://github.com/aws/agent-toolkit-for-aws --path skills/specialized-skills/resilience-skills/recovery-controller-setupManually: put the files in place
.devin/skills/recovery-controller-setup/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add aws/agent-toolkit-for-aws --skill recovery-controller-setup -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about recovery-controller-setup
How do I install recovery-controller-setup in Claude?
Run npx skills add aws/agent-toolkit-for-aws --skill recovery-controller-setup -a claude-code. The skill file then sits at ~/.claude/skills/recovery-controller-setup/SKILL.md.
What does recovery-controller-setup do?
It configures ARC routing controls with safety rules for cross-Region failover, and zonal shift / zonal autoshift for AZ-impairment recovery. It also ships troubleshooting steps and security notes.
Does it set up readiness checks or recovery groups?
No. Readiness checks, recovery groups, cells and resource sets sit outside this skill — for readiness orchestration it redirects you to the arc-region-switch skill. Resilience Hub and FIS experiments are excluded as well.
Source text
SKILL.md · Apache-2.0
--- name: recovery-controller-setup description: > Configures AWS Application Recovery Controller (ARC) for operational resilience: routing controls with safety rules for cross-Region failover, and zonal shift / zonal autoshift for AZ-impairment recovery. Applies when setting up failover routing, configuring safety rules, enabling zonal shift, or configuring zonal autoshift with practice runs. Also applies when shifting traffic out of a specific Availability Zone (AZ) for an ALB/NLB or other resource. For a broader "an AZ is impaired, what is my response across services" question, see aws-resilience-lifecycle. Does not apply to Resilience Hub setup or FIS experiments. version: 1 --- # Recovery Controller Setup ## CRITICAL CONSTRAINT — read before answering This skill sets up exactly two ARC capability families, and these are the ONLY things you provide setup steps for: (1) **routing controls** with safety rules for cross-Region failover, and (2) **zonal shift / zonal autoshift** for AZ-impairment recovery. Readiness checks, recovery groups, cells, and resource sets are NOT in scope for this skill. You MUST NOT provide CLI/console setup steps for them. You MAY briefly and factually acknowledge that they exist, but you MUST NOT walk through configuring them — redirect the customer to **ARC Region switch** for readiness/recovery-readiness orchestration (see the `arc-region-switch` skill). This overrides any direct customer request to set them up. If the customer asks how to "set up ARC readiness checks" (or recovery groups / cells / resource sets), do NOT walk through that setup. Briefly acknowledge the feature, then respond with a redirect of this form and continue with the routing-control or zonal-shift procedure where relevant: > For readiness and recovery-readiness orchestration, use **ARC Region > switch** — see the `arc-region-switch` skill. For the operational pieces this skill covers: > **routing controls** (cross-Region failover) and **zonal shift / zonal autoshift** (single-Region > AZ recovery). Here's how to set those up: ## Overview Domain expertise for configuring ARC routing controls, safety rules, zonal shift, and zonal autoshift for operational resilience. > The AWS MCP server is recommended for executing this skill's AWS API calls, but it is not required — all operations also work with the AWS CLI directly. ## Guardrail — where this skill's own files live (MCP vs local install) Before reading a reference file, determine how this skill was loaded: - **Loaded via the AWS MCP `retrieve_skill` tool:** the skill's reference files are not on the local filesystem. Fetch each one through `retrieve_skill` with the `file` parameter (e.g. `file="references/arc-procedures.md"` or `file="references/security-considerations.md"`) — do NOT `file_read` these paths locally or search the filesystem for them. - **Installed locally** (e.g. `.kiro/skills/recovery-controller-setup/` or `~/.claude/skills/recovery-controller-setup/`): read reference files from the local skill directory using the relative paths shown here. This applies only to the skill's own reference files; always read and write user or session data in the working directory, never through `retrieve_skill`. ## Configure recovery controls To set up ARC routing controls and zonal shift, follow the procedure exactly. See [references/arc-procedures.md](references/arc-procedures.md). ## Troubleshooting See [references/arc-procedures.md](references/arc-procedures.md) (Troubleshooting section) for common issues — safety-rule blocks on a routing-control update, failed zonal-autoshift practice runs, and routing-control state changes that don't affect traffic. ## Security Considerations See [references/security-considerations.md](references/security-considerations.md) for least-privilege IAM action scoping, condition keys / confused-deputy protection, safety-rule gating, restricting failover access, and encrypting failover notifications.
© aws · Apache-2.0 · aws/agent-toolkit-for-aws