App Service Plan Density Check

2 minute read | By Khaled Zayed

App Service Plans define the compute resource assigned to run your App Service. The pricing tier of your App Service Plan determines the compute power and features you get… the higher the tier, the more features and compute power are available. To find out which features are supported in each pricing tier, see App Service Plan details.

When you deploy multiple App Services in the same App Service Plan, they all share the underlying compute resources. If your App Service Plan has more than the recommended number of apps, the apps will compete for the same set of resources. This will cause high CPU and memory that could result in availability and performance issues.

How to verify the App Service Plan density

In order to verify if your apps are possibly competing for resources, run the App Service Plan Density check detector by following these steps:

  1. From the Azure Portal, go to one of your Apps
  2. Go to the “Diagnose and solve problems” blade
  3. In the search bar, you can search for “Best Practices for Availability & Performance” to run multiple checks on your app or search for “App Service Plan density check” to run this check only

You will see one of the following notifications.

  • Your plan is within the recommended value


  • Your plan is nearing exhaustion


  1. Stop apps to decrease load

    In the description, the detector will recommend stopping a number of apps to be within the recommended number of apps on the respective pricing tier. The number may actually be lower depending on how resource intensive the hosted applications are, however as a general guidance, you may refer to the table below.

    Worker Size Max sites
    Small 8
    Medium 16
    Large 32

    Note: An active slot is also classified as an active app as it too is competing for resources on the same App Service Plan.

  2. Scale up your App Service Plan

    If your App Service Plan is on a Small/Medium tier, scaling up the plan will move the apps to a higher compute power with better CPU and memory. If you are not running on a Pv2 plan, Pv2 features Dv2-series VMs with faster processors, SSD storage, and double memory-to-core ratio compared to Standard.


  3. Split Apps in multiple App Service Plans

    If you have other App Service Plans that have been created in the same Resource Group and Region, you can move your app to one of those plans and decrease the load.


  4. Alternatively, you can migrate your app to a new App Service Plan by following the instructions below

    1. Create a new App Service Plan in the same resource group and location.
    2. Select a pricing tier that fits the performance and feature needs for your application.
    3. Navigate to the application in the Azure Portal whose app service plan you want to change.
    4. Select the “Change App Service Plan” tab from the left sidebar menu.
    5. Choose the newly created App Service Plan (created in Step 2).

Feel free to post any questions about App Service Plan Density Checks on the MSDN Forum.