Azure – Networking – Part 33 – Azure Front Door 2 – Priority Routing




Hello Friends,

Hope you all are doing good. In our last article we have continued with Azure Front Door and see how to configure Azure Front Door through portal. Today in this article we will continue with Azure Front Door and will see how priority based routing works for Azure Front Door.



Tool Installation Articles :

  1. Configure Azure Command Line Interface ( Azure CLI) On Windows
  2. Configure PowerShell For Microsoft Azure Az Module On Windows

Previous Azure Series :

  1. Learn Basics Of Azure Networking In 100 Hours
  2. Learn Basics Of Microsoft Azure Storage services
  3. Learn Basic Of Azure Active Directory And Azure Identity And Access Management
  4. Azure DevOps – Learn at one place
  5. Learn Basics Of Lift-And-Shift Migration To Azure

If you have missed our previous articles on Azure Networking, please check it in following links.

Part 1 – Basics of Azure Networking

  • *
  • *
  • *

Part 23 – Azure Load Balancer -Configure Basic Load Balancer – 1

Part 24 – Azure Load Balancer – Configure Basic Load Balancer – 2

Part 25 – Azure Load Balancer – Configure Basic Load Balancer -3

Part 26 – Azure Load Balancer – Outbound Connectivity

Part 27 – Azure Load Balancer – Outbound Rule – Lab Exercise

Part 28 – Azure Virtual Network NAT (Network Address Translation)

Part 29 – Azure Virtual Network NAT Gateway

Part 30 – Configure Azure Virtual Network NAT Gateway In Azure Portal

Part 31 – Azure Front Door

Part 32 – Azure Front Door 1 – Create And Configure Azure Front Door

Next Article : Part 34 – Azure Front Door 3 – Configure Web Application Firewall (WAF) policy

Lab Exercise

In our previous article, practically we have seen, how Azure Front Door works. In that lab we have configured 3 VM in different region.

Figure 1 : Azure Networking – Azure Front Door Backend server

when we configured the back end servers, we have set priority 1 for two US region server and set priority 2 for the last server in West Europe region.

Figure 2 : Azure Networking – Azure Front Door backend serer priority

So that ADF will check the health of both US region servers first because their priority set to 1 and then if it found both US servers are healthy it will check the latency of both server and then it forward the traffic to the server which has low latency rate. In case it found both the server is down or their health report is down then it will forward the traffics to the secondary server, which priority set to 2 if it’s health report is good.

Test Case

In this test case, we will check how priority routing is working. As per our configuration out of 3 VMs, We have set both US region server’s priority to 1 and set 2 for the server in West region as per the configuration it first forward the traffic to Servers under US region. Now we will intentionally stop both servers under US region and wait for some time so that the health probe will collect the health report of both US region , which we have deallocated. Then ADF will forward the traffic to server in Europe region which priority set as 2.

Let’s first stop both server as showing in the following figures.

Figure 3 : Azure Networking – Azure Front Door backend Servers Deallocated
Figure 4 : Azure Networking – Azure Front Door Backend Servers

Now only server under West Europe is running and both servers under US region are stopped. Let’s wait for 5 minute and send request to https://manasafd.azurefd.net/home.html to check which server is responding now.

Figure 5 : Azure Networking – Azure Front Door Response

We can see in the above figure as we expected, the response came from West Europe server.

With the above information, I am concluding this article. I hope this is informative to you. Please let me know if I missed anything important or if my understanding is not up to the mark.

Next Article : Part 34 – Azure Front Door 3 – Configure Web Application Firewall (WAF) policy

Keep reading, share your thoughts, experiences. Feel free to contact us to discuss more.

If you have any suggestion / feedback / doubt, you are most welcome. Stay tuned on Knowledge-Junction, will come up with more such articles.

Thanks for reading 🙂

Manas Ranjan Moharana

Around 11+ years of total IT experience and since last 10 years working on almost on all version of SharePoint .Interested in learning and sharing something new to be helthy.

You may also like...

2 Responses

  1. March 20, 2022

    […] you all are doing good. In our last article we have continued with Azure Front Door and saw how priority based routing works in Azure Front Door. Today in this article we will continue with Azure Front Door and will see how to configure WAF […]

  2. March 24, 2022

    […] you all are doing good. In our last article we have continued with Azure Front Door and saw how priority based routing works in Azure Front Door. Today in this article we will continue with Azure Front Door and will see how to configure Custom […]

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: