Can we stop Azure App Service to save cost ?

MS Techie 2,676 Reputation points
2021-02-18T11:11:00.29+00:00

69525-image.png
Why have they given the Number of Hours for the Azure App Service. Anyways we cannot stop the Azure App Service to save some costs.
OR
is there an option to STOP the AppService to SAVE COST ? Can we schedule the Start and Stop of Azure App Service ?

My requirement is that the Web App should be running during Weekdays and shutdown during Weekends.

I am aware that for Azure VMs, we can stop the Azure VM , during non-working hours to save money .

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

Accepted answer
  1. sadomovalex 3,626 Reputation points
    2021-02-22T14:58:47.89+00:00

    it is possible to stop whole app service (see Full stopping a Web App), but I'm not sure that it will affect pricing:

    1. Go to https://resources.azure.com
    2. Find needed app service from above list
    3. In JSON view on the right side click Edit
    4. Change “state” from “Running” to “Stopped” – this is the same as if you would stop App service form Azure portal
    5. Find “scmSiteAlsoStopped” property and set it from “false” to “true” – it will stop SCM file

    03.png


2 additional answers

Sort by: Most helpful
  1. MS Techie 2,676 Reputation points
    2021-02-22T09:48:09.117+00:00

    Can some expert or Microsoft Employee comment on this

    if Azure App Service cannot be stopped to save money... then why in microsoft Azure Pricing site, they talk about number of hours of running App Service ?

    69525-image.png

    3 people found this answer helpful.

  2. Jack Roper 11 Reputation points
    2021-02-18T17:01:50.307+00:00

    I don't believe that is possible - one workaround would be to use autoscaling rules to move between free or lower cost app service tiers based on time of day or usage.

    https://learn.microsoft.com/en-us/azure/app-service/overview-hosting-plans

    2 people found this answer helpful.