How to scale up an AppService plan with non-disruptive service

Kenji Kagei 5 Reputation points
2025-04-09T01:00:16.97+00:00

I would like to scale up the AppService plan that the AppService and function apps are tied to from S2:2 to P0V3:2 with no service interruption.

If I change the AppServiuce plan tied to the production slots to simple, it will result in an application restart and a service outage, right?

Therefore, I have the following response plan.

Proposal 1: Prepare a deployment slot with a different plan for P0V3:2 in advance and switch to the slot of the new plan by slot swapping. (We are concerned that this may cause an application restart.)

Proposal 2: Create a deployment slot with a different plan and the same settings as the production slot and set the traffic % on the [deployment slot] screen to Deployment slot is set to 100 (production slot is 0) while the AppServiuce plan associated with the production slot is scaled up.

What is the best way to do this with no service interruption, including Proposal 1, 2, and other methods?

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

1 answer

Sort by: Most helpful
  1. Alekhya Vaddepally 495 Reputation points Microsoft External Staff
    2025-04-10T10:29:38.64+00:00

    Hi Kenji Kagei,
    Proposal 2:

    You asked if setting the deployment slot 100% traffic (with a production slot at 0%) can serve as a workaround to avoid downtime during a scale-up.

    • While it seems that it can separate production, deployment slots cannot spread to various app service schemes.

    So if you are scaling from S2 to P0V3, you cannot assign your deployment slot in a separate app service plan as compared to your production slot.

    In other words, both the production slots and all the purposeless slots share the same app service plan. So even if you direct 100% traffic to a slot, the underlying infrastructure is still affected when you scale - and it means:

    All slots will restart, in which a traffic is obtained.

    Users can experience a brief disruption, even if it is just an eye.

    • Unfortunately, slot swapping works within only one app service scheme. You cannot swap one slot from one app service plan to another, so the proposal 1 is not viable

    Creating a new app service in a separate plan (P0V3),

    Posting your app there with the same settings,

    And then users root it (perhaps through DNS or similar),

    Then it is not really a slot swap, but a blue-green deployment, and it is a valid and recommended zero-downtime strategy.

    Yes, when you score an app service plan, the azure will restart all the applications running on it, as the underlying VM SKU and calculation environment change.

    This is true, even if you remove the traffic using a deployment slot, as the slots still live under the same plan.

    To avoid the restart application, create new azure service plan
    if you have any further concerns or queries, please feel free to reach out to us.

    1 person found this answer helpful.
    0 comments No comments

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.