К основному содержанию
скилл CX Codex

route53 — скилл для Claude Code и Codex: DNS в AWS из чата

Скилл для работы с Amazon Route 53: агент сам разбирается, какая процедура нужна, и ведёт по шагам. Пригодится, когда надо завести запись, разрулить трафик или закрыть домены.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add aws/agent-toolkit-for-aws --skill route53 -a claude-code
Открыть на GitHub

Что делает route53

Скилл работает как маршрутизатор. Он смотрит на задачу и открывает нужный файл в references/: запись в публичной зоне, взвешенная маршрутизация для канареек и A/B, failover между регионами, health check, DNS Firewall, профили Route 53, VPC Resolver для гибридных сетей и Outposts, Global Resolver. Каждый такой файл самодостаточный — со своими таблицами решений, ограничениями и разбором ошибок.

Команды выполняются через AWS MCP-сервер, если он подключён: так их видно в аудите и наблюдении. Без него остаётся AWS CLI. Вызовы Route 53 Domains API всегда идут в us-east-1, где бы ни работал пользователь. Настройка CloudFront сюда не входит — для неё есть отдельный скилл route53-cloudfront.

В скилле зашиты требования по безопасности, и они жёсткие. Учётные данные — только через IAM-роли, лучше с правами на чтение для осмотра. Правила security group на порту 53 нужно ограничивать CIDR офиса или известными IP DNS-серверов, а не 0.0.0.0/0. Логи запросов и уведомления health check шифруются в месте хранения. Токен доступа Global Resolver, выданный при создании, держат в AWS Secrets Manager, потому что по нему видно топологию.

Какие задачи решает

  • направить имя хоста на IP или ресурс AWS
  • разделить трафик между двумя версиями сервиса по весам
  • переключить трафик в другой регион при аварии
  • закрыть вредоносные домены на уровне резолвера VPC
  • настроить разрешение приватных имён между офисом и облаком

Примеры запросов агенту

  • Создай публичную A-запись api.example.org на балансировщик в us-east-1
  • Разведи трафик между старым и новым стендом по весам 90 и 10
  • Подними health check на эндпоинт и завяжи на него failover

Как установить route53

1Через Skills CLI (Vercel)

npx skills add aws/agent-toolkit-for-aws --skill route53 -a claude-code

2Вручную: положить файлы

~/.claude/skills/route53/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/route53/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Из того же набора133

sitetositevpn Скилл проводит агента по настройке AWS Site-to-Site VPN: выбор шлюза, маршрутизации, полосы туннеля и разбор упавшего туннеля. CX Codex +1 4 600установок aws-auth Добавляет аутентификацию пользователей через Amazon Cognito в веб- и мобильные приложения. Пригодится для входа, MFA, OAuth и защиты API. CX Codex +1 4 500установок timestream-influxdb Скилл помогает развернуть Amazon Timestream for InfluxDB, выбрать между V2 и V3, настроить параметры сети и проверить ключи KMS. CX Codex +1 4 300установок waf Скилл для настройки AWS WAF: web ACL, управляемые правила, Bot Control, защита логинов и регистраций. Полезен, когда нужно закрыть приложение или API на уровне L7. CX Codex +1 4 300установок aws-security Скилл помогает разобрать покрытие сервисов безопасности AWS, настройки сетевых экранов и находки GuardDuty. Работает строго в режиме чтения через локальный AWS CLI или AWS MCP. CX Codex +1 4 300установок directconnect Настраивает AWS Direct Connect: соединения, виртуальные интерфейсы, BGP, шифрование и отказоустойчивость. Нужен для частного канала между площадкой и AWS. CX Codex +1 4 000установок aws-resilience-lifecycle Ведёт агента по циклу Define → Test → Operate в AWS: от политики Resilience Hub v2 до экспериментов FIS и контролов ARC. CX Codex +1 4 100установок transitgateway Настраивает AWS Transit Gateway для объединения десятков VPC и локальных сетей в единый хаб. Помогает сегментировать трафик таблицами маршрутизации и направить его через Network Firewall. CX Codex +1 4 100установок

Похожие

