Shieldadvanced

From mouadja02/skills · View interactive version

Shieldadvanced is an AI agent skill from the GitHub repository mouadja02/skills. 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 Shi

How to use this skill

Skill file

Attribution: Sourced from aws/agent-toolkit-for-aws by Amazon Web Services, licensed Apache-2.0. Modified for this collection.

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

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.

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.

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.

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.

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.

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.

protection, SRT, and protection-group changes) are logged for audit purposes.

log group, since CloudTrail records sensitive API metadata (caller identities, resource ARNs,

parameters) that must be encrypted at rest.

DDoSAttackBitsPerSecond) so operations staff are alerted when an event is detected.

notifications carry sensitive event data.

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.

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.

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.

procedure needs rather than broad Shield or administrator access.

change leaves a record.

Additional Resources

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.