AWS Shield
Cloud service · AWS · Updated

AWS Shield

In short

AWS Shield is a managed Distributed Denial of Service (DDoS) protection service that safeguards applications running on AWS against DDoS attacks.

Cloud Services Hub →

7 key features of AWS Shield

AWS Shield provides comprehensive DDoS protection, always-on detection and mitigation, cost protection, real-time visibility, seamless integration with AWS services, and global protection to ensure your applications are safeguarded against attacks.

01
DDoS Protection

AWS Shield provides comprehensive protection against Distributed Denial of Service (DDoS) attacks, safeguarding your applications running on AWS.

02
Always-On Detection and Mitigation

AWS Shield offers 24/7 detection and automatic inline mitigations that minimize application downtime and latency, ensuring your services remain online and accessible.

03
Cost Protection

AWS Shield protects against the financial impact of DDoS attacks by offering cost protection, which can help cover the costs incurred due to scaling of resources in response to a DDoS attack.

04
Real-time Visibility and Reporting

AWS Shield provides detailed reports and real-time visibility into attacks, enabling you to understand the types of threats your applications face and how they are being mitigated.

05
Integration with AWS Services

Seamless integration with other AWS services, such as Amazon CloudFront and Amazon Route 53, enhances the protection and performance of your applications.

06
Global Protection

AWS Shield Advanced is available globally at Amazon CloudFront, AWS Global Accelerator, and Amazon Route 53 edge locations; deploying CloudFront in front of an application enables protection for applications hosted anywhere in the world.

07
Proactive Engagement

Shield Advanced offers a proactive engagement option so the Shield Response Team can proactively monitor protected resources and contact you during a DDoS attempt.

Where AWS Shield is used

AWS Shield offers comprehensive DDoS protection with cost management, real-time visibility, seamless integration with AWS services, and leverages global threat intelligence to safeguard applications against known and emerging threats.

  1. 01
    Protection Against DDoS Attacks

    AWS Shield provides always-on detection and automatic inline mitigations that minimize application downtime and latency. This is critical for businesses that operate online services, ensuring their applications remain available and performant, even during large-scale Distributed Denial of Service (DDoS) attacks.

  2. 02
    Cost Protection

    AWS offers cost protection as a feature of AWS Shield Advanced, protecting customers from scaling charges resulting from DDoS-related traffic spikes. This financial safeguard ensures that businesses can predict their expenses better, even in the event of unexpected volumetric attacks.

  3. 03
    Real-time Visibility and Reporting

    AWS Shield provides detailed attack diagnostics and visibility through AWS WAF and AWS CloudWatch, allowing users to understand the nature of the attacks and respond promptly. This real-time data and reporting are crucial for businesses to assess their vulnerabilities and improve their defensive strategies.

  4. 04
    Integration with AWS Services

    AWS Shield offers seamless integration with other AWS services like Amazon CloudFront and Amazon Route 53, enhancing the overall protection against DDoS attacks for applications and services hosted on AWS. This integration facilitates a more secure, efficient, and resilient infrastructure.

  5. 05
    Global Threat Intelligence

    Leveraging the vast network of AWS, Shield Advanced uses global threat intelligence to proactively protect applications against known and emerging threats. This preemptive approach helps businesses stay one step ahead of potential attackers, ensuring a higher level of security.

How AWS Shield is priced

AWS Shield offers a free Standard tier for basic DDoS protection and a paid Advanced tier with enhanced protection, DRT access, and financial safeguards against DDoS-related cost spikes.

AWS Shield Standard

AWS Shield Standard provides basic protection against common network and transport layer DDoS attacks for all AWS customers at no extra cost. This includes automatic protection for Amazon EC2 instances, Elastic Load Balancing, Amazon CloudFront, and Route 53.

AWS Shield Advanced

AWS Shield Advanced requires a one-year subscription commitment and charges a monthly fee plus usage fees based on data transfer out from Amazon CloudFront, Elastic Load Balancing, Amazon EC2, and AWS Global Accelerator.

Shield-protected AWS WAF usage

Shield Advanced includes AWS WAF web ACL, rule, and request fees for protected resources using the default 1,500-WCU limit, up to 50 billion requests per month. Requests above the allowance incur additional charges; Bot Control, Fraud Control, and capacity above 1,500 WCUs remain separately chargeable.

