Implement IP based rate limiting in Azure Front Door

  • Prevents DoS and DDoS attacks
  • Prevents brute force attack
  • Limit web scrapping
  • Prevents API overuse and there by prevents response degradation

IP Rate Limiting through AFD

Rate limiting can be implemented in AFD by setting up custom policy in WAF.

  1. On the Azure portal, select the Web application firewall(WAF) associated with the required Azure Front Door(AFD).
  2. Select Custom rules.
  3. Select Add custom rule.
  4. On the Add custom rule page, use the following values to create a custom rule:



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store