none
Traffic Manager and API Management RRS feed

  • Question

  • Looking for a way to use traffic manager to monitor and provide failover for API Management. I found this thread: https://social.msdn.microsoft.com/Forums/azure/en-US/82e4fc7d-ebea-4434-a9a0-b1e95d501247/how-to-setup-traffic-manager-with-azure-api-management?forum=WAVirtualMachinesVirtualNetwork

    is this still valid? It was a few years ago...is there anything new on this? We need to spread API Manager across regions for HA/DR purposes for our Web Apps, so we are looking for ways to make APIM highly available across regions.

    Wednesday, October 24, 2018 8:35 PM

Answers

All replies

  • Yes, this should absolutely still be valid. I do not believe Azure Traffic Manager has any new services that could be applied to your use case, but you might want to check out some examples for guidance. I was not able to find any direct API traffic manager scenarios. 
    Thursday, October 25, 2018 12:46 AM
    Moderator
  • It is possible to create multi region DR of Azure API Management in Developer/ Basic/ Standard tier. High level steps -

    1. Create two API Management in Standard mode. One in primary region and other in secondary region.
    2. Configure APIs and related backend in API Management primary. As you API Management standard is not part of VNET, the backend APIs will require public IP to get imported in API Management.
    3. Create Azure AD Application to have necessary permission to make changes in API Management instances in cross region.
    4. Allow rights on resource groups of both API Management in two regions.
    5. Create two logic apps. One to create backup of primary API Management. Second will be used to restore the same backup in secondary region API Management.
    6. Create traffic manager and add API Management IP address/ domains names as endpoint profiles. Configure Traffic manager in Failover/ Priority mode.
    7. Configure status page of API Management in Traffic manager to know health status of API Management for traffic manager so that it can switch to secondary region in case of DR situation.

    Refer to this step by step guide - https://sanganakauthority.blogspot.com/2019/08/azure-api-management-disaster-recovery.html

    <time datetime="2019-08-11T10:21:57" itemprop="dateCreated" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;box-sizing:inherit;"></time>

    http://sanganakauthority.blogspot.com/

    Sunday, August 11, 2019 10:28 AM