Azure App Service Plan

 


Intro

 


Documentation

 


Tips and Tidbits

 

  • In App Service, an app (Web Apps, API Apps, or Mobile Apps) always runs in an App Service plan.

  • An App Service plan defines a set of compute resources for a web app to run.

    • One or more apps can be configured to run on the same computing resources (or in the same App Service plan).

    • In addition, Azure Functions also has the option of running in an App Service plan.

  • If multiple apps are in the same App Service plan, they all share the same VM instances.

    • If you have multiple deployment slots for an app, all deployment slots also run on the same VM instances.

  • Each App Service plan defines:

    • Region (West US, East US, etc.)

    • Number of VM instances

    • Size of VM instances (Small, Medium, Large)

    • Pricing tier (Free, Shared, Basic, Standard, Premium, PremiumV2, Isolated, Consumption)

 

  • PHP 7.3 and .NET Core 3.1 runtime stacks are supported by the App Service plans platforms running on Linux or Windows.

  • Ruby 2.6 is supported only by App Service plans platforms running on Linux.

  • ASP.NET 4.7 is supported only by App Service plans platforms running on Windows.

  • az webapp list-runtimes --linux and az webapp list-runtimes commands can be used to view the latest languages and supported versions for App Service platforms

 


Tiers

  • Shared compute: Both Free and Shared share the resource pools of your apps with the apps of other customers.

    • These tiers allocate CPU quotas to each app that runs on the shared resources, and the resources can't scale out.

  • Dedicated compute: 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.

    • An app runs on all the VM instances configured in the App Service plan.

    • If you enable diagnostic logs, perform backups, or run WebJobs, they also use CPU cycles and memory on these VM instances.

    • The higher the tier, the more VM instances are available to you for scale-out.

  • Isolated: This tier runs dedicated Azure VMs on dedicated Azure Virtual Networks.

    • It provides network isolation on top of compute isolation to your apps.

    • It provides the maximum scale-out capabilities.

  • Consumption: This tier is only available to function apps. It scales the functions dynamically depending on workload.

  • Resources cannot scale out for the free or shared tier.

    • VM is shared with other customers' apps

  • Since you pay for the computing resources your App Service plan allocates, you can potentially save money by putting multiple apps into one App Service plan


Creating An App Service Plan

 

Â