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/nat-gateway/tutorial-migrate-ilip-nat.md
+33-31Lines changed: 33 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,22 +1,23 @@
1
1
---
2
-
title: 'Tutorial: Migrate a virtual machine public IP address to NAT gateway'
2
+
title: 'Tutorial: Migrate a virtual machine public IP address to a NAT gateway'
3
3
titleSuffix: Azure NAT Gateway
4
-
description: Learn how to migrate your virtual machine public IP to a NAT gateway.
4
+
description: Use this tutorial to learn how to migrate your virtual machine public IP address to an Azure NAT Gateway.
5
5
author: asudbring
6
6
ms.author: allensu
7
7
ms.service: nat-gateway
8
8
ms.topic: tutorial
9
-
ms.date: 5/25/2022
9
+
ms.date: 02/14/2024
10
10
ms.custom: template-tutorial
11
+
# Customer intent: As a network engineer, I want to migrate my virtual machine public IP address to a NAT gateway to improve outbound connectivity.
11
12
---
12
13
13
14
# Tutorial: Migrate a virtual machine public IP address to Azure NAT Gateway
14
15
15
-
In this article, you'll learn how to migrate your virtual machine's public IP address to a NAT gateway. You'll learn how to remove the IP address from the virtual machine. You'll reuse the IP address from the virtual machine for the NAT gateway.
16
+
In this tutorial, you learn how to migrate your virtual machine's public IP address to a NAT gateway. You learn how to remove the IP address from the virtual machine. You reuse the IP address from the virtual machine for the NAT gateway.
16
17
17
-
Azure NAT Gateway is the recommended method for outbound connectivity. Azure NAT Gateway is a fully managed and highly resilient Network Address Translation (NAT) service. A NAT gateway doesn't have the same limitations of SNAT port exhaustion as default outbound access. A NAT gateway replaces the need for a virtual machine to have a public IP address to have outbound connectivity.
18
+
Azure NAT Gateway is the recommended method for outbound connectivity. Azure NAT Gateway is a fully managed and highly resilient Network Address Translation (NAT) service. A NAT gateway doesn't have the same limitations of Source Network Address Translation (SNAT) port exhaustion as default outbound access. A NAT gateway replaces the need for a virtual machine to have a public IP address to have outbound connectivity.
18
19
19
-
For more information about Azure NAT Gateway, see [What is Azure NAT Gateway](nat-overview.md)
20
+
For more information about Azure NAT Gateway, see [What is Azure NAT Gateway?](nat-overview.md)
20
21
21
22
In this tutorial, you learn how to:
22
23
@@ -37,52 +38,53 @@ In this tutorial, you learn how to:
37
38
38
39
## Remove public IP from virtual machine
39
40
40
-
In this section, you'll learn how to remove the public IP address from the virtual machine.
41
+
In this section, you learn how to remove the public IP address from the virtual machine.
41
42
42
43
1. Sign in to the [Azure portal](https://portal.azure.com).
43
44
44
-
2. In the search box at the top of the portal, enter **Virtual machine**. Select **Virtual machines**.
45
+
1. In the search box at the top of the portal, enter **Virtual machine**. Select **Virtual machines**.
45
46
46
-
3. In **Virtual machines**, select **myVM** or your virtual machine.
47
+
1. In **Virtual machines**, select **myVM** or your virtual machine.
47
48
48
-
4. In the **Overview** of **myVM**, select **Public IP address**.
49
+
1. In the **Overview** of **myVM**, select **Public IP address**.
49
50
50
51
:::image type="content" source="./media/tutorial-migrate-ilip-nat/select-public-ip.png" alt-text="Screenshot of virtual machines public IP address.":::
51
52
52
-
5. In **myPublicIP**, select the **Overview** page in the left-hand column.
53
+
1. In **myPublicIP**, select the **Overview** page in the left-hand column.
53
54
54
-
6. In **Overview**, select **Dissociate**.
55
+
1. In **Overview**, select **Dissociate**.
55
56
56
57
:::image type="content" source="./media/tutorial-migrate-ilip-nat/remove-public-ip.png" alt-text="Screenshot of virtual machines public IP address overview and removal of IP address.":::
57
58
58
-
7. Select **Yes** in **Dissociate public IP address**.
59
+
1. Select **Yes** in **Dissociate public IP address**.
59
60
60
61
### (Optional) Upgrade IP address
61
62
62
-
The NAT gateway resource requires a standard SKU public IP address. In this section, you'll upgrade the IP you removed from the virtual machine in the previous section. If the IP address you removed is already a standard SKU public IP, you can proceed to the next section.
63
+
The NAT gateway resource requires a standard public IP address. In this section, you upgrade the IP you removed from the virtual machine in the previous section. If the IP address you removed is already a standard public IP, you can proceed to the next section.
63
64
64
65
1. In the search box at the top of the portal, enter **Public IP**. Select **Public IP addresses**.
65
66
66
-
2. In **Public IP addresses**, select **myPublicIP** or your basic SKU IP address.
67
+
1. In **Public IP addresses**, select **myPublicIP** or your basic IP address.
67
68
68
-
3. In the **Overview** of **myPublicIP**, select the IP address upgrade banner.
69
+
1. In the **Overview** of **myPublicIP**, select the IP address upgrade banner.
69
70
70
71
:::image type="content" source="./media/tutorial-migrate-ilip-nat/select-upgrade-banner.png" alt-text="Screenshot of public IP address upgrade banner.":::
71
72
72
-
4. In **Upgrade to Standard SKU**, select the box next to **I acknowledge**. Select the **Upgrade** button.
73
+
1. In **Upgrade to Standard SKU**, select the box next to **I acknowledge**. Select the **Upgrade** button.
73
74
74
75
:::image type="content" source="./media/tutorial-migrate-ilip-nat/upgrade-public-ip.png" alt-text="Screenshot of upgrade public IP address selection.":::
75
76
76
-
5. When the upgrade is complete, proceed to the next section.
77
+
1. When the upgrade is complete, proceed to the next section.
78
+
77
79
## Create NAT gateway
78
80
79
-
In this section, you’ll create a NAT gateway with the IP address you previously removed from the virtual machine. You'll assign the NAT gateway to your pre-created subnet within your virtual network. The subnet name for this example is **default**.
81
+
In this section, you create a NAT gateway with the IP address you previously removed from the virtual machine. You assign the NAT gateway to your precreated subnet within your virtual network. The subnet name for this example is **default**.
80
82
81
83
1. In the search box at the top of the portal, enter **NAT gateway**. Select **NAT gateways**.
82
84
83
-
2. In **NAT gateways**, select **+ Create**.
85
+
1. In **NAT gateways**, select **+ Create**.
84
86
85
-
3. In **Create network address translation (NAT) gateway**, enter or select the following information in the **Basics** tab.
87
+
1. In **Create network address translation (NAT) gateway**, enter or select the following information in the **Basics** tab.
86
88
87
89
| Setting | Value |
88
90
| ------- | ----- |
@@ -93,21 +95,21 @@ In this section, you’ll create a NAT gateway with the IP address you previousl
93
95
| NAT gateway name | Enter **myNATgateway**. |
94
96
| Region | Select the region of your virtual network. In this example, it's **West US 2**. |
95
97
| Availability zone | Leave the default of **None**. |
96
-
| Idle timeout (minutes) |Enter **10**. |
98
+
| Idle timeout (minutes) |Leave the default setting. |
97
99
98
-
4. Select the **Outbound IP** tab, or select **Next: Outbound IP** at the bottom of the page.
100
+
1. Select the **Outbound IP** tab, or select **Next: Outbound IP** at the bottom of the page.
99
101
100
-
5. In **Public IP addresses** in the **Outbound IP** tab, select the IP address from the previous section in **Public IP addresses**. In this example, it's **myPublicIP**.
102
+
1. In **Public IP addresses** in the **Outbound IP** tab, select the IP address from the previous section in **Public IP addresses**. In this example, it's **myPublicIP**.
101
103
102
-
6. Select the **Subnet** tab, or select **Next: Subnet** at the bottom of the page.
104
+
1. Select the **Subnet** tab, or select **Next: Subnet** at the bottom of the page.
103
105
104
-
7. In the pull-down box for **Virtual network**, select your virtual network.
106
+
1. In the pull-down box for **Virtual network**, select your virtual network.
105
107
106
-
8. In **Subnet name**, select the checkbox for your subnet. In this example, it's **default**.
108
+
1. In **Subnet name**, select the checkbox for your subnet. In this example, it's **default**.
107
109
108
-
9. Select the **Review + create** tab, or select **Review + create** at the bottom of the page.
110
+
1. Select the **Review + create** tab, or select **Review + create** at the bottom of the page.
109
111
110
-
10. Select **Create**.
112
+
1. Select **Create**.
111
113
112
114
## Clean up resources
113
115
@@ -121,15 +123,15 @@ If you're not going to continue to use this application, delete the NAT gateway
121
123
122
124
4. Enter **myResourceGroup** and select **Delete**.
123
125
124
-
## Next steps
126
+
## Next step
125
127
126
128
In this article, you learned how to:
127
129
128
130
* Remove a public IP address from a virtual machine.
129
131
130
132
* Create a NAT gateway and use the public IP address from the virtual machine for the NAT gateway resource.
131
133
132
-
Any virtual machine created within this subnet won't require a public IP address and will automatically have outbound connectivity. For more information about NAT gateway and the connectivity benefits it provides, see [Design virtual networks with NAT gateway](nat-gateway-resource.md).
134
+
NAT gateway provides connectivity benefits and allows any virtual machine created within this subnet to have outbound connectivity without requiring a public IP address. For more information about NAT gateway and its connectivity benefits, see the [Design virtual networks with NAT gateway](nat-gateway-resource.md) documentation.
133
135
134
136
Advance to the next article to learn how to migrate default outbound access to Azure NAT Gateway:
0 commit comments