4

I have configured the Azure API Management Service - Premium as shown below

enter image description here

added two regions/locations

enter image description here

and I could access it as shown below

enter image description here

When I try to setup the Azure Traffic Manager as shown below

enter image description here

enter image description here

the endpoints are degraded

enter image description here

What am I doing wrong? How do I put Azure Traffic manager in front of the APIM?

One Developer
  • 99
  • 5
  • 43
  • 103
  • 1
    So, if you do an http get to https://myapiabc-westus-01.regional.azure-api.net/ , it does give you a 200 OK? Is it a public reachable endpoint? – Peter Bons Nov 15 '20 at 12:50
  • It works with HTTPS, should I will check HTTP too? – One Developer Nov 15 '20 at 13:18
  • 1
    Yes, and I see that in your curl request you are not using the root endpoint (https://myapiabc-westus-01.regional.azure-api.net/) but to a specific endpoint. Your probe is targeted at the root however. – Peter Bons Nov 15 '20 at 13:25
  • OK does it mean that I have use either the /status-xxxx endpoint or the endpoint that actually returns 200 status? – One Developer Nov 15 '20 at 13:41
  • I am not sure what kind of backend you have, is it a self-developed application? If so, you can create a specific health check you can use. https://www.ibm.com/garage/method/practices/manage/health-check-apis/ – Peter Bons Nov 16 '20 at 09:33

1 Answers1

1

I understood that I have to configure the Traffic manager Health check as shown below

enter image description here

as well as I have to configure the Azure API management as shown below

enter image description here

it is started working

One Developer
  • 99
  • 5
  • 43
  • 103