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

shieldadvanced — скилл для Claude Code: что делает и как установить

Настраивает AWS Shield Advanced для защиты ресурсов от DDoS-атак и возврата средств за трафик. Пригодится при подключении CloudFront, балансировщиков или защите на уровне L7.

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

Что делает shieldadvanced

Скилл выступает маршрутизатором по процедурам настройки платной подписки AWS Shield Advanced. Он помогает защитить интернет-ресурсы: CloudFront, Elastic IP, Global Accelerator, зоны Route 53 и балансировщики ALB или NLB. Агент опирается на пошаговые руководства из каталога references/, подключает автоматическое реагирование на уровне L7 через AWS WAF и настраивает группы защиты. Группы защиты влияют только на обнаружение атак, но не применяют общие правила подавления.

Для вызовов скилл использует AWS MCP сервер либо консольный AWS CLI. Shield Advanced относится к глобальным сервисам, поэтому его API управления работает исключительно в us-east-1. К каждой команде aws shield обязательно добавляется параметр --region us-east-1. Без этого флага вызовы завершаются ошибкой.

Скилл связывает компоненты воедино. Сами правила WAF и проверки Route 53 он не создаёт. Подписка оформляется с обязательством на один год с автопродлением, поэтому включать её стоит осознанно. Для вызова команды SRT и проактивной поддержки критически важны заранее настроенные проверки доступности Route 53.

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

  • подключить AWS Shield Advanced для CloudFront и балансировщиков
  • настроить автоматическое подавление L7-атак через AWS WAF
  • привязать Route 53 health check для раннего обнаружения DDoS
  • оформить запрос на компенсацию расходов из-за масштабирования при атаке
  • объединить ресурсы в группы защиты для общей аналитики

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

  • Подключи AWS Shield Advanced к нашему CloudFront дистрибутиву
  • Настрой автоматическое подавление L7 атак через WAF для ALB
  • Как запросить компенсацию за скачок расходов после DDoS-атаки?

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

1Через Skills CLI (Vercel)

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

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

~/.claude/skills/shieldadvanced/SKILL.md

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

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

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

transitgateway Настраивает AWS Transit Gateway для объединения десятков VPC и локальных сетей в единый хаб. Помогает сегментировать трафик таблицами маршрутизации и направить его через Network Firewall. CX Codex +1 4 100установок migrating-to-amazon-redshift Набор инструкций для переноса хранилища данных из Teradata в Amazon Redshift. Помогает оценить сложность проекта, переписать DDL, процедуры и выгрузить данные. CX Codex +1 3 900установок resilience-program-design Скилл помогает спроектировать программу отказоустойчивости: уровни политик, цели доступности, RTO/RPO, DR-подходы и график проверок. CX Codex +1 3 900установок arc-region-switch Скилл объясняет агенту, как устроен ARC Region switch: планы, воркфлоу, блоки выполнения и переключение между регионами AWS. CX Codex +1 3 900установок recovery-controller-setup Настраивает AWS Application Recovery Controller: routing controls с safety rules для failover между регионами и zonal shift для восстановления после сбоя зоны доступности. CX Codex +1 3 900установок resilience-hub-multi-account Настраивает AWS Resilience Hub v2 для оценки устойчивости сервисов в нескольких аккаунтах AWS через cross-account роли IAM. CX Codex +1 3 800установок resilience-hub-failure-mode-assessment Скилл запускает и разбирает оценки режимов отказа в AWS Resilience Hub v2. Помогает расставить приоритеты находок и подготовить исправления. CX Codex +1 3 900установок aws-step-functions Пишет и правит определения AWS Step Functions на Amazon States Language: типы состояний, JSONata, Retry/Catch, Distributed Map. CX Codex +1 3 900установок

Похожие

aws-s3 devops-skills Шаблоны, политики и команды AWS CLI для развёртывания бакетов S3 с шифрованием KMS, репликацией и правилами жизненного цикла. CX Codex +1 345установок waf-setup devops-skills Скилл разворачивает и настраивает веб-прикладной файрвол: правила AWS WAF, Cloudflare и ModSecurity под защиту от атак из OWASP Top 10. CX Codex +1 366установок vercel-firewall официальный Vercel Labs Скилл ведёт агента по настройке Vercel Firewall: кастомные правила WAF, блокировка IP, rate limiting, Attack Mode и CLI vercel firewall. CX Codex GP ChatGPT 12установок analyzing-cloud-storage-access-patterns mahipal Скилл читает логи обращений к S3, GCS и Azure Blob и показывает, где поведение выбивается из обычного: ночные выгрузки, новые IP, всплески GetObject. CX Codex +1 562установок private-connectivity grafana Настраивает приватное подключение к Grafana Cloud через AWS PrivateLink, Azure Private Link, GCP Private Service Connect и PDC. Пригодится, когда телеметрия не должна идти через публичный интернет. CX Codex +1 4 100установок pulumi-esc pulumi Скилл учит ИИ настраивать окружения, секреты и OIDC-авторизацию в Pulumi ESC. Помогает собирать YAML-манифесты и связывать их со стеками Pulumi. CX Codex +1 1 400установок

