Skip to content

Use production Application Gateway SKU#

Operational Excellence · Application Gateway · Rule · 2020_06 · Important

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:

Azure Template snippet
{

  "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:

Azure Bicep snippet
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
  }
}

Comments