Azure Webapps does not fail over when an instance fails

We deployed a Node.js Azure web app and defined at least 2 instances (for scalability and high availability). enter image description here

LB seems to be load balancing across instances, but not responding to an instance error (crash) and seems to insist on load balancing across all instances, including the crash one.

Is there a way to set up a fault mechanism for high availability?

+3


source to share


1 answer


The load balancer used by Azure App Service will continue to send requests to individual web servers as long as the main virtual machines are up and running.

To fix the problem you are working with, you can try setting up the "auto-heal" feature. If the scenario is for an application to "get stuck" in a permanently interrupted state, auto-healing rules can be configured to automatically restart the application.



Learn more about Auto Heal here:
Auto Heal for Azure Websites

+1


source







All Articles