An Azure service that provides an event-driven serverless compute platform.
I think Azure’s EDoS controls are to put Front Door WAF in front and set the App Service max‑instance low.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I want to prevent my organization from unpredictable cost explosion
An Azure service that provides an event-driven serverless compute platform.
I think Azure’s EDoS controls are to put Front Door WAF in front and set the App Service max‑instance low.
Hello CH,
Welcome to the Microsoft Q&A and thank you for posting your questions here.
I understand that you would like to know how you can implement effective EDoS Protection for Azure App Services that need to be exposed as HTTP Endpoint to the internet.
Most of all, in my perspective as a solution architect your Architecture Design should be similar to:
Then, implement as listed below:
AzureFrontDoor.Backend; enforce X-Azure-FDID header rules to block direct origin access https://learn.microsoft.com/en-us/azure/frontdoor/front-door-overview Rule: RateLimit, Threshold: 100 requests/10 sec/IP
This protects at layer 7 where DDoS alone cannot mitigate. az network ddos-protection create -g rg1 -n ddosPlan
This provides auto-mitigation and adaptive traffic tuning (overview). - https://learn.microsoft.com/en-us/azure/ddos-protection/ddos-protection-overview{ "concurrency": { "dynamicConcurrencyEnabled": true } } Use Premium/App Service plans instead of unlimited Consumption.az consumption budget create --amount 5000 --time-grain Monthly
Add alerts at 50%, 75%, 90%, and 100% to prevent billing shocks https://learn.microsoft.com/en-us/azure/cost-management-billing/ and https://inventivehq.com/knowledge-base/microsoft-azure/how-to-set-up-cost-alerts-and-budgets-in-azureI hope this is helpful! Do not hesitate to let me know if you have any other questions or clarifications.
Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful.
Hi @CH
Thank you for reaching out to Microsoft Q&A.
When Azure App Services are exposed directly to the internet as HTTP endpoints without proper traffic control layers, they are highly vulnerable to Economic Denial of Service (EDoS) attacks. Unlike traditional DDoS attacks that focus on availability, EDoS attacks exploit the cloud’s auto-scaling nature by sending large volumes of seemingly legitimate HTTP requests. These requests are processed as normal traffic, causing the App Service to scale out and consume more compute resources, which directly leads to unpredictable cost spikes. Native Azure platform protections (like default DDoS Basic) primarily operate at the network layer (L3/L4) and cannot differentiate between valid and malicious application-layer requests. Without implementing controls such as rate limiting, bot filtering, and entry-point protection, the system will continue to process abusive traffic and scale, accordingly, resulting in financial impact even if the application remains technically available.
Refer below points to resolve this issue or this is the workaround
1. Introduce Azure Front Door / Application Gateway with WAF (Do not expose App Service directly)
Place a reverse proxy in front of App Service:
2. Implement WAF with Rate Limiting (Most critical control for EDOs)
Configure custom WAF rules to limit requests per client IP. Example (conceptual):
Why important:
az network front-door waf-policy rule create \
--name RateLimitRule \
--rate-limit-threshold 100 \
--rate-limit-duration-in-minutes 1 \
--action Block
3. Enable Bot Protection (Block automated abuse traffic)
Enable WAF Bot Protection (Bot Manager ruleset)
Without bot filtering, applications often scale due to automated requests leading to higher costs.
4. Enable Azure DDoS Protection (Network layer protection) Apply DDoS Protection on the virtual network hosting your entry layer
Note:
5. Restrict Direct Access to App Service (Prevent bypass of security layer) Do not allow public direct access
Options:
App Service supports inbound access restriction rules to allow/deny traffic based on IPs
6. Configure Autoscale Limits (Control cost exposure) Define strict autoscale rules:
This ensures the system does not scale infinitely under attack
7. Implement Azure Budgets and Alerts (Financial safeguard) Set up cost control mechanisms:
Azure Budgets can trigger automated actions via action groups to control spending when limits are reached
8. Enable Monitoring and Alerts (Detect anomaly early) Configure:
Track:
App Service supports metrics and alerts for proactive monitoring8. Enable Monitoring and Alerts (Detect anomaly early)
Configure:
Track:
App Service supports metrics and alerts for proactive monitoring.