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
Copy file name to clipboardExpand all lines: articles/vpn-gateway/tutorial-create-gateway-portal.md
+30-25Lines changed: 30 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,13 +6,13 @@ author: cherylmc
6
6
ms.author: cherylmc
7
7
ms.service: vpn-gateway
8
8
ms.topic: tutorial
9
-
ms.date: 04/17/2024
9
+
ms.date: 07/05/2024
10
10
11
11
---
12
12
13
-
# Tutorial: Create and manage a VPN gateway by using the Azure portal
13
+
# Tutorial: Create and manage a VPN gateway using the Azure portal
14
14
15
-
This tutorial helps you create and manage a virtual network gateway (VPN gateway) by using the Azure portal. The VPN gateway is just one part of a connection architecture to help you securely access resources within a virtual network.
15
+
This tutorial helps you create and manage a virtual network gateway (VPN gateway) using the Azure portal. The VPN gateway is one part of the connection architecture that helps you securely access resources within a virtual network using VPN Gateway.
16
16
17
17
:::image type="content" source="./media/tutorial-create-gateway-portal/gateway-diagram.png" alt-text="Diagram that shows a virtual network and a VPN gateway." lightbox="./media/tutorial-create-gateway-portal/gateway-diagram-expand.png":::
18
18
@@ -36,66 +36,73 @@ You need an Azure account with an active subscription. If you don't have one, [c
36
36
37
37
## <aname="CreatVNet"></a>Create a virtual network
38
38
39
-
Create a virtual network by using the following values:
39
+
Create a virtual network using the following example values:
40
40
41
41
***Resource group:** TestRG1
42
42
***Name:** VNet1
43
-
***Region:** (US) East US
43
+
***Region:** (US) East US (or region of your choosing)
44
44
***IPv4 address space:** 10.1.0.0/16
45
45
***Subnet name:** FrontEnd
46
46
***Subnet address space:** 10.1.0.0/24
47
47
48
48
[!INCLUDE [Create a VNet](../../includes/vpn-gateway-basic-vnet-rm-portal-include.md)]
49
49
50
-
After you create your virtual network, you can optionally configure Azure DDoS Protection. Protection is simple to enable on any new or existing virtual network, and it requires no application or resource changes. For more information about Azure DDoS Protection, see [What is Azure DDoS Protection?](../ddos-protection/ddos-protection-overview.md).
50
+
After you create your virtual network, you can optionally configure Azure DDoS Protection. Protection is simple to enable on any new or existing virtual network, and it requires no application or resource changes. For more information about Azure DDoS Protection, see [What is Azure DDoS Protection](../ddos-protection/ddos-protection-overview.md).
51
51
52
52
## Create a gateway subnet
53
53
54
54
The virtual network gateway requires a specific subnet named **GatewaySubnet**. The gateway subnet is part of the IP address range for your virtual network and contains the IP addresses that the virtual network gateway resources and services use. Specify a gateway subnet that's /27 or larger.
In this step, you create the 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.
62
+
In this section, you create the 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.
61
63
62
-
Create a virtual network gateway by using the following values:
64
+
Create a gateway using the following values:
63
65
64
66
***Name**: VNet1GW
65
-
***Region**: East US
66
67
***Gateway type**: VPN
67
-
***SKU**: VpnGw2
68
+
***SKU**: VpnGw2AZ
68
69
***Generation**: Generation 2
69
70
***Virtual network**: VNet1
70
71
***Gateway subnet address range**: 10.1.255.0/27
71
72
***Public IP address**: Create new
72
-
***Public IP address name**: VNet1GWpip
73
-
74
-
For this exercise, you won't select a zone-redundant SKU. If you want to learn about zone-redundant SKUs, see [About zone-redundant virtual network gateways](about-zone-redundant-vnet-gateways.md). Additionally, these steps aren't intended to configure an active-active gateway. For more information, see [Configure active-active gateways](active-active-portal.md).
73
+
***Public IP address name:** VNet1GWpip1
74
+
***Public IP address SKU:** Standard
75
+
***Assignment:** Static
76
+
***Second Public IP address name:** VNet1GWpip2
75
77
76
-
[!INCLUDE [Create a vpn gateway](../../includes/vpn-gateway-add-gw-portal-include.md)]
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.
You can view the gateway public IP address on the **Overview** page for your gateway. The public IP address is used when you configure a site-to-site connection to your VPN gateway.
83
+
## <aname="view"></a>View public IP address
86
84
87
-
:::image type="content" source="./media/tutorial-create-gateway-portal/address.png" alt-text="Screenshot that shows the Overview page used to view the Public IP address field." lightbox="./media/tutorial-create-gateway-portal/address.png":::
85
+
To view public IP addresses associated to your virtual network gateway, navigate to your gateway in the portal.
88
86
89
-
To see more information about the public IP address object, select the name/IP address link next to **Public IP address**.
87
+
1. On the portal page for your virtual network gateway, under **Settings**, open the **Properties** page.
88
+
1. To view more information about the IP address object, click the associated IP address link.
90
89
91
90
## <aname="resize"></a>Resize a gateway SKU
92
91
93
92
There are specific rules for resizing versus changing a gateway SKU. In this section, you resize the SKU. For more information, see [Resize or change gateway SKUs](about-gateway-skus.md#resizechange).
94
93
95
-
[!INCLUDE [resize a gateway](../../includes/vpn-gateway-resize-gw-portal-include.md)]
94
+
The basic steps are:
95
+
96
+
1. Go to the **Configuration** page for your virtual network gateway.
97
+
1. On the right side of the page, select the dropdown arrow to show a list of available SKUs. Notice that the list only populates SKUs that you're able to use to resize your current SKU. If you don't see the SKU you want to use, instead of resizing, you have to change to a new SKU.
98
+
1. Select the SKU from the dropdown list and save your changes.
96
99
97
100
## <aname="reset"></a>Reset a gateway
98
101
102
+
Gateway resets behave differently, depending on your gateway configuration. For more information, see [Reset a VPN gateway or a connection](reset-gateway.md).
103
+
104
+
The basic steps are:
105
+
99
106
[!INCLUDE [reset a gateway](../../includes/vpn-gateway-reset-gw-portal-include.md)]
100
107
101
108
## Clean up resources
@@ -104,9 +111,7 @@ If you're not going to continue to use this application or go to the next tutori
104
111
these resources.
105
112
106
113
1. Enter the name of your resource group in the **Search** box at the top of the portal and select it from the search results.
107
-
108
114
1. Select **Delete resource group**.
109
-
110
115
1. Enter your resource group for **TYPE THE RESOURCE GROUP NAME** and select **Delete**.
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.
@@ -81,17 +83,16 @@ Create a virtual network gateway (VPN gateway) by using the following values:
You can see the deployment status on the **Overview** page for your gateway. A gateway can take up to 45 minutes to fully create and deploy. After the gateway is created, you can view the IP address that was assigned to it by looking at the virtual network in the portal. The gateway appears as a connected device.
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.
You can view the gateway public IP address on the **Overview** page for your gateway.
91
-
92
-
:::image type="content" source="./media/tutorial-create-gateway-portal/address.png" alt-text="Screenshot that shows the public IP address." lightbox= "./media/tutorial-create-gateway-portal/address.png":::
92
+
To view public IP addresses associated to your virtual network gateway, navigate to your gateway in the portal.
93
93
94
-
To see more information about the public IP address object, select the name/IP address link next to **Public IP address**.
94
+
1. On the portal page for your virtual network gateway, under **Settings**, open the **Properties** page.
95
+
1. To view more information about the IP address object, click the associated IP address link.
95
96
96
97
## <aname="LocalNetworkGateway"></a>Create a local network gateway
# The numbers in this include are correct. They add on to sections in multiple articles that are already numbered.
9
+
---
10
+
3. Specify the values for **Public IP address**. These settings specify the public IP address objects that will be associated to the VPN gateway. A public IP address is assigned to each public IP address object when the VPN gateway is created. The only time the assigned public IP address changes is when the gateway is deleted and re-created. IP addresses don't change across resizing, resetting, or other internal maintenance/upgrades of your VPN gateway.
11
+
12
+
:::image type="content" source="./media/vpn-gateway-add-azgw-pip-portal/active-az-values.png" alt-text="Screenshot that shows the Public IP address field." lightbox="./media/vpn-gateway-add-gw-pip-portal/pip-values.png":::
13
+
14
+
***Public IP address type**: If this option appears, select **Standard**.
15
+
16
+
***Public IP address**: Leave **Create new** selected.
17
+
***Public IP address name**: In the text box, enter a name for your public IP address instance.
18
+
***Public IP address SKU**: Setting is autoselected to Standard SKU.
19
+
***Assignment**: The assignment is typically autoselected and should be Static.
20
+
***Availability zone**: Select Zone-redundant, unless you know you want to specify a zone.
21
+
***Enable active-active mode**: Select **Enabled**. This creates an [active-active](../articles/vpn-gateway/vpn-gateway-highlyavailable.md#active-active-vpn-gateways) gateway configuration.
22
+
***Second public IP address:** Select **Create new**.
23
+
***Public IP address name**: In the text box, enter a name for your public IP address instance.
24
+
***Public IP address SKU**: Setting is autoselected to Standard SKU.
25
+
***Availability zone**: Select Zone-redundant, unless you know you want to specify a zone.
26
+
***Configure BGP:** Select Disabled unless your configuration specifically requires this setting. If you do require this setting, the default ASN is 65515, although this value can be changed.
27
+
4. Select **Review + create** to run validation.
28
+
5. After validation passes, select **Create** to deploy the VPN gateway.
1. In **Search resources, services, and docs (G+/)**, enter **virtual network gateway**. Locate **Virtual network gateway** in the **Marketplace** search results and select it to open the **Create virtual network gateway** page.
11
+
12
+
2. On the **Basics** tab, fill in the values for **Project details** and **Instance details**.
13
+
14
+
:::image type="content" source="./media/vpn-gateway-add-azgw-portal/instance-details.png" alt-text="Screenshot that shows the Instance fields." lightbox="./media/vpn-gateway-add-azgw-portal/instance-details.png":::
15
+
16
+
***Subscription**: Select the subscription you want to use from the dropdown list.
17
+
***Resource group**: This value is autofilled when you select your virtual network on this page.
18
+
***Name**: This is the name of the gateway object you're creating. This is different than the gateway subnet to which gateway resources will be deployed.
19
+
***Region**: Select the region in which you want to create this resource. The region for the gateway must be the same as the virtual network.
20
+
***Gateway type**: Select **VPN**. VPN gateways use the virtual network gateway type **VPN**.
21
+
***SKU**: From the dropdown list, select the gateway SKU that supports the features you want to use. We suggest selecting an **AZ** SKU such as VpnGw2AZ. At this time, The Basic SKU can only be configured using Azure CLI or PowerShell. For more information about SKUs, see [Gateway SKUs](../articles/vpn-gateway/vpn-gateway-about-vpn-gateway-settings.md#gwsku).
22
+
***Generation**: Select **Generation2** from the dropdown.
23
+
***Virtual network**: From the dropdown list, select the virtual network to which you want to add this gateway. If you can't see the virtual network you want to use, make sure you selected the correct subscription and region in the previous settings.
24
+
***Gateway subnet address range** or **Subnet**: The gateway subnet is required to create a VPN gateway.
25
+
26
+
Currently, this field can show different settings options, depending on the virtual network address space and whether you already created a subnet named **GatewaySubnet** for your virtual network.
27
+
28
+
If you don't have a gateway subnet *and* you don't see the option to create one on this page, go back to your virtual network and create the gateway subnet. Then, return to this page and configure the VPN gateway.
0 commit comments