caveman-manage JuliusBrussee Проверяет состояние и результаты экспериментов Caveman Cloud, предлагает одно действие или блокирует рискованный запрос. Нужен перед запуском, одобрением, отменой или откатом. CX Codex +1 104 200установок workers-best-practices cloudflare Скилл настраивает ИИ на проверку продакшен-кода Cloudflare Workers по актуальным правилам рантайма, типам Wrangler и антипаттернам. CX Codex +1 126 100установок cloudflare-email-service cloudflare Скилл для работы с Cloudflare Email Sending и Email Routing: помогает настроить отправку и приём писем в Workers. CX Codex +1 102 300установок firebase-basics официальный google Скилл настраивает Firebase CLI, помогает войти в аккаунт, создать или выбрать проект и скачать конфигурацию Android или iOS. CX Codex 14 100установок cloudflare-one cloudflare Помогает агенту проектировать, настраивать и разбирать развёртывания Cloudflare One Zero Trust и SASE. Пригодится, когда нужно спланировать Access, Gateway или туннели без похода в документацию вручную. CX Codex +1 93 100установок cloudflare-one-migrations cloudflare Помогает спланировать переход с VPN, SWG или SASE на Cloudflare One: сопоставляет политики, находит пробелы и расписывает порядок выката. CX Codex +1 89 500установок

Вопросы о route53

Как установить route53 в Claude Code?

Выполните npx skills add aws/agent-toolkit-for-aws --skill route53 -a claude-code. После этого скилл лежит в ~/.claude/skills/route53/SKILL.md.

Что делает route53?

Подбирает нужную процедуру для задачи в Amazon Route 53 и ведёт агента по её шагам: записи, маршрутизация, health check, DNS Firewall, профили, VPC Resolver.

Нужен ли AWS MCP-сервер?

Без него скилл работает через AWS CLI. С подключённым MCP-сервером команды идут через него — с песочницей и журналом вызовов.

Исходный текст

SKILL.md · Apache-2.0
---
name: route53
description: >-
  Configures Amazon Route 53 DNS: public and private records, traffic-steering routing policies,
  health checks, DNS Firewall, Route 53 Profiles, VPC Resolver (also known as Route 53 Resolver) for
  hybrid and Outposts networks, and Global Resolver. Applicable when the customer wants to point a
  hostname at a target, split or fail over traffic across endpoints, monitor an endpoint, block
  malicious domains, centralize DNS across accounts, or resolve private DNS across a hybrid network.
  Routes to the right per-task procedure in references. Does not cover CloudFront-specific setup (see
  the route53-cloudfront skill) or non-DNS networking.
version: 1
---

# Amazon Route 53

## Overview

Domain expertise for configuring Amazon Route 53 DNS across the public and private resolution
paths: hosted zone records, traffic-steering routing policies, health checks, DNS Firewall,
Route 53 Profiles, VPC Resolver (also known as Route 53 Resolver) for hybrid and Outposts networks,
and Global Resolver.

This skill is a router. Each customer task maps to a procedure file under `references/`. Read the
matching reference in full before acting, then follow its constraints and steps. The reference
files are self-contained: each carries its own decision tables, constraints, procedure, and
troubleshooting.

Execute commands using the AWS MCP server when connected (sandboxed execution, audit logging,
observability). Fall back to the AWS CLI otherwise. All Route 53 Domains API calls are made in
`us-east-1` regardless of where the customer works.

## Which Route 53 task do you need?