Вопросы о shieldadvanced

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

Выполните команду npx skills add aws/agent-toolkit-for-aws --skill shieldadvanced -a claude-code. Файл навыка сохранится в ~/.claude/skills/shieldadvanced/SKILL.md.

Что делает скилл shieldadvanced?

Он направляет агента по шагам настройки AWS Shield Advanced: активация подписки, защита ресурсов, подключение автоматической защиты WAF, настройка SRT и возврат средств за скачки трафика.

Почему для команд AWS CLI требуется регион us-east-1?

Управляющий API сервиса Shield Advanced размещён в us-east-1. Поэтому ко всем командам aws shield необходимо передавать флаг --region us-east-1.

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

SKILL.md · Apache-2.0
---
name: shieldadvanced
description: >-
  Configures AWS Shield Advanced for enhanced Distributed Denial of Service (DDoS) protection:
  subscribing accounts and adding resource protections, enabling automatic application layer (layer 7)
  mitigation through AWS WAF, configuring health-based detection with Route 53 health checks, setting
  up Shield Response Team (SRT) access and proactive engagement, reviewing DDoS events and requesting
  cost protection credits, and aggregating resources into protection groups. Applicable when the user
  wants stronger DDoS protection for internet-facing resources (CloudFront, Application or Network
  Load Balancers, Elastic IP addresses, Global Accelerator, or Route 53 hosted zones), wants expert
  help during an attack, or wants to recover attack-driven scaling charges. Routes to the right
  per-task procedure in references. Not applicable for authoring AWS WAF rules (waf skill), creating
  Route 53 health checks (route53 skill), or org-wide Shield Advanced rollout with Firewall Manager
  (firewallmanager skill).
version: 1
---

# AWS Shield Advanced

## Overview

Domain expertise for configuring AWS Shield Advanced, the paid tier that adds enhanced Distributed
Denial of Service (DDoS) protection, automatic application layer mitigation, attack visibility, expert support, and
cost protection on top of the always-on AWS Shield Standard. Covers subscribing and protecting
resources, automatic application layer mitigation, health-based detection, Shield Response Team
(SRT) access and proactive engagement, event review and cost protection credits, and protection
groups.

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. Shield Advanced is a global service: its
control-plane API calls run in `us-east-1`, so pass `--region us-east-1` on every `aws shield`
command.

## Which Shield Advanced task do you need?

| Goal | Reference |
| --- | --- |
| Decide whether Shield Advanced is needed at all (vs Shield Standard + AWS WAF) | [deciding between Shield Standard and Advanced](references/deciding-between-shield-standard-and-advanced.md) |
| Subscribe an account and add resources to protection | [subscribing to Shield Advanced and protecting resources](references/subscribing-to-shield-advanced-and-protecting-resources.md) |
| Respond to layer 7 floods automatically through AWS WAF | [enabling automatic application layer mitigation](references/enabling-automatic-application-layer-mitigation.md) |
| Feed resource health into detection with a Route 53 health check | [configuring health-based detection](references/configuring-health-based-detection.md) |
| Get the Shield Response Team to act or reach out during an attack | [setting up SRT support and proactive engagement](references/setting-up-srt-support-and-proactive-engagement.md) |
| Review a DDoS event and recover attack-driven scaling charges | [reviewing DDoS events and requesting cost protection](references/reviewing-ddos-events-and-requesting-cost-protection.md) |
| Treat related resources as one unit for detection | [aggregating resources into protection groups](references/aggregating-resources-into-protection-groups.md) |

## Routing notes

- **Decide before you subscribe.** Shield Advanced is a paid subscription that auto-renews on a
  one-year commitment. Before subscribing, confirm the customer actually needs it: Shield Standard
  (free, always on) plus AWS WAF rate-based rules and the AWS WAF Anti-DDoS managed rule group
  (`AWSManagedRulesAntiDDoSRuleSet`) covers many layer 7 cases at lower cost. Route to the deciding
  reference first when the customer has not made that call; route to the waf skill for the WAF rules
  themselves.
