Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
An Azure App Service plan defines a set of compute resources for a web app to run. An app service always runs in an App Service plan. Azure Functions also has the option of running in an App Service plan.
Note
Starting June 1, 2024, newly created App Service apps can generate a unique default host name that uses the naming convention <app-name>-<random-hash>.<region>.azurewebsites.net
. For example: myapp-ds27dh7271aah175.westus-01.azurewebsites.net
. Existing app names remain unchanged.
For more information, see the blog post about creating a web app with a unique default host name.
When you create an App Service plan in a certain region, you create a set of compute resources for that plan in that region. Whatever apps you put into the App Service plan run on those compute resources, as defined in the plan.
Each App Service plan defines:
The pricing tier of an App Service plan determines what App Service features you get and how much you pay for the plan. The pricing tiers available to your App Service plan depend on the operating system that you select when you create it. This table shows the categories of pricing tiers:
Category | Tiers | Description |
---|---|---|
Shared compute | Free, Shared | Free and Shared, the two base tiers, run an app on the same Azure VM as other App Service apps, including apps of other customers. These tiers allocate CPU quotas to each app that runs on the shared resources. The resources can't scale out. These tiers are intended for only development and testing purposes. |
Dedicated compute | Basic, Standard, Premium, PremiumV2, PremiumV3 | The Basic, Standard, Premium, PremiumV2, and PremiumV3 tiers run apps on dedicated Azure VMs. Only apps in the same App Service plan share the same compute resources. The higher the tier, the more VM instances that are available to you for scale-out. |
Isolated | IsolatedV2 | The IsolatedV2 tier runs dedicated Azure VMs on dedicated Azure virtual networks. This tier provides network isolation on top of compute isolation to your apps. It provides the maximum scale-out capabilities. |
Each tier also provides a specific subset of App Service features. These features include custom domains and TLS/SSL certificates, autoscaling, deployment slots, backups, Azure Traffic Manager integration, and more. The higher the tier, the more features that are available. To find out which features are supported in each pricing tier, see the App Service plan details.
You can find more comparisons of plans in App Service limits.
The PremiumV3 pricing tier provides machines with faster processors (minimum 195 Azure Compute Units per virtual CPU), SSD storage, memory-optimized options, and quadruple memory-to-core ratio compared to the Standard tier.
PremiumV3 also supports higher scale by using increased instance count, while it still provides the advanced capabilities in the Standard tier. PremiumV3 includes all features available in the PremiumV2 tier.
Multiple VM sizes are available for this tier, including 4-to-1 and 8-to-1 memory-to-core ratios:
App Service plan | Cores (vCPU) | Memory (GiB) |
---|---|---|
P0v3 | 1 | 4 |
P1v3 | 2 | 8 |
P1mv3 | 2 | 16 |
P2v3 | 4 | 16 |
P2mv3 | 4 | 32 |
P3v3 | 8 | 32 |
P3mv3 | 8 | 64 |
P4mv3 | 16 | 128 |
P5mv3 | 32 | 256 |
For PremiumV3 pricing information, see App Service pricing.
To get started with the PremiumV3 pricing tier, see Configure PremiumV3 tier for Azure App Service.
In the Free and Shared tiers, an app receives CPU minutes on a shared VM instance and can't scale out.
In other tiers, an app runs and scales as follows:
In this way, the App Service plan is the scale unit of the App Service apps. If the plan is configured to run five VM instances, then all apps in the plan run on all five instances. If the plan is configured for autoscaling, then all apps in the plan are scaled out together, based on the autoscale settings.
For more information on scaling out an app, see Get started with autoscale in Azure.
This section describes how App Service apps are billed. For detailed, region-specific pricing information, see App Service pricing.
Except for the Free tier, an App Service plan carries a charge on the compute resources that it uses:
You aren't charged for using the App Service features that are available to you. These features include configuring custom domains, TLS/SSL certificates, deployment slots, and backups. The exceptions are:
If you integrate App Service with another Azure service, you might need to consider charges from that service. For example, if you use Azure Traffic Manager to scale your app geographically, Traffic Manager also charges you based on your usage. To estimate your cross-services cost in Azure, see Pricing calculator.
Tip
Azure services cost money. Microsoft Cost Management helps you set budgets and configure alerts to keep spending under control. You can analyze, manage, and optimize your Azure costs by using Cost Management. To learn more, see the quickstart on analyzing your costs.
You can scale your App Service plan up or down at any time. It's as simple as changing the pricing tier of the plan. You can choose a lower pricing tier at first, and then scale up later when you need more App Service features.
For example, you can start testing your web app in a Free-tier App Service plan and pay nothing. When you add your custom DNS name to the web app, just scale your plan up to the Shared tier. Later, when you want to create a TLS binding, scale your plan up to the Basic tier. When you want to have staging environments, scale up to the Standard tier. When you need more cores, memory, or storage, scale up to a bigger VM size in the same tier.
The same process works in reverse. When you no longer need the capabilities or features of a higher tier, you can scale down to a lower tier and save money.
For more information on scaling up an App Service plan, see Scale up an app in Azure App Service.
If your app is in the same App Service plan with other apps, you might want to improve the app's performance by isolating the compute resources. You can isolate the resources by moving the app to a separate App Service plan.
You pay for the computing resources that your App Service plan allocates as described in the earlier section about cost. You can potentially save money by putting multiple apps into one App Service plan. You can continue to add apps to an existing plan as long as the plan has enough resources to handle the load.
However, keep in mind that apps in the same App Service plan all share the same compute resources. To determine whether the new app has the necessary resources, you need to understand the capacity of the existing App Service plan, along with the expected load for the new app. Overloading an App Service plan can cause downtime for your new and existing apps. You can find more comparisons between plans at App Service limits.
Isolate your app in a new App Service plan when:
Note
An active slot is also classified as an active app because it's competing for resources in the same App Service plan.
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayTraining
Certification
Microsoft Certified: Azure Virtual Desktop Specialty - Certifications
Plan, deliver, manage, and monitor virtual desktop experiences and remote apps on Microsoft Azure for any device.