auto swap deployment slot for application needing frequent update

prasantc 976 Reputation points
2023-12-25T20:22:01.0266667+00:00

I have a one web app that requires daily 10 to 20 times updates without downtime. The process they have been using for on prem environment for this web site.

We have separate subscriptions for prod and another subscription with dev/test.

User wants to upgrade dev or prod web app without downtime. Current, process of deploying update with github action may involve little bit of downtime after the push from dev to test to prod.

It is a php app hosted in Azure web app (ASE). I was looking for deployment slow with auto swap but I do not see auto swap option on the php web unless it is hidden somewhere. Would deployment slot with auto swap is a good option for application requiring 10,15 or 20 updates per day without a downtime?

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

Accepted answer
  1. ajkuma 28,021 Reputation points Microsoft Employee Moderator
    2023-12-29T06:13:18.0733333+00:00

    prasantc, Following-up from your previous comment, adding to Sreeju's response.

    Firstly, we do not have an ETA for auto-swap feature for Linux workloads.

    You may add a post-deployment step in your GitHub pipeline which would do a swap. You may add some checks for a warmup (like checking the application endpoint) before doing the swap. That way, you can avoid the downtime: UseARM templates to swap deployment slots - Azure App Service

     

    Additionally, depending on your service setup, you have other options as well. You may leverage Azure Traffic Manager or change traffic routing for the website Setup staging environments - Azure App Service | Microsoft Learn.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Sreeju Nair 12,661 Reputation points
    2023-12-26T05:17:35.46+00:00

    As per the documentation

    "Auto swap isn't supported in web apps on Linux and Web App for Containers."

    Refer: Auto swap isn't supported in web apps on Linux and Web App for Containers.

    Hope this helps

    1 person found this answer helpful.

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.