You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: 'Create a zone-redundant virtual network gateway in Azure Availability Zones'
3
-
description: Learn how to deploy zone-redundant VPN Gateways and ExpressRoute gateways in Azure Availability Zones.
2
+
title: 'Create a zone-redundant virtual network gateway in Azure availability zones'
3
+
description: Learn how to deploy zone-redundant VPN Gateways and ExpressRoute gateways in Azure availability zones.
4
4
titleSuffix: Azure VPN Gateway
5
5
author: cherylmc
6
6
ms.service: vpn-gateway
7
7
ms.topic: how-to
8
-
ms.date: 09/03/2020
8
+
ms.date: 03/15/2024
9
9
ms.author: cherylmc
10
10
ms.custom: devx-track-azurepowershell
11
11
12
12
---
13
-
# Create a zone-redundant virtual network gateway in Azure Availability Zones
13
+
# Create a zone-redundant virtual network gateway in availability zones
14
14
15
-
You can deploy VPN and ExpressRoute gateways in Azure Availability Zones. This brings resiliency, scalability, and higher availability to virtual network gateways. Deploying 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. For information, see [About zone-redundant virtual network gateways](about-zone-redundant-vnet-gateways.md)and [About Azure Availability Zones](../availability-zones/az-overview.md).
15
+
You can deploy VPN and ExpressRoute gateways in Azure availability zones. This brings resiliency, scalability, and higher availability to virtual network gateways. Deploying gateways in availability zones physically and logically separates gateways within a region, while protecting your on-premises network connectivity to Azure from zone-level failures. For more information, see [About zone-redundant virtual network gateways](about-zone-redundant-vnet-gateways.md), [What are availability zones?](../reliability/availability-zones-overview.md), and [Availability zone service and regional support](../reliability/availability-zones-service-support.md).
16
16
17
-
## Before you begin
17
+
## Azure portal workflow
18
+
19
+
This section outlines the basic workflow to specify a zone-redundant gateway for an Azure VPN gateway.
20
+
21
+
### VPN Gateway
22
+
23
+
Create a virtual network and configure a virtual network gateway using these steps: [Create a VPN gateway](tutorial-create-gateway-portal.md#VNetGateway). When creating the gateway, configure the appropriate SKU and availability zone settings.
24
+
25
+
***SKU**: Select an "AZ" SKU from the dropdown. For example, **VpnGw2AZ**. If you don't select an AZ SKU, you can't configure an availability zone setting.
26
+
27
+
:::image type="content" source="./media/create-zone-redundant-vnet-gateway/vpn-gateway.png" alt-text="Screenshot shows the VPN Gateway SKU selection to select an availability zone SKU." lightbox="./media/create-zone-redundant-vnet-gateway/vpn-gateway.png":::
28
+
29
+
***Availability zone**: Select the Availability zone from the dropdown.
30
+
31
+
:::image type="content" source="./media/create-zone-redundant-vnet-gateway/zone.png" alt-text="Screenshot shows the availability zone dropdown to select an availability zone." lightbox="./media/create-zone-redundant-vnet-gateway/zone.png":::
32
+
33
+
### ExpressRoute
34
+
35
+
For an ExpressRoute gateway, follow the [ExpressRoute documentation](../expressroute/configure-expressroute-private-peering.md), selecting the proper [ExpressRoute gateway zone-redundant SKU](../expressroute/expressroute-about-virtual-network-gateways.md#gwsku).
36
+
37
+
***SKU**: Select an "AZ" SKU from the dropdown. For example, **ErGw2AZ**. If you don't select an AZ SKU, you can't configure an availability zone setting.
38
+
39
+
:::image type="content" source="./media/create-zone-redundant-vnet-gateway/expressroute.png" alt-text="Screenshot shows the SKU selection to select an availability zone SKU." lightbox="./media/create-zone-redundant-vnet-gateway/expressroute.png":::
40
+
***Availability zone**: Select the Availability zone from the dropdown.
41
+
42
+
:::image type="content" source="./media/create-zone-redundant-vnet-gateway/expressroute-zone.png" alt-text="Screenshot shows the availability zone selection to select an availability zone." lightbox="./media/create-zone-redundant-vnet-gateway/expressroute-zone.png":::
## <aname="variables"></a>1. Declare your variables
48
+
###<aname="variables"></a>1. Declare your variables
22
49
23
-
Declare the variables that you want to use. Use the following sample, substituting the values for your own when necessary. If you close your PowerShell/Cloud Shell session at any point during the exercise, just copy and paste the values again to re-declare the variables. When specifying location, verify that the region you specify is supported. For more information, see the [FAQ](#faq).
50
+
Declare the variables that you want to use. Use the following sample, substituting the values for your own when necessary. If you close your PowerShell/Cloud Shell session at any point during the exercise, just copy and paste the values again to redeclare the variables. When specifying location, verify that the region you specify is supported. For more information, see [Availability zone service and regional support](../reliability/availability-zones-service-support.md).
24
51
25
52
```azurepowershell-interactive
26
53
$RG1 = "TestRG1"
27
54
$VNet1 = "VNet1"
28
-
$Location1 = "CentralUS"
55
+
$Location1 = "EastUS"
29
56
$FESubnet1 = "FrontEnd"
30
57
$BESubnet1 = "Backend"
31
58
$GwSubnet1 = "GatewaySubnet"
@@ -38,7 +65,7 @@ $GwIP1 = "VNet1GWIP"
38
65
$GwIPConf1 = "gwipconf1"
39
66
```
40
67
41
-
## <aname="configure"></a>2. Create the virtual network
68
+
###<aname="configure"></a>2. Create the virtual network
The gateway subnet contains the reserved IP addresses that the virtual network gateway services use. Use the following examples to add and set a gateway subnet:
60
87
@@ -70,75 +97,49 @@ Set the gateway subnet configuration for the virtual network.
70
97
```azurepowershell-interactive
71
98
$getvnet | Set-AzVirtualNetwork
72
99
```
73
-
## <aname="publicip"></a>4. Request a public IP address
74
-
100
+
101
+
### <aname="publicip"></a>4. Request a public IP address
102
+
75
103
In this step, choose the instructions that apply to the gateway that you want to create. The selection of zones for deploying the gateways depends on the zones specified for the public IP address.
Request a public IP address with a **Standard** PublicIpaddress SKU and do not specify any zone. In this case, the Standard public IP address created will be a zone-redundant public IP.
107
+
Request a public IP address with a **Standard** PublicIpaddress SKU and don't specify any zone. In this case, the Standard public IP address created is a zone-redundant public IP.
Request a public IP address with a **Standard** PublicIpaddress SKU. Specify the zone (1, 2 or 3). All gateway instances will be deployed in this zone.
115
+
Request a public IP address with a **Standard** PublicIpaddress SKU. Specify the zone (1, 2 or 3). All gateway instances are deployed in this zone.
Request a public IP address with a **Basic** PublicIpaddress SKU. In this case, the gateway is deployed as a regional gateway and does not have any zone-redundancy built into the gateway. The gateway instances are created in any zones, respectively.
### What will change when I deploy these new SKUs?
127
-
128
-
From your perspective, you can deploy your gateways with zone-redundancy. This means that all instances of the gateways will be deployed across Azure Availability Zones, and each Availability Zone is a different fault and update domain. This makes your gateways more reliable, available, and resilient to zone failures.
129
-
130
-
### Can I use the Azure portal?
131
-
132
-
Yes, you can use the Azure portal to deploy the new SKUs. However, you will see these new SKUs only in those Azure regions that have Azure Availability Zones.
133
-
134
-
### What regions are available for me to use the new SKUs?
135
-
136
-
See [Availability Zones](../availability-zones/az-region.md) for the latest list of available regions.
137
-
138
-
### Can I change/migrate/upgrade my existing virtual network gateways to zone-redundant or zonal gateways?
139
-
140
-
Migrating your existing virtual network gateways to zone-redundant or zonal gateways is currently not supported. You can, however, delete your existing gateway and re-create a zone-redundant or zonal gateway.
141
-
142
-
### Can I deploy both VPN and Express Route gateways in same virtual network?
143
+
## Next steps
143
144
144
-
Co-existence of both VPN and Express Route gateways in the same virtual network is supported. However, you should reserve a /27 IP address range for the gateway subnet.
145
+
See the [VPN Gateway](index.yml) and [ExpressRoute](../expressroute/index.yml) pages for other configuration information.
0 commit comments