| Goal | Reference |
| --- | --- |
| Point a hostname or zone apex at an IP, AWS resource, or hostname | [creating a public DNS record](references/creating-a-public-dns-record.md) |
| Split traffic across endpoints in a ratio (blue/green, canary, A/B) | [splitting traffic with weighted routing](references/splitting-traffic-with-weighted-routing.md) |
| Fail over between two Regions for disaster recovery | [configuring failover routing](references/configuring-failover-routing.md) |
| Monitor whether an endpoint is up and get alerted | [setting up a health check](references/setting-up-a-route53-health-check.md) |
| Block malicious domains for a VPC at the resolver | [blocking malicious domains](references/blocking-malicious-domains.md) |
| Work out which DNS Firewall rule wins for a domain across multiple rule groups | [identifying the effective DNS Firewall rule](references/identifying-the-effective-dns-firewall-rule.md) |
| Apply one DNS config across many VPCs and accounts | [configuring Route 53 Profiles](references/configuring-route53-profiles.md) |
| Fan DNS Firewall out across many accounts org-wide | [centralizing DNS Firewall with Profiles](references/centralizing-dns-firewall.md) |
| Resolve private DNS both ways across a hybrid network | [resolving private DNS for hybrid networks](references/resolving-private-dns-for-hybrid-networks.md) |
| Run VPC Resolver locally on an AWS Outposts rack | [running VPC Resolver on Outposts](references/running-route53-resolver-on-outposts.md) |
| Give on-premises and remote clients one anycast DNS endpoint | [setting up Global Resolver](references/setting-up-route53-global-resolver.md) |

## Routing notes

- **Records vs routing policies.** A plain hostname-to-target mapping is the public DNS record
  task. Splitting or steering traffic (weighted, failover) is a separate routing-policy task with
  its own reference. Start from the customer's intent, not the record type.
- **Health checks vs failover.** A health check monitors an endpoint and raises alarms. The
  failover routing policy decides where traffic goes when a check fails. They are two references
  and are often used together: set up the health check, then wire it into failover.
- **DNS Firewall for one VPC vs many accounts.** Authoring rules for a VPC is the blocking
  reference. Fanning the same protection across accounts with Profiles and Firewall Manager is the
  centralizing reference.
- **DNS Firewall authoring vs diagnosis.** Creating or changing rules is the blocking reference.
  Working out which rule already wins for a domain when several rule groups are associated (a read
  and diagnostic task) is the identifying-the-effective-rule reference.
- **Profiles, two entry points.** General Profile setup (attach resources, share via RAM, cost
  and visibility tradeoffs) is the configuring-Profiles reference. Using Profiles specifically to
  scale DNS Firewall org-wide is the centralizing reference.
- **VPC Resolver, three contexts.** In-Region hybrid resolution, the Outposts-local resolver, and
  the Global Resolver anycast endpoint are three separate references. Match the reference to where
  the resolver runs.

## Cross-service work

Pointing a custom domain at a CloudFront distribution, or failing over between CloudFront
distributions, is cross-service work owned by the separate `route53-cloudfront` skill. Use this
skill for the Route 53 side of pure-Route 53 tasks only.

## Security Considerations

These apply across the Route 53 tasks below; each reference repeats the ones load-bearing for its
workflow.

- You SHOULD use least-privilege IAM credentials provisioned through IAM roles (instance profiles,
  SSO/IAM Identity Center session credentials, or `aws sts assume-role`) rather than long-lived IAM
  user access keys, and prefer read-only credentials for inspection steps.
- You SHOULD recommend encrypted DNS transport (DoT or DoH) over plaintext Do53 for resolver client
  populations, since Do53 exposes queried domain names to on-path observers.
- You MUST scope resolver-endpoint security group rules on port 53 to the on-premises CIDR ranges or
  known DNS server IPs, never `0.0.0.0/0`.
- You MUST encrypt query log and notification destinations at rest: KMS on CloudWatch Logs log
  groups, SSE-S3/SSE-KMS on S3 buckets, server-side encryption (SSE) on a Data Firehose stream, and
  SSE on SNS topics, because DNS query logs and health-check notifications can reveal infrastructure
  topology.
- For Global Resolver, you MUST treat access-token `value` returned at create time as a secret;
  store it in AWS Secrets Manager rather than in plaintext, and validate which client populations
  each DNS view authorizes.

## Additional Resources

- [Amazon Route 53 Developer Guide](https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/Welcome.html)
- [Amazon Route 53 product page](https://aws.amazon.com/route53/)
- [Route 53 pricing](https://aws.amazon.com/route53/pricing/)

© aws · Apache-2.0 · aws/agent-toolkit-for-aws

Смотрите также

Спонсоры проекта

Компании, которые помогают держать аналитику открытой