Skip to content

Use App Service production SKU#

Performance Efficiency · App Service · Rule · 2020_06 · Important

Use at least a Standard App Service Plan.

Description#

Azure App Services provide a range of different plans that can be used to scale your application. Each plan provides different levels of performance and features.

To get you started a number of entry level plans are available. The Free, Shared, and Basic plans can be used for limited testing and development. However these plans are not suitable for production use. Production workloads are best suited to standard and premium plans with PremiumV3 the newest plan.

This rule does not apply to consumption or elastic App Services Plans used for Azure Functions.

Recommendation#

Consider using a standard or premium plan for hosting apps on Azure App Service.

Examples#

Configure with Azure template#

To deploy App Services Plans that pass this rule:

  • Set sku.tier to a plan equal to or greater than Standard. For example: PremiumV3, PremiumV2, Premium, Standard

For example:

Azure Template snippet
{
    "type": "Microsoft.Web/serverfarms",
    "apiVersion": "2022-09-01",
    "name": "[parameters('planName')]",
    "location": "[parameters('location')]",
    "sku": {
        "name": "S1",
        "tier": "Standard",
        "capacity": 2
    }
}

Configure with Bicep#

To deploy App Services Plans that pass this rule:

  • Set sku.tier to a plan equal to or greater than Standard. For example: PremiumV3, PremiumV2, Premium, Standard

For example:

Azure Bicep snippet
resource plan 'Microsoft.Web/serverfarms@2022-09-01' = {
  name: planName
  location: location
  sku: {
    name: 'S1'
    tier: 'Standard'
    capacity: 2
  }
}

Comments