Azure App Service - How to work around the number of instance replaced by Health checks

Jess 96 Reputation points
2022-04-14T07:21:20.577+00:00

At most one instance will be replaced per hour, with a maximum of three instances per day per App Service Plan.

Ref: https://learn.microsoft.com/en-us/azure/app-service/monitor-instances-health-check

Is it mean that I must restart instances manually if the number of unhealthy instances is over 3?

Q1: Is there some way to work around this limit?

I have tried to work around this by Auto-Heal because they look alike. Q2: What is Auto-Heal for after I turn on Health Check?

192950-image.png

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,958 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sam Cogan 10,157 Reputation points MVP
    2022-04-14T09:20:35.187+00:00

    You can't work around it, that is the limit of this service. To be honest, if your app is regularly going unhealthy for long enough that it is replaced ( an instance is only replaced if it is unhealthy for 1 hour), and this happens multiple times a day, then you need to look at fixing your application as that should not be happening.

    2 people found this answer helpful.
    0 comments No comments