Shieldadvanced
AWSOfficialPublished by AWS
- Skill
- Tool integration
- Cloud and DevOps
- Apache-2.0
- No issues found
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
This skill provides domain expertise and procedural guidance for managing AWS Shield Advanced, the premium tier for DDoS protection on AWS. It acts as a central router to specific, self-contained reference procedures for subscribing accounts, protecting resources, enabling automatic application-layer mitigation, configuring health-based detection, managing Shield Response Team (SRT) support, reviewing DDoS events, and creating protection groups. The skill emphasizes the importance of defense-in-depth by integrating with AWS WAF and Route 53, while providing necessary security considerations for IAM roles and log management.
What it does
- Routes users to specific procedures for Shield Advanced configuration tasks.
- Guides the subscription process and addition of resources to Shield Advanced protection.
- Facilitates the setup of automatic layer 7 mitigation via AWS WAF integration.
- Configures health-based detection using Route 53 health checks to improve attack detection accuracy.
- Manages Shield Response Team (SRT) access and proactive engagement settings.
- Assists in reviewing DDoS events and requesting cost protection credits.
When to use it
- When you need to implement enhanced DDoS protection for internet-facing resources like CloudFront or ALBs.
- When you require expert assistance from the Shield Response Team during an active attack.
- When you need to recover costs associated with attack-driven scaling.
- When you want to tune detection sensitivity by grouping related resources.
- When you need to integrate health-based detection to reduce false positives.
Advantages
- Provides a structured, task-based approach to complex security configurations.
- Ensures security best practices by mandating audit logging and least-privilege access.
- Clarifies the distinction between detection-only features and active mitigation controls.
- Reduces configuration errors by providing specific constraints for each task.
- Centralizes guidance for both operational setup and post-event analysis.
Usage examples
- “How do I subscribe my AWS account to Shield Advanced?”
- The agent will route you to the specific reference procedure for subscribing and protecting resources, ensuring you follow the correct sequence of operations.
- “I want the Shield Response Team to help me during an attack.”
- The agent will guide you through setting up SRT support and proactive engagement, including the prerequisite of configuring a valid Route 53 health check.
- “How can I group my load balancers for better DDoS detection?”
- The agent will provide the procedure for creating a protection group and help you decide between sum, mean, or max aggregation based on your traffic topology.
- “Can I use Shield Advanced to automatically block layer 7 floods?”
- The agent will direct you to the procedure for enabling automatic application layer mitigation, which involves configuring AWS WAF rules to respond to detected threats.
Install
Download the skill as a ZIP:
https://autogineer.com/agent-skills/aws/shieldadvanced/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip shieldadvanced.zip -d .agents/skills
Documentation by AWS
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 |
| 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
Files
- ATTRIBUTION.mdAdded by AutoGineer939 B
- LICENSELicence file added by AutoGineer9.9 KiB
- NOTICELicence file added by AutoGineer67 B
- SKILL.md8.6 KiB
- references/aggregating-resources-into-protection-groups.md11.9 KiB
- references/configuring-health-based-detection.md12.8 KiB
- references/deciding-between-shield-standard-and-advanced.md11.7 KiB
- references/enabling-automatic-application-layer-mitigation.md12.6 KiB
- references/reviewing-ddos-events-and-requesting-cost-protection.md12.2 KiB
- references/setting-up-srt-support-and-proactive-engagement.md13.1 KiB
- references/subscribing-to-shield-advanced-and-protecting-resources.md11.7 KiB
references/reviewing-ddos-events-and-requesting-cost-protection.md
Reviewing DDoS Events and Requesting Cost Protection
Overview
Domain expertise for the post-attack workflow on an AWS Shield Advanced protected resource: reviewing the DDoS event to understand what happened, and requesting a cost protection credit to recover the scaling charges the attack caused. Covers reading the event detail, the eligibility rules customers most often trip on (protection must predate the attack, the rate-based AWS WAF rule must be in Block mode), and the 15-day filing deadline.
Does not cover subscribing and protecting resources, automatic mitigation, health-based detection, SRT setup, or protection groups; those are separate references. Authoring the rate-based AWS WAF rule is the waf skill.
Execute commands using the AWS MCP server when connected (sandboxed execution, audit logging,
observability). Fall back to the AWS CLI otherwise. Shield Advanced control-plane calls run in
us-east-1; pass --region us-east-1 on every command.
Table of Contents
Overview
Workflow
Reading the event
Eligibility: protection must predate the attack
Eligibility: rate-based rule in Block mode
The 15-day filing deadline
Troubleshooting
Security considerations
Procedure
Additional Resources
Workflow
To review an event and request a cost protection credit end to end, follow the procedure exactly. See the Procedure section below.
The procedure covers:
Listing and describing the attack to understand vectors, timing, and top contributors
Confirming eligibility (protection predated the attack, rate-based rule in Block mode on CloudFront and Application Load Balancer resources)
Filing the billing case with the right subject and within the deadline
Surfacing the console link to review the event
Reading the event
After an attack, Shield Advanced reports a separate event per affected resource, with detection details, any mitigations it applied, and the top traffic contributors. Customers see a bill spike but cannot tell whether it was an attack or what Shield did, if they only look at CloudWatch graphs.
Constraints:
You SHOULD point the customer at the event detail (detection, applied mitigations, top contributors) to interpret the incident, rather than inferring from CloudWatch alone
You SHOULD capture the attack IDs, vectors, and start and end times from the event before the event data ages out, since they are needed for the credit request
Always tell the customer (state all of these)
When advising on a cost-protection (DDoS credit) request, you MUST state ALL of the following points together, not a subset:
Protection must predate the attack — protection added during an active attack does not qualify.
A rate-based AWS WAF rule must be in Block mode (Count mode silently voids the claim), and this requirement applies to both CloudFront AND Application Load Balancer resources — state both, not only CloudFront.
File a billing support case within 15 days after the billing month of the attack closes (not 15 days after the attack date), with the words "DDoS Concession" in the subject plus the affected dates, services, and resources.
The sections below give the detail behind each point.
Eligibility: protection must predate the attack
Cost protection covers attack-driven scaling only if the resource was protected before the attack began. A customer who adds protection mid-attack and then files is denied.
Constraints:
You MUST confirm the resource had Shield Advanced protection before the attack began; protection added during an active attack does not qualify
You SHOULD check the protection creation time against the attack start time when confirming eligibility
Eligibility: rate-based rule in Block mode
For CloudFront and Application Load Balancer resources, cost protection eligibility requires a rate-based AWS WAF rule in Block mode on the resource. A rate-based rule left in Count mode does not satisfy the requirement and silently voids the claim.
Constraints:
You MUST confirm a rate-based AWS WAF rule is present and in Block mode on CloudFront and Application Load Balancer resources before relying on cost protection eligibility
You MUST NOT treat a Count-mode rate-based rule as sufficient; point at the waf skill's rate-based rule workflow to set it to Block
You SHOULD raise this before an attack, so the rule is already in Block mode when a claim is later needed
The 15-day filing deadline
The credit is not automatic. The customer files a billing support case within 15 days after the billing month of the attack closes, with the words "DDoS Concession" in the subject.
Constraints:
You MUST track the deadline as 15 days after the billing month closes, not 15 days after the attack date
You MUST tell the customer to include the words "DDoS Concession" in the case subject and the affected dates, services, and resources
You SHOULD note the SRT validates whether an attack occurred and whether the protected resource scaled to absorb it, so not every spike qualifies
Eligible charges and claim evidence
Cost protection credits the attack-driven scaling of protected resources (for example data transfer out, additional EC2 or ELB capacity, CloudFront request volume), not baseline usage.
Constraints:
You SHOULD tell the customer the credit covers attack-driven scaling of the protected resource, not unrelated or baseline charges, so expectations are set before filing
You MUST tell the customer to attach the attack IDs, the affected resource ARNs, the attack start and end times from
describe-attack, and the specific line items they believe are attack-driven
Troubleshooting
Cannot tell whether a bill spike was an attack
Read the Shield event detail (detection, mitigations, top contributors) rather than CloudWatch graphs (Reading the event).
Cost credit was denied
Either the protection was added after the attack started, or the rate-based rule was not in Block mode on a CloudFront or Application Load Balancer resource (Eligibility sections).
Missed the filing window
The deadline is 15 days after the billing month closes. Calendar it as soon as an attack is identified (The 15-day filing deadline).
Security considerations
Reviewing an event exposes sensitive attack data and filing a credit touches billing, so call out the risks and the controls that contain them.
Event details are sensitive. Attack vectors, client IPs, timing, and top contributors in the event detail reveal information about the attack and the application; handle them securely and share them only with authorized personnel.
Encrypt and audit offline copies. Encrypt any offline copies of event data captured for the credit request and audit access to them, since they carry the same sensitive attack details.
Audit trail. Keep AWS CloudTrail enabled and logging
shield:*calls so every event review leaves a record for audit and reporting purposes, and confirm the CloudTrail trail uses SSE-KMS encryption on its S3 log bucket and CloudWatch Logs log group, since CloudTrail records contain sensitive API metadata (caller identities, resource ARNs, parameters).Restrict billing case access. Limit who can file the cost protection case to authorized personnel with restricted write access to billing support cases.
Procedure
Overview
This procedure reviews a DDoS event, confirms cost protection eligibility, and files the credit request, then surfaces the console link to review the event.
Parameters
resource_arn (required): The ARN of the protected resource that was attacked.
time_range (required): The window to search for the attack (from and to timestamps).
Constraints for parameter acquisition:
You MUST ask for all required parameters upfront in a single prompt
You MUST confirm the resource was protected before the attack window before advising on a credit
Steps
1. Verify dependencies
Constraints:
You MUST confirm credentials with
aws sts get-caller-identityYou SHOULD use temporary credentials from an assumed IAM role (for example via IAM Identity Center or an instance profile) rather than long-lived IAM user access keys for these security-sensitive Shield Advanced operations
You SHOULD scope the caller's IAM permissions to the minimum this procedure needs (
shield:ListProtections,shield:ListAttacks,shield:DescribeAttack,shield:DescribeProtection,wafv2:GetWebACLForResource) rather than broad Shield or administrator accessYou SHOULD confirm AWS CloudTrail is enabled and logging
shield:*calls so every Shield Advanced configuration change leaves an audit trailYou SHOULD confirm the CloudTrail trail is configured with SSE-KMS encryption on its S3 log bucket and CloudWatch Logs log group, since CloudTrail records contain sensitive API metadata (caller identities, resource ARNs, parameters)
You MUST confirm the resource is or was protected with
aws shield list-protections --region us-east-1
2. Review the event
Constraints:
You MUST list attacks in the time range for the resource:
aws shield list-attacks --resource-arns '["{resource_arn}"]' \ --start-time FromInclusive={from},ToExclusive={to} --region us-east-1You MUST describe the attack to capture vectors, timing, and top contributors:
aws shield describe-attack --attack-id {attack_id} --region us-east-1
3. Confirm eligibility
Constraints:
You MUST confirm protection predated the attack:
aws shield describe-protection --resource-arn {resource_arn} --region us-east-1For CloudFront and Application Load Balancer resources, you MUST confirm a rate-based AWS WAF rule is in Block mode on the resource by inspecting the web ACL associated with it for a
RateBasedStatementwhoseActionisBlock:aws wafv2 get-web-acl-for-resource --resource-arn {resource_arn} --region us-east-1(For Application Load Balancer resources, use the load balancer's own region instead of
us-east-1.)
4. File the credit request
Constraints:
You MUST tell the customer to open a Billing support case with "DDoS Concession" in the subject, including the attack IDs, dates and times, and affected resources
You MUST tell the customer to file within 15 days after the billing month closes
5. Surface the console link
Constraints:
You MUST present the Shield events console link and tell the customer to open it to review the event detail:
https://us-east-1.console.aws.amazon.com/wafv2/shieldv2#/events
Example
Example input
{
"resource_arn": "arn:aws:cloudfront::111122223333:distribution/EDFDVBD6EXAMPLE",
"time_range": {"from": "2026-05-01T00:00:00Z", "to": "2026-05-31T23:59:59Z"}
}Example output
Found attack a1b2c3d4 on the distribution (May 12, HTTP flood). Captured vectors and top contributors.
Protection predates the attack and a rate-based rule is in Block mode — eligible for cost protection.
File a Billing case with "DDoS Concession" in the subject within 15 days after May billing closes.
Open the Shield console to review the event detail:
https://us-east-1.console.aws.amazon.com/wafv2/shieldv2#/eventsTroubleshooting
Cost credit was denied
Protection was added after the attack started, or the rate-based rule was in Count mode on a CloudFront or Application Load Balancer resource (Step 3).
Cannot tell what happened from the bill
Review the Shield event detail, not CloudWatch graphs (Step 2).
Missed the window
The deadline is 15 days after the billing month closes (Step 4).
Additional Resources
Requirements and compatibility
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Needs: Needs an MCP server
Security
No issues found by our static scan· No issues found
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- Published by
- AWS
- Publisher
- AWS (Official)
- Source
- aws/agent-toolkit-for-aws · skills/specialized-skills/networking-and-content-delivery-skills/shieldadvanced · commit 0a218f8
- Licence
- Apache License 2.0 (redistribution allowed)
- LICENSE (added by AutoGineer from LICENSE)
- NOTICE (added by AutoGineer from NOTICE)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
AutoGineer is not affiliated with or endorsed by AWS or AWS.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download shieldadvanced.zip