Lesson 1 of 5 Azure App Service Plans and Web Apps

Choosing App Service Plans and Pricing Tiers

This lesson explains what an App Service plan defines and which features each pricing tier provides.

Learning outcomes

After completing this lesson, you will be able to:

  • Describe what an App Service plan defines and how it is billed.
  • Identify the features available in each pricing tier.
  • Explain when to place an app in its own plan.

What a plan defines

An App Service plan defines a set of compute resources: the region, the operating system (Windows or Linux), the pricing tier and instance size, and the number of instances. Every app assigned to the plan runs on all of its instances and shares their CPU and memory, together with its deployment slots, WebJobs, backups and diagnostic logging. In dedicated tiers, billing is per instance per hour, whether the apps are busy, idle or stopped; stopping an app does not stop the plan's charges.

Pricing tiers

Pricing tiers fall into three categories, and the tier decides which features are available. The following table summarizes the features that exam scenarios rely on.

TierComputeScale outKey features
Free (F1), Shared (D1)Shared VMs with CPU quotasNoDevelopment only; Shared adds custom domains, no TLS binding
Basic (B1-B3)DedicatedManual, up to 3 instancesCustom domains and TLS, backups, private endpoints, VNet integration
Standard (S1-S3)DedicatedAutoscale, up to 10 instancesDeployment slots (5)
Premium v3 / v4 (P0v3-P5mv4)Dedicated, faster hardwareAutoscale up to 30, automatic scalingDeployment slots (20), zone redundancy
IsolatedV2 (I1v2-I6v2)Dedicated in an App Service Environment v3Up to 100 instances per planNetwork isolation in your VNet

The App Service Environment v3 (ASE) is a single-tenant deployment of App Service inside a subnet of your VNet, for apps that need full network isolation or very high scale. Zone redundancy in Premium v2 and later tiers spreads a plan's instances across availability zones and requires at least two instances.

The following diagram compares App Service tiers against three requirements: custom domains with TLS, autoscale and deployment slots.

The lowest App Service tier that meets three requirements. Custom domains with TLS are available from Basic, but autoscale and deployment slots start at Standard, so S1 is the cheapest tier that meets every requirement. Premium v3 also works at a higher cost.
The scenario is illustrative.
Sort into groups

The lowest tier that works

Exam skills 3.4.1

Choose the lowest App Service tier that meets each requirement.

Log in to try this activity Interactive activities are free with an account.

Placing apps in plans

Several apps can share a plan to save money, but they then compete for resources and scale together. Give an app its own plan when it is resource-intensive, must scale independently, or needs a different region or tier. An app can be moved to another plan in the same resource group and region (and the same webspace) from the app's Change App Service plan page. A Windows app cannot move to a Linux plan or the reverse.

True or false

Apps and plans

Exam skills 3.4.1

Check how apps share and move between App Service plans.

Log in to try this activity Interactive activities are free with an account.
Worked example

Choosing a tier

A company hosts a public website that needs a custom domain with TLS, must scale out automatically during campaigns, and needs a staging environment for testing releases before they go live. Costs must be minimized. Which pricing tier should the App Service plan use?

Autoscale and deployment slots are first available in Standard, which also supports custom domains and TLS, so S1 is the lowest tier that meets every requirement. Basic supports custom domains and TLS but only manual scale out and no slots, and Premium v3 would work at a higher cost.

Check yourself

Does stopping every app in a Standard plan stop the plan's charges?

Show answer

No. Dedicated tiers are billed per instance whether apps run or not.

Exam Tips

Remember for the exam

  • All apps in a plan run on all its instances and share resources.
  • Dedicated tiers bill per instance, even when apps are stopped.
  • Standard is the lowest tier with autoscale and deployment slots.
  • Move an app only to a plan in the same resource group, region and OS.