Skip to content

Commit 3605cbf

Browse files
Merge pull request #284563 from cherylmc/s2s-active
VPN Gateway active-active + SKU
2 parents f69d4f6 + 81947e2 commit 3605cbf

File tree

2 files changed

+36
-28
lines changed

2 files changed

+36
-28
lines changed

articles/vpn-gateway/tutorial-site-to-site-portal.md

Lines changed: 33 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: cherylmc
66
ms.author: cherylmc
77
ms.service: azure-vpn-gateway
88
ms.topic: tutorial
9-
ms.date: 04/16/2024
9+
ms.date: 08/13/2024
1010

1111
#customer intent: As a network engineer, I want to create a site-to-site VPN connection between my on-premises location and my Azure virtual network.
1212
---
@@ -30,9 +30,12 @@ In this tutorial, you:
3030
## Prerequisites
3131

3232
* You need an Azure account with an active subscription. If you don't have one, you can [create one for free](https://azure.microsoft.com/free/?ref=microsoft.com&utm_source=microsoft.com&utm_medium=docs&utm_campaign=visualstudio).
33-
* Make sure you have a compatible VPN device and someone who can configure it. For more information about compatible VPN devices and device configuration, see [About VPN devices](vpn-gateway-about-vpn-devices.md).
34-
* Verify that you have an externally facing public IPv4 address for your VPN device.
35-
* If you're unfamiliar with the IP address ranges located in your on-premises network configuration, you need to coordinate with someone who can provide those details for you. When you create this configuration, you must specify the IP address range prefixes that Azure will route to your on-premises location. None of the subnets of your on-premises network can overlap with the virtual network subnets that you want to connect to.
33+
34+
* If you're unfamiliar with the IP address ranges located in your on-premises network configuration, you need to coordinate with someone who can provide those details for you. When you create this configuration, you must specify the IP address range prefixes that Azure routes to your on-premises location. None of the subnets of your on-premises network can overlap with the virtual network subnets that you want to connect to.
35+
* VPN devices:
36+
* Make sure you have a compatible VPN device and someone who can configure it. For more information about compatible VPN devices and device configuration, see [About VPN devices](vpn-gateway-about-vpn-devices.md).
37+
* Verify that you have an externally facing public IPv4 address for your VPN device.
38+
* Verify that your VPN device supports active-active mode gateways. This article creates an active-active mode VPN gateway, which is recommended for highly available connectivity. Active-active mode specifies that both gateway VM instances are active and uses two public IP addresses, one for each gateway VM instance. You configure your VPN device to connect to the IP address for each gateway VM instance. If your VPN device doesn't support this mode, don't enable this mode for your gateway. For more information, see [Design highly available connectivity for cross-premises and VNet-to-VNet connections](vpn-gateway-highlyavailable.md) and [About active-active mode VPN gateways](about-active-active-gateways.md).
3639

3740
## <a name="CreatVNet"></a>Create a virtual network
3841

@@ -43,8 +46,7 @@ In this section, you create a virtual network by using the following values:
4346
* **Region**: (US) East US
4447
* **IPv4 address space**: 10.1.0.0/16
4548
* **Subnet name**: FrontEnd
46-
* **Subnet address space**: 10.1.0.0/24
47-
49+
* **Subnet address space**:
4850
[!INCLUDE [About cross-premises addresses](../../includes/vpn-gateway-cross-premises.md)]
4951

5052
[!INCLUDE [Create a virtual network](../../includes/vpn-gateway-basic-vnet-rm-portal-include.md)]
@@ -61,42 +63,45 @@ After you create your virtual network, you can optionally configure Azure DDoS P
6163

6264
## <a name="VNetGateway"></a>Create a VPN gateway
6365

64-
In this step, you create the virtual network gateway for your virtual network. Creating a gateway can often take 45 minutes or more, depending on the selected gateway SKU.
66+
In this step, you create a virtual network gateway (VPN gateway) for your virtual network. Creating a gateway can often take 45 minutes or more, depending on the selected gateway SKU.
6567

