Skip to content

How do I defend against DDoS attacks with Shield Standard?

4 minute read
2

I want to protect my application from Distributed Denial of Service (DDoS) attacks with AWS Shield Standard.

Short description

AWS Shield Standard is active by default for your AWS account at no additional charge. The following services have ‘always on’ Shield standard mitigations against common network and transport layer attacks:

Resolution

To protect your application from DDoS attacks with Shield Standard, it's a best practice to follow these guidelines for your application architecture:

  • Use services designed to scale.
  • Reduce the attack area surface.
  • Detect and filter malicious traffic.
  • Monitor application behavior.
  • Create a plan for DDoS attacks.

Use services designed to scale

Design for large-scale traffic with the following best practices:

Reduce the attack area surface

Reduce the attack surface area with the following best practices:

For more information, see Attack surface reduction.

Detect and filter malicious traffic

Detect and filter malicious traffic with the following best practices:

For more information, see Mitigation techniques.

Monitor application behavior

Monitor application behavior with the following best practices:

  • Create Amazon CloudWatch dashboards to establish a baseline of your application's key metrics such as traffic patterns and resource use.
  • Enhance the visibility of your CloudWatch logs with the [Centralized Logging solution](http:// https//docs.aws.amazon.com/solutions/latest/centralized-logging-with-opensearch/solution-overview.html).
  • Configure CloudWatch alarms to automatically scale the application in response to a DDoS attack.

For more information, see Monitoring Application Auto Scaling.

Create a plan for DDoS attacks

Develop a runbook in advance so that you can respond to DDoS attacks in an efficient and timely manner. For guidance on how to create a runbook see the AWS Security Incident Response Technical Guide.

For more information on how to protect your application from DDoS attacks, see AWS best practices for DDoS resiliency.

Related information

How to help protect dynamic web applications against DDoS attacks by using CloudFront and Route 53

How to protect your web application against DDoS attacks by using Route 53 and an external content delivery network

How to protect a self-managed DNS service against DDoS attacks using AWS Global Accelerator and AWS Shield Advanced

Testing and tuning your AWS WAF protections

AWS OFFICIALUpdated 4 months ago
1 Comment

Currently there is another way to protect environments against DDoS protection using AWS WAF Distributed Denial of Service (DDoS) prevention rule group.

You can use the existing WAF ACL by selecting the existing Web ACL and adding the managed "AntiDDoS Protection for Layer 7 attacks" rule, or enabling the WAF and creating a new Web ACL with the same rule.

Please find the links to the rule definition as well as a blog post.

https://docs.aws.amazon.com/waf/latest/developerguide/aws-managed-rule-groups-anti-ddos.html https://aws.amazon.com/blogs/networking-and-content-delivery/introducing-the-aws-waf-application-layer-ddos-protection/

AWS
replied 9 months ago