Azure DDoS Protection fundamental best practices (original) (raw)

This article provides best practices for building DDoS-resilient services on Azure. Use this guidance to protect your applications with Azure DDoS Protection across the areas of tier selection, security design, scalability, multi-layered defense, monitoring, testing, and response planning.

Choose the right protection tier

Azure DDoS Protection offers two tiers to match different protection needs:

Evaluate your requirements based on the number of public IP resources, the need for DDoS Rapid Response support, and cost protection needs. For a detailed comparison of features, limitations, and pricing between the two tiers, see About Azure DDoS Protection tier comparison.

Design for security

Ensure that security is a priority throughout the entire lifecycle of an application, from design and implementation to deployment and operations. Applications can have bugs that allow a relatively low volume of requests to use an excessive amount of resources, resulting in a service outage.

To protect your service on Azure:

Design for scalability

Scalability is how well a system can handle increased load. Design your applications to scale horizontally to meet the demand of an amplified load, specifically in the event of a DDoS attack. If your application depends on a single instance of a service, it creates a single point of failure. Provisioning multiple instances makes your system more resilient and more scalable.

Consider the following scalability strategies:

For recommended DDoS protection architectures for common workload types, see DDoS Protection reference architectures.

Implement multi-layered defense

A defense in depth strategy uses multiple layers of security to reduce the risk of a successful attack. Use the built-in capabilities of the Azure platform to implement secure designs for your applications.

Reduce the attack surface

Reduce your exposure by minimizing the publicly accessible surface area:

Protect the network layer (L3/L4)

Azure DDoS Protection provides automatic protection against network-layer (L3/L4) volumetric, protocol, and resource-layer attacks. Key capabilities include:

Protect the application layer (L7)

Azure DDoS Protection focuses on network-layer (L3/L4) attacks. For application-layer (L7) attacks like HTTP floods and slowloris, combine DDoS Protection with a web application firewall (WAF):

For detailed guidance on application-layer DDoS defense strategies, see Application DDoS protection.

Integrate with Microsoft Sentinel

Use the Azure DDoS Solution for Microsoft Sentinel to identify offending DDoS sources, correlate attack data with other security events, and prevent attackers from pivoting to other attack types, such as data exfiltration.

Protect hybrid environments

If you're connecting an on-premises environment to Azure, minimize exposure of on-premises resources to the public internet. Use the scale and advanced DDoS protection capabilities of Azure by deploying your well-known public entities in Azure. Because these publicly accessible entities are often a target for DDoS attacks, putting them in Azure reduces the impact on your on-premises resources.

Configure monitoring and alerting

Set up monitoring and alerting to detect DDoS attacks quickly and understand your protection status:

Test and validate your protection

Regularly test your DDoS protection to validate that your applications and alerting work as expected during an attack:

For testing partners, prerequisites, and step-by-step instructions, see Test through simulations.

Plan your DDoS response strategy

Establish a clear response plan before an attack occurs to ensure a fast and effective response:

For detailed guidance on building your response strategy, see DDoS response strategy.

Next steps