Azure App Service instances can be unloaded after 20min of inactivity, but does anyone know how this is impacted by health checks? In particular, does enabling health check to prevent the application of being unloaded? If so, does that lead to increased costs?
CodePudding user response:
Enabling Health Check will keep the application alive as they continuously ping the health check endpoint in a specific time.
However a better way to keep the application alive is by using the setting AlwaysOn within Azure App Service settings.
Regarding the cost, the App Service are always billed even if they are inactive. Once provisioned, the meter will keep ticking and active/inactive web app will not have any impact on costs whatsoever.