traffic manager endpoint related query

Nitin Parmar-Tss consultancy 71 Reputation points
2022-07-29T09:21:36.503+00:00

Hi, i have 2 app services and one application gateway,we have configured path based routing on application gateway for example. 1st app services is url is test.domain.com/image 2nd app services url is same test.domain.com/videos. and we can add only one endpoint app gateway's public IP so, our flow should work with traffic manager to app gateway and then app service.but thing is that while added endpoint app gateway public IP in traffic manager. its GET call only 1st app services not 2nd on app service.when 1st app service will down end point is showing degraded although 2nd app service will down endpoint won't degraded, showing online status in traffic manager.so, how would two app services will be monitored and request will handle if 2nd app service will down?

Azure Traffic Manager
Azure Traffic Manager
An Azure service that is used to route incoming network traffic for high performance and availability.
110 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.
954 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.
111 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. msrini-MSFT 9,251 Reputation points Microsoft Employee
    2022-07-30T04:15:23.277+00:00

    Hi,

    From the Traffic Manager, its backend is Application Gateway. Application Gateway will have 2 set of backend pool, one for Images and another for Videos.

    Traffic Manager can send probes to a http path to detect whether its backend is healthy or not. So, you can specify either image path or video path or a general path which defaults to a another page which responds with 200 OK.

    App service monitoring will be done from Application Gateway. If Video App service is down, then Application Gateway will throw 502 to the client.

    Do you have Application gateway and App Service in different region which needs to be load balanced via Traffic Manager ?

    If that is the case, you might need to think about using Azure Front door where you can have path based rules on the Edges and you can add App Services directly as backend pool instead of Application gateway.

    Regards,
    Karthik Srinivas