Use availability zone SKU for ExpressRoute gateways#
Reliability · Virtual Network Gateway · Rule · 2021_12 · Important
Use availability zone SKU for virtual network gateways deployed with ExpressRoute gateway type.
Description#
ExpressRoute gateways can be deployed in Availability Zones with the following SKUs:
- ErGw1AZ
- ErGw2AZ
- ErGw3AZ
This brings resiliency, scalability, and higher availability to ExpressRoute gateways. Deploying ExpressRoute gateways in Azure Availability Zones physically and logically separates gateways within a region, while protecting your on-premises network connectivity to Azure from zone-level failures.
Recommendation#
Consider deploying ExpressRoute gateways with an availability zone SKU to improve reliability of virtual network gateways.
Notes#
ExpressRoute gateway availability zones are managed via Public IP addresses, and are flagged separately under the Azure.PublicIP.AvailabilityZone
rule.
Examples#
Configure with Azure template#
To configure an AZ SKU for an ExpressRoute gateway:
- Set
properties.gatewayType
to'ExpressRoute'
- Set
properties.sku.name
andproperties.sku.tier
to one of the following AZ SKUs:'ErGw1AZ'
'ErGw2AZ'
'ErGw3AZ'
For example:
{
"apiVersion": "2020-11-01",
"name": "[parameters('name')]",
"type": "Microsoft.Network/virtualNetworkGateways",
"location": "[parameters('location')]",
"dependsOn": [
"[concat('Microsoft.Network/publicIPAddresses/', parameters('newPublicIpAddressName'))]"
],
"tags": {},
"properties": {
"gatewayType": "ExpressRoute",
"ipConfigurations": [
{
"name": "default",
"properties": {
"privateIPAllocationMethod": "Dynamic",
"subnet": {
"id": "[parameters('subnetId')]"
},
"publicIpAddress": {
"id": "[resourceId('vpn-rg', 'Microsoft.Network/publicIPAddresses', parameters('newPublicIpAddressName'))]"
}
}
}
],
"vpnType": "[parameters('vpnType')]",
"vpnGatewayGeneration": "[parameters('vpnGatewayGeneration')]",
"sku": {
"name": "ErGw1AZ",
"tier": "ErGw1AZ"
}
}
}
Configure with Bicep#
To configure an AZ SKU for an ExpressRoute gateway:
- Set
properties.gatewayType
to'ExpressRoute'
- Set
properties.sku.name
andproperties.sku.tier
to one of the following AZ SKUs:'ErGw1AZ'
'ErGw2AZ'
'ErGw3AZ'
For example:
resource name_resource 'Microsoft.Network/virtualNetworkGateways@2020-11-01' = {
name: name
location: location
tags: {}
properties: {
gatewayType: 'ExpressRoute'
ipConfigurations: [
{
name: 'default'
properties: {
privateIPAllocationMethod: 'Dynamic'
subnet: {
id: subnetId
}
publicIPAddress: {
id: resourceId('vpn-rg', 'Microsoft.Network/publicIPAddresses', newPublicIpAddressName)
}
}
}
]
vpnType: vpnType
vpnGatewayGeneration: vpnGatewayGeneration
sku: {
name: 'ErGw1AZ'
tier: 'ErGw1AZ'
}
}
dependsOn: [
newPublicIpAddressName_resource
]
}
Links#
- Azure deployment reference
- About zone-redundant virtual network gateways in Azure Availability Zones
- ExpressRoute gateway SKUs
- Use zone-aware services