How can I control Layer 7 DDoS costs with Azure Front Door?
Asked by
MellowPine47
We're a small business handling roughly 200,000 requests per day, but we recently experienced short Layer 7 DDoS bursts involving several million requests. I configured WAF rate limits, but they didn't help much because the traffic came through many edge locations and each edge appeared to maintain its own counter. Lowering the limits further would risk blocking legitimate customers.
We upgraded to Front Door Premium to use the managed WAF rules and DDoS-related protections, but the additional request charges could still make future attacks very expensive. I'm now considering alternatives such as Cloudflare or Akamai, or possibly using Application Gateway instead of Front Door.
Has anyone dealt with this situation? Are there specific Front Door WAF, bot-management, caching, or geo-filtering settings that actually help, and is there any possibility of getting attack-related charges reviewed or credited?
Answers
Caching as much content as possible can protect the origin even when the WAF doesnโt stop every request immediately. It wonโt eliminate edge request charges, but it can reduce the impact on your applications. Also check whether your provider has an attack-cost mitigation or credit process; Azure DDoS Protection customers have sometimes had attack-related charges reviewed, but youโd need to confirm eligibility with support for your specific setup.
Reply to this answer
If Front Door isnโt providing a feature you actually need, Application Gateway combined with another security or CDN provider may be a better fit. Front Doorโs configuration propagation and WAF behavior can be frustrating for smaller teams, and a third-party service may offer more predictable bot controls and pricing. Iโd compare the architecture and billing model during a controlled migration rather than relying only on the premium managed rules.
Reply to this answer
A common approach is to put Cloudflare or Akamai in front of Azure and use each service for a clearly defined purpose. For example, keep caching and optimization in one CDN rather than enabling both layers, and restrict the Azure origin so it only accepts traffic from the upstream provider. In some cases, replacing Front Door entirely with a third-party CDN plus Azure Firewall or Application Gateway is simpler and cheaper.
Reply to this answer
Make sure the default managed ruleset and bot protection ruleset are enabled at the Front Door profile level. Premium gives you access to those protections, but they still need to be configured. Geo restrictions and carefully tuned custom rate limits can help too. Cloudflare tends to enable more protection out of the box, so itโs worth comparing the total cost and how much configuration you want to maintain.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions