AWS Shield
Shield Standard and Shield Advanced for DDoS protection, protected resources and the response team.
Legacy
Short cheat sheet. The full exam treatment is Shield and DDoS.
Shield protects against DDoS at layers 3, 4 and 7. Standard is automatic and free. Advanced is a paid subscription that you apply to named resources.
Standard vs Advanced
| Standard | Advanced | |
|---|---|---|
| Cost | Free for all customers | Paid subscription |
| Detection and mitigation | Automatic and always on for common attacks | Enhanced detection and mitigation for layers 3, 4 and 7 |
| Scope | All AWS resources | Only resources you add, or that a Firewall Manager policy adds |
| Resource types | n/a | CloudFront, Route 53 hosted zones, Global Accelerator standard accelerators, Elastic IPs (and EC2 behind them), ALB, CLB, NLB through Elastic IPs |
| Automatic layer 7 response | Not included | Optional automatic application layer DDoS mitigation (adds a 150 WCU rule group to the web ACL) |
| Human help | Not included | Shield Response Team, needs Business or Enterprise Support |
| WAF cost | Pay normal WAF fees | Standard WAF fees for protected resources are covered up to 1,500 WCUs |
| Cost protection | Not included | Service credits for scaling charges caused by an attack |
| Billing | n/a | One subscription covers all accounts in a consolidated billing family |
Defense pattern
Put CloudFront and Route 53 in front, add WAF with rate-based rules, and subscribe Shield Advanced on those edges. Keep origins behind security groups that only allow CloudFront or load balancer traffic.
Exam signal
"DDoS response team", "cost protection for scaling during an attack" or "layer 7 DDoS protection with expert help" is Shield Advanced. "Protect against SYN flood with no action" is Standard.
Exam trap
Shield Advanced never protects a resource automatically. You must add it, or use a Firewall Manager policy. Shield does not inspect request content. Use WAF for SQL injection and XSS.
Related
AWS WAF, Load balancer comparison
Further reading
- https://docs.aws.amazon.com/waf/latest/developerguide/ddos-overview.html
- https://docs.aws.amazon.com/waf/latest/developerguide/ddos-advanced-summary.html
- https://docs.aws.amazon.com/waf/latest/developerguide/ddos-advanced-summary-protected-resources.html
- https://docs.aws.amazon.com/waf/latest/developerguide/ddos-srt-support.html