Skip to main content

App Service Plan

An App Service Plan is the set of compute instances, defined by region, VM size, and pricing tier, that runs one or more Azure App Service apps. You are billed for the plan, not the apps, and every app in the plan shares its instances and scales together.

App Service Plan

An App Service Plan is the compute behind Azure App Service. It decides the region, the VM size, the number of instances, and the feature set, and any web app, API app, or function app assigned to it runs on those instances. Billing and scaling both happen at the plan level, so adding a second app to an existing plan costs nothing extra but shares the same CPU and memory.

What Are the App Service Plan Pricing Tiers?

The tier controls which features you get, not just how big the VMs are.

  • Free and Shared: Shared compute for experiments, with CPU quotas and no custom scaling.
  • Basic: Dedicated instances, manual scale, no deployment slots.
  • Standard: Adds autoscale and deployment slots.
  • Premium v3: Faster hardware, more instances, more slots, and zone redundancy.
  • Isolated v2: Runs in a dedicated App Service Environment inside your virtual network.
flowchart TD PLAN["App Service Plan
P1v3 x 2 instances"]:::tool PLAN -->|hosts| A["Admin dashboard"]:::app PLAN -->|hosts| B["Reporting API"]:::app PLAN -->|hosts| C["Internal wiki"]:::app classDef tool fill:#326CE5,color:#FFFFFF classDef app fill:#D1FAE5,color:#1E293B

How Do You Create a Plan and Add an App?

Bash
# Create a Linux plan with two Premium v3 instances
az appservice plan create --name mumbai-internal-plan \
--resource-group mumbai-prod-rg --location centralindia \
--sku P1V3 --is-linux --number-of-workers 2
# Deploy an app onto that plan
az webapp create --name rahul-admin-dashboard \
--resource-group mumbai-prod-rg --plan mumbai-internal-plan \
--runtime "NODE:20-lts"

Why It Matters in Production

A platform team at a company like Razorpay can pack low-traffic internal tools onto one shared plan to save money, while the customer-facing payments API gets its own plan so a traffic spike never starves it. Plan layout is one of the biggest levers on both cost and blast radius.

Common Mistake

Putting a production app and a load-tested staging app on the same plan. A stress test on one starves the other, and any scale-out cost applies to everything on the plan.

Remember

Autoscale and deployment slots require Standard tier or higher.

Frequently Asked Questions

Is an App Service Plan the same thing as an App Service?

No. The plan is the compute (VM size, instance count, tier) and the App Service app is the code that runs on it. One plan can host many apps, but each app belongs to exactly one plan.

Do function apps always need an App Service Plan?

No. Functions on the Consumption or Flex Consumption hosting options do not use an App Service Plan. A function app only uses one when you choose the Dedicated hosting option.

When should an app get its own plan?

Give an app its own plan when it is business critical, has a different scaling pattern from its neighbours, or needs a different region, OS, or tier. Shared plans suit small tools whose load is low and predictable.

Found a mistake, an outdated step or a broken link?