AWS Shield network security director preview

AWS Shield network security director is available at no additional cost during the preview period.

Services AWS Shield works with

Amazon CloudFrontAmazon CloudFront

AWS Shield integrates with Amazon CloudFront to protect applications and content delivery from DDoS attacks at the edge locations.

Amazon Route 53Amazon Route 53

AWS Shield integrates with Amazon Route 53 to safeguard DNS services from DDoS attacks, ensuring the availability of domain name resolution.

Amazon EC2Amazon EC2

AWS Shield integrates with Amazon EC2 to provide enhanced DDoS protection to compute instances running on the EC2 platform.

AWS Global AcceleratorAWS Global Accelerator

AWS Shield integrates with AWS Global Accelerator to protect internet-facing applications running in multiple AWS Regions from DDoS attacks.

AWS WAFAWS WAF

AWS Shield integrates with AWS Web Application Firewall (WAF) to offer layer 7 (application layer) protection alongside DDoS defenses.

Amazon CloudWatchAmazon CloudWatch

AWS Shield Advanced publishes DDoS detection and attack metrics to Amazon CloudWatch. You can create alarms on metrics such as DDoSDetected to alert operators when a protected resource is under attack.

Amazon EventBridgeAmazon EventBridge

AWS Shield API activity recorded by AWS CloudTrail can be matched by Amazon EventBridge rules, allowing automation when protections are created, changed, or deleted. Shield Advanced attack notifications delivered through AWS Health can also be routed through EventBridge.

Amazon Simple Notification Service (Amazon SNS)Amazon Simple Notification Service (Amazon SNS)

AWS Shield Advanced monitoring can use Amazon SNS notifications from CloudWatch alarms on Shield attack metrics. For example, an alarm on DDoSDetected can notify an incident-response team's email subscribers.

Amazon VPCAmazon VPC

AWS Shield network security director analyzes Amazon VPC network topology and security configurations to identify exposure and gaps in network protection. Its assessments help identify issues involving resources, security groups, and network access control lists.

What is AWS Shield

3 min read

Amazon Web Services (AWS) offers a comprehensive portfolio of products and services designed to enhance the security, performance, and availability of websites and applications. Among these products, AWS Shield stands out as a pivotal security service aimed at safeguarding applications hosted on AWS against Distributed Denial of Service (DDoS) attacks. DDoS attacks, which are increasingly common and sophisticated, aim to overwhelm web servers with an excessive load of internet traffic, causing services to slow down significantly or become entirely inaccessible to legitimate users. 

AWS Shield is crafted to mitigate these threats, ensuring uninterrupted service availability. AWS Shield is intricately designed with two tiers of service—AWS Shield Standard and AWS Shield Advanced. Every AWS customer benefits from AWS Shield Standard at no additional cost, receiving automatic protection against the most common and frequently occurring DDoS attacks. This baseline level of defense is engineered to thwart attacks that are most typically encountered by web applications, ensuring that AWS-hosted websites can operate smoothly without the disruptions these attacks intend to cause. 

AWS Shield also offers network security director, currently in preview, which analyzes resources to visualize network topology, identify configuration issues, and provide actionable remediation recommendations.

Network security director has default limits of 300,000 resources processed per scan and 200 edges per resource. An analysis fails if it reaches either limit, and failed analyses are not charged.

For organizations with higher security needs or those that host critical infrastructure on AWS, AWS Shield Advanced offers a more robust level of protection. This premium tier includes enhanced DDoS mitigation capabilities, aimed at safeguarding against larger and more sophisticated attacks. AWS Shield Advanced provides additional benefits such as cost protection, which can shield an organization from scaling charges related to DDoS attack traffic, and 24x7 support from the Shield Response Team (SRT). A Business or Enterprise support plan is required to engage the SRT for expert guidance during active DDoS incidents. 

Shield Advanced protection must be explicitly enabled for specific resources.

Shield Advanced has a default quota of 1,000 protected resources of each supported resource type per account, with quotas applied per Region. You can request a quota increase.

AWS Shield integrates seamlessly with other AWS services, such as Amazon CloudFront and Amazon Route 53, enhancing its effectiveness in defending applications. This integration allows AWS Shield to offer global protection, leveraging the extensive AWS network that spans across multiple geographical regions and edge locations. 

