Nov 12, 2020

Azure Traffic Manager failover on websites

Azure Traffic Manager is a DNS-based load balancer. In this blog post, we show how Traffic Manager can be configured to provide resilience and high-availability to Azure Wep Apps.

Azure Traffic Manager is a DNS-based load balancer. In this blog post, we show how Traffic Manager can be configured to provide resilience and high-availability to Azure Wep Apps.

In summary, here’s how Azure Traffic Manager works normally.

  1. Alice browse to a domain name URL https://example.azurewebsites.net
  2. Browser resolves domain name to IP address using DNS service
  3. DNS service checks with Azure Traffic Manager - what is the IP Address of example.azurewebsites.net?
  4. Azure Traffic Manager responds with IP Address and flows back to browser.
  5. Browser fetches page from application server.
  6. Alice sees the rendered page on the browser.

Azure Traffic Manager periodically polls for web app health. Upon detection of degradation of performance, Traffic Manager will direct traffic to the healthy web app.

Create Azure Traffic Manager and Endpoints

Testing the failover

  1. Stop app service failover-1

2. Confirm app-service stopped.

3. Traffic Manager WORKS - page works normally.

4. Traffic Manager WORKS - DIG shows traffic manager resolves to failover-2.

Notes

  1. Expect slight seconds of delay between the failover between appservice by Traffic Manager.
  2. All browsers cache DNS resolution results; thus end-users will continuously experience failed site until the DNS resolution cache is cleared. DNS resolution cache duration differs between all major browsers.



Interested in hearing more?
Lets connect.

Thoughts, stories and ideas.

June 6, 2022
Migrating On-Prem VMs to Azure using Azure Migrate (Hyper-V Scenario) - Part 2

Part 2 of migrating on-prem VMs to azure using azure migrate (Hyper-V Scenario). Azure is Microsoft's cloud computing platform, which allows your firm access to tremendous compute capabilities while being extremely secure, allowing you to achieve any business goal without having to invest in expensive local equipment. 95% of Fortune 500 companies currently utilize the Azure Platform as part of their IT infrastructure.

learn more
May 25, 2022
Regulatory Compliance with Microsoft Defender for Cloud

Defender for Cloud provides a single platform for managing threats and the security posture of dynamic workloads on Azure. It gives you the tools you need to safeguard your resources, monitors your security posture, defends against cyberattacks, and makes security administration easier.

learn more
March 22, 2022
Modern Workplace & Azure Virtual Desktop (AVD)

Virtual desktop infrastructure is crucial for enabling on-demand remote resource access and taking your desktops and apps to a new level of flexibility and efficiency. With Virtual desktops setups, you can be more agile and innovative while reducing infrastructure cost, streamlining your organization operations, and providing a secure user experience.

learn more