Defending Against DDoS Attacks with AWS Shield
This lesson explains how AWS Shield protects against distributed denial of service (DDoS) attacks, with Shield Standard in every account and Shield Advanced for critical applications.
Learning outcomes
After completing this lesson, you will be able to:
- Distinguish Shield Standard and Shield Advanced.
- Audit Shield Advanced protections.
Shield Standard and Shield Advanced
Shield Standard is automatically enabled for all customers at no cost and protects against common network and transport layer (layer 3 and 4) DDoS attacks, such as SYN floods and UDP reflection, for all AWS resources, with the strongest protection for CloudFront, Route 53 and Global Accelerator.
Shield Advanced is a paid subscription (per organisation, with a one-year commitment) that protects specific resources you add: CloudFront distributions, Route 53 hosted zones, Global Accelerator accelerators, ALBs, Classic Load Balancers and Elastic IP addresses. It adds enhanced detection tailored to each resource, automatic application layer DDoS mitigation (which creates WAF rules during an attack), health-based detection using Route 53 health checks, near real-time DDoS metrics and attack diagnostics in CloudWatch, 24/7 access to the Shield Response Team (SRT), proactive engagement, cost protection against scaling charges caused by attacks, and AWS WAF at no extra cost for protected resources.
Standard or Advanced?
Auditing Shield
An audit of Shield Advanced in an account checks that every critical public resource is added as a protection; that health checks are associated for health-based detection; that automatic application layer mitigation is enabled with a web ACL; that the SRT has an IAM role and access to WAF logs if proactive engagement is wanted; that emergency contacts are current; and that alarms exist on the DDoSDetected metric. Shield events also appear in the Shield console's global threat dashboard and as AWS Health events.
Preparing for a high-profile launch
A company expects to be targeted by DDoS attacks during a product launch. It subscribes to Shield Advanced, adds its CloudFront distribution, Route 53 hosted zone and ALB as protected resources, associates Route 53 health checks that reflect application health, enables automatic application layer mitigation with the distribution's web ACL, authorises the SRT with a role, enables proactive engagement with up-to-date contacts, and creates CloudWatch alarms on DDoSDetected. Cost protection covers any CloudFront and Auto Scaling charges caused by an attack.
Does Shield Standard need to be enabled?
Show answer
No. It is free and automatic for layer 3 and 4 attacks.
Exam Tips
Remember for the exam
- Shield Standard is free and automatic for layer 3/4 attacks.
- Shield Advanced adds layer 7 automatic mitigation, SRT access, cost protection and DDoS metrics.
- Associate Route 53 health checks for health-based detection.
- Audit that every critical resource is a Shield Advanced protection.