Hi @tri ho Thanks for reaching out. API Management will not automatically switch over to the disaster recovery site. we have 2 concepts
- Multi-region deployment
- Disaster recovery
Multi-region deployment provides high availability/fault tolerance. In this case if the Gateway endpoint goes down in one region the request will be handed by the gateway endpoint in different region, but this is not a DR environment. You should have a separate service for Disaster recovery scenarios, you need to back up the configuration of your APIM instance and restore it to other APIM instance in DR site periodically. Incase if the primary region goes down you need to manually do DNS management to switch to another region.
please refer for more information: https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-disaster-recovery-backup-restore?tabs=powershell
https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-deploy-multi-region
let me know incase of further queries, I would be happy to assist you.
Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.