New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need clarification on how to configure an internal multi-region API Management? #39015
Comments
@pacodelacruz Thank you for your feedback! We will review and provide an update as appropriate. @mikebudzynski any thoughts here? |
@mikebudzynski can you please share your thoughts here. |
API Management in internal VNET doesn't have the built-in traffic manager in multi-region configuration and you need to use your own traffic management solutions. The built-in traffic manager is provided with API Management in external VNET as well as outside VNET. |
This should be a note section on the docs page. |
It will be. We'll use this Issue to track progress. |
+1.. I am testing this.. Another thing the doc doesn't clearly mention is the below: <set-backend-service base-url="http://contoso-us.com/" /> Is the base url the url of Backend service? It seems it is the base url of the APIM service itself. If yes, it would save a lot of frustration if the docs update it to: <choose>
<when condition="@("West US".Equals(context.Deployment.Region, StringComparison.OrdinalIgnoreCase))">
<set-backend-service base-url="http://apim.contoso-us.com/" />
</when>
<when condition="@("East Asia".Equals(context.Deployment.Region, StringComparison.OrdinalIgnoreCase))">
<set-backend-service base-url="http://apim.contoso-asia.com/" />
</when>
<otherwise>
<set-backend-service base-url="http://apim.contoso-other.com/" />
</otherwise> |
This is not clear at all for Internally configured APIM. If there is an internal APIM there is no load balancing of any kind unless explicitly configured by the customer? That should be called out. In addition, the steps to accomplish this: App gateway forwards traffic to Traffic manager instance which watches two or more instances of APIM to determine which one is healthy to route traffic toward. Also if using this option, how would the APIs be kept in sync between APIM instances... checking both and updating both seems unweildy. |
#reassign:dlepow |
Closing this issue as the considerations for configuring multi-region API Management instance with internal VNet are added to the article, for example: https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-deploy-multi-region#virtual-networking |
#please-close |
This page describes how to configure a multi-region API Management, however, it does not cover the scenario when API Management is deployed inside a VNET in internal mode.
In this type of setup, it's common to have Azure App Gateway front facing API Management. So the questions are:
Round Robin at DNS level would not be ideal as it wouldn't cover cases when an instance is down (https://docs.microsoft.com/en-us/windows-server/networking/dns/deploy/app-lb).
Please include in the documentation what's the recommended setup.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: