recovery-controller-setup — скилл для Claude Code: ARC и zonal shift
Настраивает AWS Application Recovery Controller: routing controls с safety rules для failover между регионами и zonal shift для восстановления после сбоя зоны доступности.
npx skills add aws/agent-toolkit-for-aws --skill recovery-controller-setup -a claude-codeЧто делает recovery-controller-setup
Скилл ведёт агента по двум семействам возможностей ARC. Первое — routing controls: переключение трафика между регионами с safety rules, которые не дают выключить последний рабочий маршрут. Второе — zonal shift и zonal autoshift: вывод трафика из конкретной зоны доступности для ALB, NLB и других ресурсов, включая practice runs.
Внутри — процедура настройки и два справочных файла: references/arc-procedures.md с шагами и разделом troubleshooting и references/security-considerations.md про least-privilege IAM, condition keys, защиту от confused deputy и шифрование уведомлений о failover. Если скилл загружен через retrieve_skill в AWS MCP-сервере, справочники лежат не на диске: их тянут тем же инструментом с параметром file. При локальной установке файлы читаются из каталога скилла.
Границы жёсткие. Readiness checks, recovery groups, cells и resource sets скилл не настраивает — на прямой запрос он коротко подтвердит, что такие возможности есть, и перенаправит к скиллу arc-region-switch. Это стоит держать в голове, если вы пришли именно за readiness-проверками: получите отказ и ссылку на другой скилл. Resilience Hub и эксперименты FIS тоже вне области. AWS MCP-сервер рекомендуется для вызовов API, но не обязателен — с AWS CLI всё работает напрямую.
Какие задачи решает
- включить переключение трафика между регионами через routing controls
- задать safety rules, чтобы failover не отключил последний рабочий маршрут
- вывести трафик из сбойной зоны доступности для ALB или NLB
- настроить zonal autoshift и прогнать practice runs
- разобраться, почему обновление routing control блокирует safety rule
Примеры запросов агенту
- Настрой routing controls с safety rules для failover между двумя регионами
- Включи zonal shift для ALB и убери трафик из зоны us-east-1a
- Сконфигурируй zonal autoshift с practice runs для нашего сервиса
Как установить recovery-controller-setup
1Через Skills CLI (Vercel)
npx skills add aws/agent-toolkit-for-aws --skill recovery-controller-setup -a claude-code2Вручную: положить файлы
~/.claude/skills/recovery-controller-setup/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/recovery-controller-setup/
1Через Skills CLI (Vercel)
npx skills add aws/agent-toolkit-for-aws --skill recovery-controller-setup -a codex2Вручную: положить файлы
.agents/skills/recovery-controller-setup/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add aws/agent-toolkit-for-aws --skill recovery-controller-setup -a cursor2Вручную: положить файлы
.cursor/skills/recovery-controller-setup/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install aws/agent-toolkit-for-aws recovery-controller-setup2Вручную: положить файлы
.github/skills/recovery-controller-setup/SKILL.md1Через Skills CLI (Vercel)
npx skills add aws/agent-toolkit-for-aws --skill recovery-controller-setup -a gemini-cli2Командой платформы
gemini skills install https://github.com/aws/agent-toolkit-for-aws --path skills/specialized-skills/resilience-skills/recovery-controller-setupВручную: положить файлы
.devin/skills/recovery-controller-setup/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add aws/agent-toolkit-for-aws --skill recovery-controller-setup -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о recovery-controller-setup
Как установить recovery-controller-setup в Claude?
Выполните npx skills add aws/agent-toolkit-for-aws --skill recovery-controller-setup -a claude-code. После этого файл скилла появится по пути ~/.claude/skills/recovery-controller-setup/SKILL.md.
Что делает recovery-controller-setup?
Проводит настройку ARC routing controls с safety rules для cross-Region failover и zonal shift / zonal autoshift для вывода трафика из зоны доступности. Внутри есть процедура, troubleshooting и заметки по безопасности.
Настраивает ли скилл readiness checks и recovery groups?
Нет. Readiness checks, recovery groups, cells и resource sets вне области этого скилла — за оркестрацией readiness он отправляет к скиллу arc-region-switch. Resilience Hub и эксперименты FIS тоже не входят.
Исходный текст
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