When multiple resources lie in the same traffic path, such as CloudFront in front of an Application Load Balancer, protect only the entry-point resource to avoid paying Shield Data Transfer Out fees twice.

The service is designed to automatically detect and mitigate DDoS attacks, ensuring minimal response time and reducing the risk of application downtime. It provides detailed attack diagnostics, allowing customers to understand the nature of the threats they face and how they are being mitigated. In summary, AWS Shield represents a critical component in the security architecture of any organization operating on the AWS cloud. 

By offering comprehensive, automated protection against DDoS attacks, AWS Shield helps ensure that applications remain available and performant, even in the face of sustained internet-based threats. With its two-tiered approach, AWS Shield caters to a wide range of protection needs, from standard defense mechanisms for everyday applications to advanced mitigation techniques for critical infrastructure, making it a versatile and essential tool for maintaining uninterrupted online services.

Concepts related to AWS Shield

AWS Shield exam questions

Real practice exam questions on AWS Shield, with the correct answer and its explanation. Answer them with every option in the exam simulator.

CLF-C02

A company already has a paid AWS subscription for enhanced DDoS protection. The company deploys a new internet-facing Application Load Balancer and wants to include it in the subscription's protection. Which action should the company take?

Show answerCORRECT ANSWER

Add the new load balancer as a protected resource in AWS Shield Advanced.

An AWS Shield Advanced subscription does not automatically enroll every new eligible resource. The company must explicitly add the load balancer as a protected resource to apply Shield Advanced protection.

SOA-C03

A company runs a public application behind an Application Load Balancer (ALB) in a single AWS account. The ALB is protected by AWS Shield Advanced and has an AWS WAF web ACL associated with it. Automatic application-layer DDoS mitigation is enabled in observation-only mode.

During an audit, a CloudOps engineer confirms that attack-specific rules were generated during a recent HTTP flood, but matching requests were counted rather than blocked. Company policy now requires these automatically generated mitigations to block matching requests during attacks. The company must retain its existing web ACL rules and avoid maintaining fixed request-rate thresholds.

Which change should the engineer make?

Show answerCORRECT ANSWER

Update the ALB's Shield Advanced automatic application-layer DDoS mitigation configuration to use the Block action instead of Count.

Shield Advanced automatic application-layer DDoS mitigation supports Count and Block actions. Changing its action to Block makes its automatically managed attack-specific rules enforce mitigation without requiring the company to maintain fixed rate thresholds or replace existing web ACL rules.

SCS-C03

A company delivers a public HTTPS application through Amazon CloudFront. The origin accepts application traffic only from this distribution. Before a major product launch, a security engineer reviews two anticipated attacks:

• UDP reflection and TCP SYN floods directed at the distribution's public endpoints.
• Distributed HTTPS floods against POST /availability/check. These requests contain valid application data but trigger expensive origin processing. Each attacking IP address is expected to send more than 1,000 requests per minute. Legitimate traffic, including users behind shared NAT addresses, does not exceed 100 requests per minute per viewer IP address to this endpoint.

The company needs upstream mitigation of common network-layer attacks and an application-layer control that reduces abusive requests before they reach the origin. Other application endpoints must not contribute to the request-rate calculation. The company does not require DDoS cost protection or specialist response-team access.

Which strategy meets these requirements with the LEAST operational overhead?

Show answerCORRECT ANSWER

Use the distribution's included network-layer protection. Associate an AWS WAF web ACL with the distribution and configure a blocking rate-based rule aggregated by viewer IP address, with a 1-minute evaluation window and a limit of 300 requests. Scope the rule to POST requests to exactly /availability/check.

CloudFront benefits from AWS Shield Standard protection against common network- and transport-layer DDoS attacks. The scoped AWS WAF rate-based rule addresses the separate application-layer threat by counting requests per viewer IP only for the expensive endpoint. Its approximate threshold is above the stated legitimate rate and below the anticipated attacking rate. No additional subscription or custom mitigation automation is needed.

Practice AWS Shield in a full exam

Questions on AWS Shield in each practice exam, with every answer option and an explanation for each:

Start a free practice exam

Learn AWS Shield in lessons

10 short lessons on AWS Shield in 5 certification courses.

and 4 more lessons

Open the lessons

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.