- **Subscribe and protect comes first.** A subscription protects nothing on its own; resources have
  to be added explicitly. Every other task here assumes the resource is already subscribed and
  protected. Run the subscribing reference before any of the others if the customer is starting
  from scratch.
- **Automatic mitigation vs health-based detection.** These are different controls and customers
  conflate them. Automatic application layer mitigation deploys AWS WAF rules during a layer 7
  attack. Health-based detection feeds a Route 53 health check into Shield Advanced's detection so it
  reacts sooner. A customer can run either, both, or neither. Pick the reference that matches what they
  actually want.
- **Health check is also an SRT prerequisite.** Proactive engagement (SRT reaching out) requires a
  Route 53 health check on the protected resource. If the customer wants proactive engagement,
  configuring health-based detection is the groundwork. The SRT reference points back to the
  health-based detection reference for that step.
- **Protection groups are detection-only.** A protection group changes how Shield Advanced detects
  across a set of resources. It does not apply shared mitigation; automatic mitigation still works per
  resource. Use the protection-groups reference for detection tuning, not as a mitigation control.
- **WAF rules, health checks, and org rollout live elsewhere.** Authoring the AWS WAF rules, the
  rate-based rule, or the web ACL is the waf skill. Creating the Route 53 health check is the
  route53 skill. Rolling Shield Advanced across an organization with Firewall Manager is the
  firewallmanager skill. This skill wires Shield Advanced to those pieces; it does not build them.
  AWS WAF is not optional alongside Shield Advanced: you SHOULD recommend an AWS WAF web ACL on
  every internet-facing protected resource (CloudFront distributions and Application Load Balancers)
  as defense in depth — Shield Advanced and AWS WAF are complementary layer 3/4 and layer 7
  controls, and the rate-based rule that AWS WAF provides is also what cost protection requires.

## Logging and monitoring

Visibility into both configuration changes and attack activity matters for every task here.

- You SHOULD recommend enabling AWS CloudTrail so all Shield Advanced API calls (subscription,
  protection, SRT, and protection-group changes) are logged for audit purposes.
- You SHOULD recommend enabling SSE-KMS encryption on the CloudTrail log bucket and CloudWatch Logs
  log group, since CloudTrail records sensitive API metadata (caller identities, resource ARNs,
  parameters) that must be encrypted at rest.
- You SHOULD recommend CloudWatch alarms on Shield Advanced metrics (for example `DDoSDetected` and
  `DDoSAttackBitsPerSecond`) so operations staff are alerted when an event is detected.
- You SHOULD recommend encrypting any SNS topics used for those alarms with SSE-KMS, since the
  notifications carry sensitive event data.
- You SHOULD recommend confirming that all SNS topic subscribers for Shield Advanced alarms are
  authorized personnel approved to receive sensitive DDoS event notifications.

## Security considerations

Shield Advanced setup creates IAM trust relationships and exposes log data, so call out the risks
and the controls that contain them.

- **SRT role is a third-party principal.** Granting SRT access creates an IAM role that
  `drt.shield.amazonaws.com` assumes to act in the account. Scope its trust policy with an
  `aws:SourceAccount` condition equal to the account ID to prevent confused-deputy assumption, grant
  it only the actions it needs, and revoke it with `disassociate-drt-role` when no longer required.
- **Log buckets shared with the SRT can leak data.** AWS WAF and access logs capture request URIs,
  headers, and client IPs. Confirm those buckets have server-side encryption and carry no clear-text
  PII or secrets before sharing them with the SRT.
- **Least privilege for the operator.** Scope the caller's IAM permissions to the minimum each
  procedure needs rather than broad Shield or administrator access.
- **Audit trail.** Keep AWS CloudTrail enabled and logging `shield:*` calls so every configuration
  change leaves a record.

## Additional Resources

- [AWS Shield Advanced overview (AWS WAF, AWS Firewall Manager, and AWS Shield Advanced Developer Guide)](https://docs.aws.amazon.com/waf/latest/developerguide/ddos-overview.html)
- [How AWS Shield works (AWS WAF, AWS Firewall Manager, and AWS Shield Advanced Developer Guide)](https://docs.aws.amazon.com/waf/latest/developerguide/ddos-how-shield-works.html)
- [AWS Shield Advanced pricing](https://aws.amazon.com/shield/pricing/)

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

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

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

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