Use production Application Gateway SKU

March 21, 2025 ยท View on GitHub

SYNOPSIS

Application Gateway should use a minimum instance size of Medium.

DESCRIPTION

An Application Gateway is offered in different versions v1 and v2. When deploying an Application Gateway v1, three different instance sizes are available: Small, Medium and Large.

Application Gateway v2, Standard_v2 and WAF_v2 SKUs don't offer different instance sizes.

RECOMMENDATION

Application Gateways using v1 SKUs should be deployed with an instance size of Medium or Large. Small instance sizes are intended for development and testing scenarios.

EXAMPLES

Configure with Azure template

To set the instance size for an Application Gateway V1:

  • Set properties.sku.name to Standard_Medium or Standard_Large.

For example:

{
    
  "name": "appGw-001",
  "type": "Microsoft.Network/applicationGateways",
  "apiVersion": "2019-09-01",
  "location": "[resourceGroup().location]",
  "zones": [
    "1",
    "2",
    "3"
  ],
  "tags": {},
  "properties": {
    "sku": {
      "capacity": 2,
      "name": "Standard_Large",
      "tier": "Standard"
    },
    "enableHttp2": false
  }

}

Configure with Bicep

To set the instance size for an Application Gateway V1:

  • Set properties.sku.name to Standard_Medium or Standard_Large.

For example:

resource name_resource 'Microsoft.Network/applicationGateways@2019-09-01' = {
  name: 'appGw-001'
  location: location
  zones: [
    '1'
    '2'
    '3'
  ]
  tags: {}
  properties: {
    sku: {
      capacity: 2
      name: 'Standard_Large'
      tier: 'Standard'
    }
    enableHttp2: false
  }
}