Instead of using Azure front door for disaster recovery in azure app services is there any of possibility of using the same with Traffic manager and app gateway instead of Front door ?

Mayank Jain 260 Reputation points
2023-03-31T11:58:10.3+00:00

Instead of using Azure front door for disaster recovery in azure app services is there any of possibility of using the same with Traffic manager and app gateway instead of Front door ?

Azure Front Door
Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
622 questions
Azure Traffic Manager
Azure Traffic Manager
An Azure service that is used to route incoming network traffic for high performance and availability.
111 questions
Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
1,000 questions
Azure ISV (Independent Software Vendors) and Startups
Azure ISV (Independent Software Vendors) and Startups
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.ISV (Independent Software Vendors) and Startups: A Microsoft program that helps customers adopt Microsoft Cloud solutions and drive user adoption.
91 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,260 questions
{count} votes

Accepted answer
  1. GitaraniSharma-MSFT 49,006 Reputation points Microsoft Employee
    2023-04-03T10:32:47.54+00:00

    Hello @Mayank Jain ,

    Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.

    I understand that you would like to know if it is possible to use Traffic manager and Application gateway instead of Front door for disaster recovery in Azure App services.

    Yes, it is possible to use Traffic manager and Application gateway for disaster recovery in Azure App services, which are deployed in multiple regions.

    Refer: https://video2.skills-academy.com/en-us/azure/networking/disaster-recovery-dns-traffic-manager#automatic-failover-using-azure-traffic-manager

    https://video2.skills-academy.com/en-us/azure/architecture/high-availability/reference-architecture-traffic-manager-application-gateway

    You can configure your Application gateway with app services following the below tutorial:

    https://video2.skills-academy.com/en-us/azure/application-gateway/configure-web-app?tabs=customdomain%2Cazure-portal

    And then create Traffic Manager which uses DNS-based routing to load balance incoming traffic across the two regions. Traffic Manager resolves DNS queries for the application to the public IP addresses of the Application Gateway endpoints. The public endpoints of the Application gateways serve as the backend endpoints of Traffic Manager. Traffic Manager resolves DNS queries based on a choice of six routing methods.

    Traffic manager provides automatic failover if there's a regional outage. It uses priority routing and regular health checks to determine where to route traffic.

    In Priority traffic-routing method, by default, Traffic Manager sends all traffic to the primary (highest-priority) endpoint. If the primary endpoint isn't available, Traffic Manager routes the traffic to the second endpoint.

    Refer: https://video2.skills-academy.com/en-us/azure/traffic-manager/traffic-manager-routing-methods

    For this setup, you need 2 Application gateways in 2 different regions and then add the backend App services for those regions. At the front, Traffic Manager will load balance incoming traffic across the two regions and send the traffic to the public IP addresses of the Application Gateway endpoints according to the routing method configured.

    The Application Gateways receive HTTP(S) traffic from the browser and load balance requests across the backend pool of App services.

    Kindly let us know if the above helps or you need further assistance on this issue.


    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Andriy Bilous 11,176 Reputation points MVP
    2023-03-31T12:31:05.4933333+00:00

    Hello @Mayank Jain

    Azure has a document that describes strategies for business continuity and disaster recovery in Azure App Service

    Aside from Azure Front Door, which is proposed in the above article, Azure provides other load balancing options, such as Azure Traffic Manager.

    Application gateway cannot be used for DR(Disaster recovery) scenario as it is region based service(support only zones)

    0 comments No comments