Skip to content

Commit 21496f9

Browse files
authored
Merge pull request #216112 from halkazwini/vm-private-ip
Virtual Networks: Freshness: Create a virtual machine with a static private IP address using the Azure portal
2 parents d268cc9 + 9a0c708 commit 21496f9

File tree

2 files changed

+15
-11
lines changed

2 files changed

+15
-11
lines changed
Loading

articles/virtual-network/ip-services/virtual-networks-static-private-ip-arm-pportal.md

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
2-
title: Create a VM with a static private IP address - Azure portal
2+
title: 'Create a VM with a static private IP address - Azure portal'
33
description: Learn how to create a virtual machine with a static private IP address using the Azure portal.
44
author: asudbring
55
ms.author: allensu
66
ms.service: virtual-network
77
ms.subservice: ip-services
88
ms.topic: how-to
9-
ms.date: 10/01/2021
9+
ms.date: 10/27/2022
1010
ms.custom: template-how-to
1111
---
1212

@@ -24,21 +24,22 @@ Use the following steps to create a virtual machine, virtual network, and subnet
2424

2525
1. Sign in to the [Azure portal](https://portal.azure.com).
2626

27-
2. In the search box at the top of the portal, enter **Virtual machine**. Select **Virtual machines** in the search results.
27+
2. In the search box at the top of the portal, enter *Virtual machine*. Select **Virtual machines** in the search results.
2828

29-
3. Select **+ Create**, then **+ Virtual machine** in **Virtual machines**.
29+
3. Select **+ Create** then **Azure Virtual machine**.
3030

3131
4. In **Create a virtual machine**, enter or select the following information:
3232

3333
| Setting | Value |
3434
| ------- | ----- |
3535
| **Project details** | |
3636
| Subscription | Select your subscription. |
37-
| Resource group | Select **Create new**. </br> Enter **myResourceGroup** in **Name**. </br> Select **OK**. |
37+
| Resource group | Select **Create new**. </br> Enter *myResourceGroup* in **Name**. </br> Select **OK**. |
3838
| **Instance details** | |
39-
| Virtual machine name | Enter **myVM**. |
39+
| Virtual machine name | Enter *myVM*. |
4040
| Region | Select **(US) East US 2**. |
4141
| Availability options | Select **No infrastructure redundancy required**. |
42+
| Security type | Select **Standard**. |
4243
| Image | Select **Windows Server 2019 Datacenter - Gen2**. |
4344
| Azure Spot instance | Leave unchecked. |
4445
| Size | Select a size. |
@@ -52,7 +53,7 @@ Use the following steps to create a virtual machine, virtual network, and subnet
5253
:::image type="content" source="./media/virtual-networks-static-private-ip-arm-pportal/create-vm.png" alt-text="Screenshot of create virtual machine.":::
5354

5455
> [!WARNING]
55-
> Portal 3389 is selected, to enable remote access to the Windows Server virtual machine from the internet. Opening port 3389 to the internet is not recommended to manage production workloads. </br> For secure access to Azure virtual machines, see **[What is Azure Bastion?](../../bastion/bastion-overview.md)**
56+
> Port 3389 is selected to enable remote access to the Windows Server virtual machine from the internet. Opening port 3389 to the internet is not recommended to manage production workloads. </br> For secure access to Azure virtual machines, see **[What is Azure Bastion?](../../bastion/bastion-overview.md)**
5657
5758
3. Select the **Networking** tab, or select **Next: Disks**, then **Next: Networking**.
5859

@@ -94,12 +95,15 @@ In this section, you'll change the private IP address from **dynamic** to **stat
9495

9596
:::image type="content" source="./media/virtual-networks-static-private-ip-arm-pportal/select-ip-configuration.png" alt-text="Screenshot of select ip configuration.":::
9697

97-
7. Select **Static** in **Assignment**. Select **Save**.
98+
7. Select **Static** in **Assignment**. Change the private IP address if you want a different one, and then select **Save**.
9899

100+
> [!WARNING]
101+
> If you change the private IP address, the VM associated with the network interface will be restarted to utilize the new IP address.
102+
99103
:::image type="content" source="./media/virtual-networks-static-private-ip-arm-pportal/select-static-assignment.png" alt-text="Screenshot of select static assignment.":::
100104

101105
> [!NOTE]
102-
> If you notice after selecting **Save** that the assignment is still set to **Dynamic**, the IP address you typed is already in use. Try another IP address.
106+
> If you notice after selecting **Save** that the assignment is still set to **Dynamic**, the private IP address you entered is already in use. Try another IP address.
103107
104108
To change the IP address back to dynamic set the assignment for your private IP address to **Dynamic**, and then select **Save**.
105109

@@ -112,11 +116,11 @@ To change the IP address back to dynamic set the assignment for your private IP
112116

113117
When no longer needed, delete the resource group and all of the resources it contains:
114118

115-
1. Enter **myResourceGroup** in the **Search** box at the top of the portal. When you see **myResourceGroup** in the search results, select it.
119+
1. Enter *myResourceGroup* in the **Search** box at the top of the portal. When you see **myResourceGroup** in the search results, select it.
116120

117121
2. Select **Delete resource group**.
118122

119-
3. Enter **myResourceGroup** for **TYPE THE RESOURCE GROUP NAME:** and select **Delete**.
123+
3. Enter *myResourceGroup* for **TYPE THE RESOURCE GROUP NAME:** and select **Delete**.
120124

121125
## Next steps
122126

0 commit comments

Comments
 (0)