66-
### Create the gateway
68+
### Create a VPN gateway
6769

6870
Create a virtual network gateway (VPN gateway) by using the following values:
6971

7072
* **Name**: VNet1GW
71-
* **Region**: East US
7273
* **Gateway type**: VPN
73-
* **SKU**: VpnGw2
74+
* **SKU**: VpnGw2AZ
7475
* **Generation**: Generation 2
7576
* **Virtual network**: VNet1
7677
* **Gateway subnet address range**: 10.1.255.0/27
7778
* **Public IP address**: Create new
78-
* **Public IP address name**: VNet1GWpip
79-
* **Enable active-active mode**: Disabled
79+
* **Public IP address name:** VNet1GWpip1
80+
* **Public IP address SKU:** Standard
81+
* **Assignment:** Static
82+
* **Second Public IP address name:** VNet1GWpip2
83+
* **Enable active-active mode**: Enabled
8084
* **Configure BGP**: Disabled
8185

82-
[!INCLUDE [Create a vpn gateway](../../includes/vpn-gateway-add-gw-portal-include.md)]
86+
[!INCLUDE [Create a vpn gateway](../../includes/vpn-gateway-add-azgw-portal-include.md)]
8387

84-
[!INCLUDE [Configure PIP settings](../../includes/vpn-gateway-add-gw-pip-portal-include.md)]
88+
[!INCLUDE [Configure PIP settings](../../includes/vpn-gateway-add-azgw-pip-portal-include.md)]
8589

86-
A gateway can take 45 minutes or more to fully create and deploy. You can see the deployment status on the **Overview** page for your gateway. After the gateway is created, you can view the IP address assigned to it by looking at the virtual network in the portal. The gateway appears as a connected device.
90+
A gateway can take 45 minutes or more to fully create and deploy. You can see the deployment status on the **Overview** page for your gateway.
8791

8892
[!INCLUDE [NSG warning](../../includes/vpn-gateway-no-nsg-include.md)]
8993

90-
### <a name="view"></a>View the public IP address
94+
### <a name="view"></a>View public IP address
9195

92-
To view public IP addresses associated to your virtual network gateway, navigate to your gateway in the portal.
96+
To view the IP address associated with each virtual network gateway VM instance, go to your virtual network gateway in the portal.
9397

94-
1. On the portal page for your virtual network gateway, under **Settings**, open the **Properties** page.
98+
1. Go to your virtual network gateway **Properties** page (not the Overview page). You might need to expand **Settings** to see the **Properties** page in the list.
99+
1. If your gateway in active-passive mode, you'll only see one IP address. If your gateway is in active-active mode, you'll see two public IP addresses listed, one for each gateway VM instance. When you create a site-to-site connection, you must specify each IP address when configuring your VPN device because both gateway VMs are active.
95100
1. To view more information about the IP address object, click the associated IP address link.
96101

97102
## <a name="LocalNetworkGateway"></a>Create a local network gateway
98103

99-
The local network gateway is a specific object deployed to Azure that represents your on-premises location (the site) for routing purposes. You give the site a name by which Azure can refer to it, and then specify the IP address of the on-premises VPN device to which you create a connection. You also specify the IP address prefixes that are routed through the VPN gateway to the VPN device. The address prefixes you specify are the prefixes located on your on-premises network. If your on-premises network changes or you need to change the public IP address for the VPN device, you can easily update the values later.
104+
The local network gateway is a specific object deployed to Azure that represents your on-premises location (the site) for routing purposes. You give the site a name by which Azure can refer to it, and then specify the IP address of the on-premises VPN device to which you create a connection. You also specify the IP address prefixes that are routed through the VPN gateway to the VPN device. The address prefixes you specify are the prefixes located on your on-premises network. If your on-premises network changes or you need to change the public IP address for the VPN device, you can easily update the values later. You create a separate local network gateway for each VPN device that you want to connect to. Some highly available connectivity designs specify multiple on-premises VPN devices.
100105

