Why Azure App Service Doesn't Support Deallocation Like VMs or Serverless Services?

moath Haimour 0 Reputation points
2025-05-01T14:19:04.2033333+00:00

I noticed that when using Azure Virtual Machines or Serverless SQL, I can stop or deallocate them to avoid being billed while they're not in use. But when using Azure App Service (like B1), stopping the app doesn’t stop billing — I have to delete the App Service Plan entirely to avoid charges. Why is that, and what's the reasoning behind how App Service handles billing differently from VMs or serverless compute?

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

1 answer

Sort by: Most helpful
  1. TP 118.5K Reputation points
    2025-05-01T14:43:49.7733333+00:00

    Hi,

    You are correct that you cannot stop an App Service Plan to avoid compute charges, however, you can switch to Free SKU. When it is set to Free there are no charges. While this isn't exactly the same as Deallocating a VM or Pausing SQL Serverless, it does offer a way to avoid charges without completely deleting the resource.

    In regards to "why" it is this way, there is no official explanation from Microsoft that I've ever seen. A partial reason I can suggest is, unlike Virtual Machines or Azure SQL Serverless SKU, App Services does not charge separately for storage (as those services do).

    In addition, there many different ways that Azure services are billed, more than just "bill for compute when running, and don't bill if Deallocated". They decide pricing/billing model for each service based on unique considerations of each.

    You could've asked (but didn't), "why doesn't App Service bill separately for HDD or SSD drives in use, like VMs do?" There are a ton of these possible questions if you consider all the different ways that various Azure services are billed.

    Please click Accept Answer and upvote if the above was helpful.

    Thanks.

    -TP


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.