Migrate from legacy VPN gateway SKUs
March 21, 2025 ยท View on GitHub
SYNOPSIS
Migrate from legacy SKUs to improve reliability and performance of VPN gateways.
DESCRIPTION
When deploying a VPN gateway a number of options are available including SKU/ size. The gateway SKU affects the reliance and performance of the underlying gateway instances. Previously the following SKUs were available however have been depreciated.
BasicStandardHighPerformance
The Standard and High Performance SKUs will be deprecated on September 30, 2025.
RECOMMENDATION
Consider redeploying VPN gateways using new SKUs to improve reliability and performance of gateways.
EXAMPLES
Configure with Azure template
To configure VPN gateways that pass this rule:
- Set
properties.gatewayTypetoVpn. - Set
properties.sku.nameandproperties.sku.tierto one of the following SKUs:VpnGw1VpnGw1AZVpnGw2VpnGw2AZVpnGw3VpnGw3AZVpnGw4VpnGw4AZVpnGw5VpnGw5AZ
For example:
{
"type": "Microsoft.Network/virtualNetworkGateways",
"apiVersion": "2023-11-01",
"name": "[parameters('name')]",
"location": "[parameters('location')]",
"properties": {
"gatewayType": "Vpn",
"ipConfigurations": [
{
"name": "default",
"properties": {
"privateIPAllocationMethod": "Dynamic",
"subnet": {
"id": "[parameters('subnetId')]"
},
"publicIPAddress": {
"id": "[parameters('pipId')]"
}
}
}
],
"activeActive": true,
"vpnType": "RouteBased",
"vpnGatewayGeneration": "Generation2",
"sku": {
"name": "VpnGw1AZ",
"tier": "VpnGw1AZ"
}
}
}
Configure with Bicep
To configure VPN gateways that pass this rule:
- Set
properties.gatewayTypetoVpn. - Set
properties.sku.nameandproperties.sku.tierto one of the following SKUs:VpnGw1VpnGw1AZVpnGw2VpnGw2AZVpnGw3VpnGw3AZVpnGw4VpnGw4AZVpnGw5VpnGw5AZ
For example:
resource vng 'Microsoft.Network/virtualNetworkGateways@2023-11-01' = {
name: name
location: location
properties: {
gatewayType: 'Vpn'
ipConfigurations: [
{
name: 'default'
properties: {
privateIPAllocationMethod: 'Dynamic'
subnet: {
id: subnetId
}
publicIPAddress: {
id: pipId
}
}
}
]
activeActive: true
vpnType: 'RouteBased'
vpnGatewayGeneration: 'Generation2'
sku: {
name: 'VpnGw1AZ'
tier: 'VpnGw1AZ'
}
}
}