101106
Create a local network gateway by using the following values:
102107

@@ -110,14 +115,17 @@ Create a local network gateway by using the following values:
110115

111116
Site-to-site connections to an on-premises network require a VPN device. In this step, you configure your VPN device. When you configure your VPN device, you need the following values:
112117

113-
* **Shared key**: This shared key is the same one that you specify when you create your site-to-site VPN connection. In our examples, we use a very simple shared key. We recommend that you generate a more complex key to use.
114-
* **Public IP address of your virtual network gateway**: You can view the public IP address by using the Azure portal, PowerShell, or the Azure CLI. To find the public IP address of your VPN gateway by using the Azure portal, go to **Virtual network gateways** and then select the name of your gateway.
118+
* **Shared key**: This shared key is the same one that you specify when you create your site-to-site VPN connection. In our examples, we use a simple shared key. We recommend that you generate a more complex key to use.
119+
* **Public IP addresses of your virtual network gateway instances**: Obtain the IP address for each VM instance. If your gateway is in active-active mode, you'll have an IP address for each gateway VM instance. Be sure to configure your device with both IP addresses, one for each active gateway VM. Active-standby mode gateways have only one IP address.
120+
121+
> [!NOTE]
122+
> [!INCLUDE [active-active establish two tunnels](../../includes/vpn-gateway-active-active-tunnel.md)]
115123
116124
[!INCLUDE [Configure a VPN device](../../includes/vpn-gateway-configure-vpn-device-include.md)]
117125

118126
## <a name="CreateConnection"></a>Create VPN connections
119127

120-
Create a site-to-site VPN connection between your virtual network gateway and your on-premises VPN device.
128+
Create a site-to-site VPN connection between your virtual network gateway and your on-premises VPN device. If you're using an active-active mode gateway (recommended), each gateway VM instance has a separate assigned IP address object. To properly configure [highly available connectivity](vpn-gateway-highlyavailable.md), you must connect each VM instance to your VPN device.
121129

122130
Create a connection by using the following values:
123131

@@ -161,9 +169,9 @@ Resetting an Azure VPN gateway is helpful if you lose cross-premises VPN connect
161169

162170
You can create a connection to multiple on-premises sites from the same VPN gateway. If you want to configure multiple connections, the address spaces can't overlap between any of the connections.
163171

164-
1. To add another connection, go to the VPN gateway and then select **Connections** to open the **Connections** page.
165-
1. Select **+ Add** to add your connection. Adjust the connection type to reflect either network-to-network (if connecting to another virtual network gateway) or site-to-site.
166-
1. If you're connecting by using site-to-site and you haven't already created a local network gateway for the site you want to connect to, you can create a new one.
172+
1. If you're connecting using a site-to-site VPN and you don't have a local network gateway for the site you want to connect to, create another site.
173+
1. To add a connection, go to the VPN gateway and then select **Connections** to open the **Connections** page.
174+
1. Select **+ Add** to add your connection. Adjust the connection type to reflect either VNet-to-VNet (if connecting to another virtual network gateway) or site-to-site.
167175
1. Specify the shared key that you want to use and then select **OK** to create the connection.
168176

169177
### Update a connection shared key

includes/vpn-gateway-add-site-to-site-connection-portal-include.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
author: cherylmc
3-
ms.service: azure-vpn-gateway
3+
ms.service: vpn-gateway
44
ms.topic: include
5-
ms.date: 04/16/2024
5+
ms.date: 08/13/2024
66
ms.author: cherylmc
77
---
8-
1. Go to your virtual network. On your virtual network page, in the left pane, select **Connected devices**. Locate your VPN gateway and select it to open it.
8+
1. In the portal, go to the virtual network gateway and open it.
99
1. On the page for the gateway, select **Connections**.
1010
1. At the top of the **Connections** page, select **+ Add** to open the **Create connection** page.
1111

0 commit comments

Comments
 (0)