Introduction
Azure WAF on Microsoft Azure Front Door provides a centralized protection solution for your web applications. WAF includes built-in rules to defend against common exploits and vulnerabilities, and custom rules so you can tailor the protection to your specific needs.
Challenge
A popular use-case for custom rules is to rate limit Front Door traffic based on the Country or IP address range. However, configuring the rate limit threshold can sometimes be tricky due to varying traffic patterns based on the time of the day or the day of the week. For example, a rate limit rule created to protect against traffic spikes on a weekend (when the traffic volume is lower) may not fire on a weekday because what's a spike on a weekend might be the usual traffic volume for a weekday.
Solution
It involves two main steps:
In the deep-dive video that follows, we do a step-by-step walkthrough of how to perform these steps. The video is structured as follows:
- Introduction
- Defining the problem statement
- Exploring the architecture diagram
- Seeing it in action
You can find the reference code here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.