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://mp-staging.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/configuring-health-based-detection.md
Configuring Health-Based Detection with Route 53 Health Checks
Overview
Domain expertise for adding health-based detection to an AWS Shield Advanced protection by associating a Route 53 health check, so Shield Advanced can see whether the application is actually healthy and detect attacks faster and more accurately. Covers the requirement that the health check genuinely reflect application health, the requirement that it be healthy at association time, the one resource type that does not support health-based detection, and the link to proactive engagement.
Does not cover subscribing and protecting resources, automatic mitigation, SRT setup, event review, or protection groups; those are separate references. Creating the Route 53 health check itself is the route53 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
Not supported for Route 53 hosted zones
The health check must reflect real application health
The health check must be healthy at association time
Health-based detection is the groundwork for proactive engagement
Troubleshooting
Security considerations
Procedure
Additional Resources
Workflow
To configure health-based detection end to end, follow the procedure exactly. See the Procedure section below.
The procedure covers:
Confirming the resource is protected and the protected resource type supports health-based detection
Confirming a Route 53 health check exists, reflects real application health, and is currently healthy
Associating the health check with the Shield Advanced protection
Surfacing the console link to verify the association
Always tell the customer (state all of these)
When advising on health-based detection, you MUST state ALL of the following points together, not a subset:
Route 53 hosted zones do not support health-based detection (every other protected resource type does); do not try to associate a health check with a hosted zone.
The health check must be healthy at association time, or the association is rejected.
The health check must reflect real application health — use a calculated health check built from the CloudWatch metrics that genuinely indicate the application is unavailable, NOT a shallow check (e.g. a TCP or single-endpoint ping) that keeps returning healthy while the application is failing, and not a staging or test check for a production protection.
The sections below give the detail behind each point.
Not supported for Route 53 hosted zones
Health-based detection works for every protected resource type except Route 53 hosted zones. Customers assume it works everywhere and waste effort wiring a health check to a hosted zone.
Constraints:
You MUST tell the customer that Route 53 hosted zones do not support health-based detection, while every other protected resource type does
You MUST NOT attempt to associate a health check with a protected Route 53 hosted zone
The health check must reflect real application health
A shallow health check that returns healthy even when the application is failing gives detection no useful signal. The check has to flip to unhealthy under real stress to add value.
Constraints:
You MUST confirm the health check accurately reflects application health, not just that an endpoint responds
You SHOULD recommend a calculated health check combining the metrics that actually indicate the application is unavailable, rather than a single shallow check
You MUST NOT associate a health check from a staging or test environment with a production protection
The health check must be healthy at association time
Associating a currently unhealthy health check fails or skews the detection baseline, and the failure reason is not obvious to the customer.
Constraints:
You MUST verify the health check is reporting healthy before associating it
You SHOULD surface the current health check status to the customer rather than letting them guess why an association will not take
Health-based detection is the groundwork for proactive engagement
Proactive engagement (the SRT reaching out during an attack) requires a Route 53 health check on the protected resource. Configuring health-based detection now is the prerequisite for enabling proactive engagement later.
Constraints:
You SHOULD note that this same health check is required for proactive engagement, and point at the SRT reference when the customer wants the SRT to reach out
You MUST NOT delete a Route 53 health check that is associated with a Shield protection while the protection still relies on it
Troubleshooting
Associating the health check fails for no clear reason
The health check is currently unhealthy. It must be healthy at association time (The health check must be healthy at association time).
Detection never reacts even with a health check associated
The check is shallow and never flips to unhealthy under stress, so it adds no signal. Use a check that reflects real application health (The health check must reflect real application health).
A health check cannot be associated with a hosted zone
Route 53 hosted zones do not support health-based detection (Not supported for Route 53 hosted zones).
Security considerations
Health-based detection feeds an application health signal into Shield's detection, so call out the risks and the controls that contain them.
The health check must reflect real application health. A shallow check that returns healthy while the application is failing gives detection no useful signal and produces false negatives; use a check that flips to unhealthy under real stress.
No staging or test health checks on production. Associating a staging or test health check with a production protection skews detection; keep production protections wired to production health signals only.
Protect the health check endpoint. Restrict the endpoint the Route 53 health check probes from unauthorized access, since it is a signal Shield relies on for detection. You SHOULD configure the health check to probe over HTTPS/TLS rather than plaintext HTTP so the probe and its response are encrypted in transit, and scope network access to the endpoint with security groups or network ACLs (for example, allow only the Route 53 health-checker IP ranges) so the signal cannot be reached or spoofed by unauthorized callers.
Least privilege for the operator. Scope the caller's IAM permissions to the minimum this procedure needs (
shield:ListProtections,shield:AssociateHealthCheck) rather than broad Shield or administrator access.Audit trail. Keep AWS CloudTrail enabled and logging
shield:*calls so every health check association leaves a record, 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).
Procedure
Overview
This procedure associates an existing, healthy Route 53 health check with a Shield Advanced protection, then surfaces the console link to verify.
Parameters
protection_id (required): The Shield protection ID for the resource (from
list-protections).health_check_arn (required): The ARN of the Route 53 health check that reflects the resource's real health.
Constraints for parameter acquisition:
You MUST ask for all required parameters upfront in a single prompt
You MUST confirm the protected resource type is not a Route 53 hosted zone before proceeding
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:AssociateHealthCheck) 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 protected and get its protection ID:
aws shield list-protections --region us-east-1You MUST confirm the protected resource type supports health-based detection (every type except Route 53 hosted zones)
You MUST NOT proceed if the Route 53 health check is a shallow "endpoint responds" check; confirm it flips to unhealthy under real application failure (a calculated check over the metrics that indicate the app is actually down) before associating it. A shallow check gives detection no useful signal (see "The health check must reflect real application health")
2. Confirm the health check is suitable and healthy
Constraints:
You MUST confirm the Route 53 health check reflects real application health, not a shallow check, and MUST tell the customer this explicitly: a shallow check (for example a TCP or single-endpoint ping) can keep returning healthy while the application is actually failing, which gives Shield's detection no real signal. Recommend a calculated health check that combines the CloudWatch metrics that genuinely indicate the application is unavailable, rather than a single shallow check
You MUST confirm the health check is currently reporting healthy before associating it
You MUST NOT use a staging or test health check for a production protection
3. Associate the health check
Constraints:
You MUST associate the health check with the protection:
aws shield associate-health-check \ --protection-id {protection_id} --health-check-arn {health_check_arn} --region us-east-1
4. Surface the console link
Constraints:
You MUST present the Shield protected-resources console link and tell the customer to open the resource and confirm the health check is associated:
https://us-east-1.console.aws.amazon.com/wafv2/shieldv2#/protections
5. Recommend an alarm
Constraints:
You SHOULD recommend a CloudWatch alarm on the Shield Advanced
DDoSDetecteddetection metric for the protected resource so operators are alerted when Shield detects an event, and SHOULD mention the attack-volume metrics (DDoSAttackBitsPerSecond,DDoSAttackPacketsPerSecond,DDoSAttackRequestsPerSecond) for magnitude. Shield reports these inus-east-1for CloudFront and Route 53 and in the resource's Region otherwiseYou SHOULD recommend encrypting any SNS topic used for these alarm notifications with a customer-managed AWS KMS key (SSE-KMS), since the notifications carry sensitive DDoS event data
You SHOULD confirm that all SNS topic subscribers for these Shield Advanced alarms are authorized personnel approved to receive sensitive DDoS event notifications
Example
Example input
{
"protection_id": "abc123-protection-id",
"health_check_arn": "arn:aws:route53:::healthcheck/11111111-2222-3333-4444-555555555555"
}Example output
Verified health check is healthy and reflects application health.
Associated it with protection abc123-protection-id for faster, health-aware detection.
This health check also satisfies the proactive engagement prerequisite.
Open the Shield console and confirm the health check association:
https://us-east-1.console.aws.amazon.com/wafv2/shieldv2#/protectionsTroubleshooting
The association call fails
The health check is currently unhealthy. Wait for it to report healthy, then associate (Step 2).
Detection still does not react
The check is shallow. Replace it with one that flips unhealthy under real stress (Step 2).
Cannot associate with a hosted zone
Route 53 hosted zones do not support health-based detection (Not supported for Route 53 hosted zones).
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.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download shieldadvanced.zip