
AWS Shield Advanced
OfficialFreeEnhance DDoS protection for your AWS resources.
Free · Opens the source repo
What AWS Shield Advanced does
AWS Shield Advanced is a specialized skill designed for configuring enhanced Distributed Denial of Service (DDoS) protection within the AWS ecosystem. This skill provides a comprehensive approach to safeguarding internet-facing resources such as CloudFront distributions, Application Load Balancers, and Elastic IP addresses. By subscribing to Shield Advanced, users gain access to automatic application layer mitigation, which utilizes AWS WAF for real-time defense against layer 7 attacks. Additionally, the skill facilitates health-based detection using Route 53 health checks, allowing for quicker responses to potential threats.
The skill acts as a routing tool, directing users to specific reference files that detail the procedures for various Shield Advanced tasks. Each reference file is self-contained, offering decision tables, constraints, and troubleshooting steps tailored to the task at hand. This structured approach ensures that users can effectively navigate the complexities of DDoS protection without missing critical steps. Tasks include subscribing to Shield Advanced, configuring health checks, enabling automatic mitigation, and engaging the Shield Response Team (SRT) for expert assistance during an attack.
AWS Shield Advanced is particularly beneficial for organizations that require robust DDoS protection and wish to minimize downtime and financial impact during an attack. It is essential for users who want to proactively manage their security posture and recover from attack-driven scaling charges. However, it is important to note that this skill does not cover the creation of AWS WAF rules or Route 53 health checks, which are handled by separate skills. Therefore, users should ensure they have the necessary skills in place for a complete DDoS protection strategy.
When to use it
Use this skill when you need to implement or manage AWS Shield Advanced for your internet-facing resources to ensure robust DDoS protection.
When not to use it
This skill is not suitable for creating AWS WAF rules or Route 53 health checks, which require separate skills.
What you can build with it
Configuring DDoS Protection for CloudFront
Set up AWS Shield Advanced to protect your CloudFront distributions from potential DDoS attacks, ensuring minimal downtime.
Engaging Shield Response Team During an Attack
Utilize the skill to quickly configure SRT support, allowing for expert assistance during a DDoS event.
Reviewing DDoS Events for Cost Recovery
Follow the skill's procedures to review DDoS events and request cost protection credits for scaling charges incurred during an attack.
How to install AWS Shield Advanced
View source1. Install with the skills CLI
npx skills add aws/agent-toolkit-for-aws/shieldadvanced --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by awsAWS 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 |
| Subscribe an account and add resources to protection | subscribing to Shield Advanced and protecting resources |
| Respond to layer 7 floods automatically through AWS WAF | enabling automatic application layer mitigation |
| Feed resource health into detection with a Route 53 health check | configuring health-based detection |
| Get the Shield Response Team to act or reach out during an attack | setting up SRT support and proactive engagement |
| Review a DDoS event and recover attack-driven scaling charges | reviewing DDoS events and requesting cost protection |
| Treat related resources as one unit for detection | aggregating resources into protection groups |
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
DDoSDetectedandDDoSAttackBitsPerSecond) 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.comassumes to act in the account. Scope its trust policy with anaws:SourceAccountcondition equal to the account ID to prevent confused-deputy assumption, grant it only the actions it needs, and revoke it withdisassociate-drt-rolewhen 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
Frequently asked questions about AWS Shield Advanced
Similar skills
GitHub Actions Hardening
Enhance the security of your GitHub Actions workflows.
Sensitive Logging Audit
Audit and fix sensitive data exposure in Python logging.
Android App Static Analysis
Automate security assessments of Android apps with MobSF.
Integrating DAST with OWASP ZAP
Seamlessly integrate dynamic security testing into CI/CD pipelines.
Implementing Runtime Security with Tetragon
Enhance Kubernetes security with eBPF-based observability.
Implementing Mobile Application Management
Secure enterprise data on mobile devices with app-level controls.
