How to restart Azure app service instances sequentially "without using deployment slots" and with no downtime ?

Ramya Pambi 0 Reputation points
2025-01-23T16:42:01.76+00:00

I have tried to restart individual instances sequentially (Using bash ) with delay between each instance restart but I still see the downtime .I am not using deployment slots -Is there a way to achieve zero downtime without deployment slots .

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,266 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Laxman Reddy Revuri 2,390 Reputation points Microsoft Vendor
    2025-01-27T03:24:54.0233333+00:00

    Hi @Ramya pambi
    Rolling restarts minimize downtime by restarting instances one at a time, but they don't guarantee zero downtime. Brief delays or issues may occur during restarts. To achieve zero downtime, consider strategies like using Azure’s App Initialization for app warm-up, configuring load balancers to reroute traffic, setting up health probes to ensure traffic only hits healthy instances, and automating checks before restarting instances. Additionally, use monitoring tools like Azure Application Insights to identify and address issues during restarts.
    references: https://learn.microsoft.com/en-us/azure/app-service/routine-maintenance-downtime#strategies-for-increased-uptime


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.