Skip to content

Commit 1999ce5

Browse files
committed
edit pass: azure-arc-vm-management
1 parent a003e1c commit 1999ce5

File tree

3 files changed

+161
-154
lines changed

3 files changed

+161
-154
lines changed
Lines changed: 75 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -1,152 +1,156 @@
11
---
2-
title: Manage Arc VM resources such as disks, network interface for Azure Local virtual machines
3-
description: Learn how to manage resource such as data disks, network interfaces on an Arc VM.
2+
title: Manage Azure Arc VM Resources for Azure Local Virtual Machines
3+
description: Learn how to manage resource such as data disks and network interfaces on an Azure Arc VM.
44
author: alkohli
55
ms.author: alkohli
66
ms.topic: how-to
77
ms.service: azure-stack-hci
88
ms.date: 01/14/2025
99
---
1010

11-
# Manage resources for Arc VMs on Azure Local
11+
# Manage resources for Azure Arc VMs on Azure Local
1212

1313
[!INCLUDE [hci-applies-to-23h2](../includes/hci-applies-to-23h2.md)]
1414

15-
This article describes how to manage VM resources such as disks and networks interfaces for an Azure Arc virtual machine (VM) running on your Azure Local instance. You can add or delete data disks and add or delete network interfaces using the Azure portal.
15+
After you deploy Azure Arc virtual machines (VMs), you might need to manage the VMs by adding or deleting resources such as data disks and network interfaces. This article describes how to manage these VM resources for an Azure Arc VM running on your Azure Local instance.
1616

17+
You can add or delete the resources by using the Azure portal. For the task of adding a data disk, you can also use the Azure CLI.
1718

18-
## Manage Arc VM resources
19-
20-
Once the Arc VMs are deployed, you may need to manage the VMs. This would require adding or deleting data disks, and adding or deleting network interfaces.
21-
2219
## Prerequisites
2320

24-
Before you begin, make sure to complete the following prerequisites:
25-
26-
- You have access to an Azure Local instance that is deployed and registered. You should have one or more Arc VMs running on this system. For more information, see [Create Arc VMs on your Azure Local](./create-arc-virtual-machines.md).
21+
- Access to an Azure Local instance that's deployed and registered. You should have one or more Azure Arc VMs running on this system. For more information, see [Create Azure Arc VMs on Azure Local](./create-arc-virtual-machines.md).
2722

2823
## Add a data disk
2924

30-
After you have created a VM, you may want to add a data disk to it. You can add a data disk via the Azure CLI or the Azure portal.
25+
After you create a VM, you might want to add a data disk to it.
3126

3227
### [Azure CLI](#tab/azurecli)
3328

34-
To add a data disk, you need to first create a disk and then attach the disk to the VM. Follow these steps in Azure CLI of the computer that you are using to connect to your Azure Local.
29+
To add a data disk, you first create a disk and then attach it to the VM. Run the following commands in the Azure CLI on the computer that you're using to connect to Azure Local.
3530

36-
To create a data disk (dynamic) on a specified storage path, run the following command:
31+
1. Create a data disk (dynamic) on a specified storage path:
3732

38-
```azurecli
39-
az stack-hci-vm disk create --resource-group $resource_group --name $diskName --custom-location $customLocationID --location $location --size-gb 1 --dynamic true --storage-path-id $storagePathid
40-
```
33+
```azurecli
34+
az stack-hci-vm disk create --resource-group $resource_group --name $diskName --custom-location $customLocationID --location $location --size-gb 1 --dynamic true --storage-path-id $storagePathid
35+
```
4136

42-
You can then attach the disk to the VM using the following command:
37+
1. Attach the disk to the VM:
4338

44-
```azurecli
45-
az stack-hci-vm disk attach --resource-group $resource_group --vm-name $vmName --disks $diskName --yes
46-
```
39+
```azurecli
40+
az stack-hci-vm disk attach --resource-group $resource_group --vm-name $vmName --disks $diskName --yes
41+
```
4742

4843
### [Azure portal](#tab/azureportal)
4944

50-
Follow these steps in Azure portal of your Azure Local.
45+
Follow these steps in the Azure portal for your Azure Local instance:
5146

52-
1. Go to your Azure Local resource and then go to **Virtual machines**.
53-
1. From the list of VMs in the right pane, select and go to the VM to which you want to add a data disk.
54-
1. Go to **Disks**. From the top command bar in the right pane, select **+ Add new disk**.
47+
1. Go to your Azure Local resource, and then go to **Virtual machines**.
5548

56-
:::image type="content" source="./media/manage-arc-virtual-machine-resources/add-data-disk-1.png" alt-text="Screenshot of + Add disk selected." lightbox="./media/manage-arc-virtual-machine-resources/add-data-disk-1.png":::
49+
1. In the list of VMs, select and go to the VM to which you want to add a data disk.
5750

58-
1. In the **Add new disk** blade, input the following parameters:
59-
1. Specify a friendly **Name** for the data disk.
60-
1. Provide the **Size** for the disk in GB.
61-
1. Choose the **Provisioning type** for disk as **Dynamic** or **Static**.
62-
1. **Storage path** - Select the storage path for your VM image. Select **Choose automatically** to have a storage path with high availability automatically selected. Select **Choose manually** to specify a storage path to store VM images and configuration files on your Azure Local. In this case, ensure that the selected storage path has sufficient storage space.
63-
64-
<!--:::image type="content" source="./media/manage-arc-virtual-machine-resources/add-data-disk-2.png" alt-text="Screenshot of Add new disk blade with provided inputs." lightbox="./media/manage-arc-virtual-machine-resources/add-data-disk-2.png":::-->
51+
1. Go to **Disks**. On the command bar, select **+ Add new disk**.
6552

66-
1. Select **Save** to add the new disk.
53+
:::image type="content" source="./media/manage-arc-virtual-machine-resources/add-data-disk-1.png" alt-text="Screenshot of the command for adding a new disk on the Disks pane for a virtual machine." lightbox="./media/manage-arc-virtual-machine-resources/add-data-disk-1.png":::
54+
55+
1. On the **Add new disk** pane, enter the following parameters, and then select **Add**:
56+
1. For **Name**, specify a friendly name for the data disk.
57+
1. For **Size (GB)**, provide the size for the disk in gigabytes.
58+
1. For **Provisioning type**, select **Dynamic** or **Static**.
59+
1. For **Storage path**, select the storage path for your VM image:
6760

68-
:::image type="content" source="./media/manage-arc-virtual-machine-resources/add-data-disk-3.png" alt-text="Screenshot of Save selected for data disk to create." lightbox="./media/manage-arc-virtual-machine-resources/add-data-disk-3.png":::
61+
- To have a storage path with high availability automatically selected, select **Choose automatically**.
6962

70-
1. You'll see a notification that the data disk creation job has started. Once the disk is created, the list refreshes to display the newly added disk.
63+
- To specify a storage path to store VM images and configuration files on your Azure Local instance, select **Choose manually**. Ensure that the selected storage path has sufficient storage space.
7164

72-
:::image type="content" source="./media/manage-arc-virtual-machine-resources/add-data-disk-4.png" alt-text="Screenshot of list of refreshed data disk." lightbox="./media/manage-arc-virtual-machine-resources/add-data-disk-4.png":::
65+
1. Select **Save** to add the new disk.
7366

67+
:::image type="content" source="./media/manage-arc-virtual-machine-resources/add-data-disk-3.png" alt-text="Screenshot of the command to save a newly created data disk." lightbox="./media/manage-arc-virtual-machine-resources/add-data-disk-3.png":::
68+
69+
1. You get a notification that the job for creating a data disk started. When the disk is created, the list refreshes to display the newly added disk.
70+
71+
:::image type="content" source="./media/manage-arc-virtual-machine-resources/add-data-disk-4.png" alt-text="Screenshot of a newly added data disk for a virtual machine." lightbox="./media/manage-arc-virtual-machine-resources/add-data-disk-4.png":::
7472

7573
---
7674

7775
## Delete a data disk
7876

79-
Follow these steps in Azure portal of your Azure Local.
77+
Follow these steps in the Azure portal for your Azure Local instance:
78+
79+
1. Go to Azure Local resource, and then go to **Virtual machines**.
8080

81-
1. Go to Azure Local resource and then go to **Virtual machines**.
82-
1. From the list of VMs in the right pane, select and go to the VM whose data disk you want to delete.
81+
1. In the list of VMs, select and go to the VM whose data disk you want to delete.
8382

84-
:::image type="content" source="./media/manage-arc-virtual-machine-resources/delete-data-disk-1.png" alt-text="Screenshot of delete icon selected for the data disk to delete." lightbox="./media/manage-arc-virtual-machine-resources/delete-data-disk-1.png":::
83+
1. Go to **Disks** and select the data disk that you want to delete. On the command bar, select **Delete**.
84+
85+
:::image type="content" source="./media/manage-arc-virtual-machine-resources/delete-data-disk-1.png" alt-text="Screenshot of a selected data disk and the Delete button on the Disks pane." lightbox="./media/manage-arc-virtual-machine-resources/delete-data-disk-1.png":::
8586

8687
1. In the confirmation dialog, select **Yes** to continue.
8788

88-
:::image type="content" source="./media/manage-arc-virtual-machine-resources/delete-data-disk-2.png" alt-text="Screenshot of confirmation page for the data disk to delete." lightbox="./media/manage-arc-virtual-machine-resources/delete-data-disk-2.png":::
89+
:::image type="content" source="./media/manage-arc-virtual-machine-resources/delete-data-disk-2.png" alt-text="Screenshot of the confirmation dialog for deleting a data disk." lightbox="./media/manage-arc-virtual-machine-resources/delete-data-disk-2.png":::
8990

90-
1. **Save** the changes to delete the specified data disk.
91+
1. Select **Save** to save the changes.
9192

92-
:::image type="content" source="./media/manage-arc-virtual-machine-resources/delete-data-disk-3.png" alt-text="Screenshot of save selected for the data disk to delete." lightbox="./media/manage-arc-virtual-machine-resources/delete-data-disk-3.png":::
93+
:::image type="content" source="./media/manage-arc-virtual-machine-resources/delete-data-disk-3.png" alt-text="Screenshot of the Save command in an empty list of data disks." lightbox="./media/manage-arc-virtual-machine-resources/delete-data-disk-3.png":::
9394

94-
1. You'll see a notification that the disk deletion job has started. Once the disk is deleted, the list refreshes to display the remaining data disks.
95+
1. You get a notification that the job for disk deletion started. After the disk is deleted, the list refreshes to display the remaining data disks.
9596

9697
## Add a network interface
9798

9899
> [!NOTE]
99-
> After you add the network interface, sign in to the virtual machine and configure the desired static IP.
100+
> After you add the network interface, sign in to the virtual machine and configure the desired static IP address.
101+
102+
Follow these steps in the Azure portal for your Azure Local instance:
100103

101-
Follow these steps in Azure portal of your Azure Local.
104+
1. Go to your Azure Local resource, and then go to **Virtual machines**.
102105

103-
1. Go to your Azure Local resource and then go to **Virtual machines**.
104-
1. From the list of VMs in the right pane, select and go to the VM to which you want to add a network interface.
106+
1. In the list of VMs, select and go to the VM to which you want to add a network interface.
105107

106-
1. Go to **Networking**. From the top command bar in the right pane, select **+ Add network interface**.
108+
1. Go to **Networking**. On the command bar, select **+ Add network interface**.
107109

108-
:::image type="content" source="./media/manage-arc-virtual-machine-resources/add-network-interface-1.png" alt-text="Screenshot of + Add network interface option selected in the Networking page for a VM." lightbox="./media/manage-arc-virtual-machine-resources/add-network-interface-1.png":::
110+
:::image type="content" source="./media/manage-arc-virtual-machine-resources/add-network-interface-1.png" alt-text="Screenshot of the command for adding a network interface on the Networking pane for a virtual machine." lightbox="./media/manage-arc-virtual-machine-resources/add-network-interface-1.png":::
109111

110-
1. In the **Add network interface** blade, input the following parameters:
111-
1. Specify a friendly **Name** for the network interface.
112-
1. From the dropdown list, select a logical **Network** to associate with this network interface.
113-
1. Choose the **IPv4 type** as **DHCP** or **Static**.
112+
1. On the **Add network interface** pane, enter the following parameters, and then select **Add**:
113+
1. For **Name**, specify a friendly name for the network interface.
114+
1. In the **Network** dropdown list, select a logical network to associate with this network interface.
115+
1. For **IPv4 type**, select **DHCP** or **Static**.
114116

115-
:::image type="content" source="./media/manage-arc-virtual-machine-resources/add-network-interface-2.png" alt-text="Screenshot of Add network interface with inputs provided for the new network interface for a VM." lightbox="./media/manage-arc-virtual-machine-resources/add-network-interface-2.png":::
117+
:::image type="content" source="./media/manage-arc-virtual-machine-resources/add-network-interface-2.png" alt-text="Screenshot of the pane for adding a network interface for a VM." lightbox="./media/manage-arc-virtual-machine-resources/add-network-interface-2.png":::
116118

117-
1. **Apply** the changes to add the specified network interface.
119+
1. Select **Apply** to apply the changes.
118120

119-
:::image type="content" source="./media/manage-arc-virtual-machine-resources/add-network-interface-3.png" alt-text="Screenshot of Apply option selected in the Networking page for a VM." lightbox="./media/manage-arc-virtual-machine-resources/add-network-interface-3.png":::
121+
:::image type="content" source="./media/manage-arc-virtual-machine-resources/add-network-interface-3.png" alt-text="Screenshot of the Apply button on the Networking pane for a virtual machine." lightbox="./media/manage-arc-virtual-machine-resources/add-network-interface-3.png":::
120122

121-
1. You'll see a notification that the network interface creation job has started. Once the network interface is created, it is then attached to the Arc VM.
123+
1. You get a notification that the job for network interface creation started. After the network interface is created, it's attached to the Azure Arc VM.
122124

123-
:::image type="content" source="./media/manage-arc-virtual-machine-resources/add-network-interface-4.png" alt-text="Screenshot of confirmation page for the new network interface creation in the Networking page for a VM." lightbox="./media/manage-arc-virtual-machine-resources/add-network-interface-4.png":::
125+
:::image type="content" source="./media/manage-arc-virtual-machine-resources/add-network-interface-4.png" alt-text="Screenshot of the Notifications pane for network interface creation beside the Networking pane for a virtual machine." lightbox="./media/manage-arc-virtual-machine-resources/add-network-interface-4.png":::
124126

125127
1. The list of network interfaces is updated with the newly added network interface.
126128

127-
:::image type="content" source="./media/manage-arc-virtual-machine-resources/add-network-interface-5.png" alt-text="Screenshot of newly refreshed network interface list in the Networking page for a VM." lightbox="./media/manage-arc-virtual-machine-resources/add-network-interface-5.png":::
129+
:::image type="content" source="./media/manage-arc-virtual-machine-resources/add-network-interface-5.png" alt-text="Screenshot of an updated network interface list on the Networking pane for a virtual machine." lightbox="./media/manage-arc-virtual-machine-resources/add-network-interface-5.png":::
128130

129131
## Delete a network interface
130132

131-
Follow these steps in Azure portal of your Azure Local.
133+
Follow these steps in the Azure portal for your Azure Local instance.
134+
135+
1. Go to your Azure Local resource, and then go to **Virtual machines**.
136+
1. In the list of VMs, select and go to the VM whose network interface you want to delete.
132137

133-
1. Go to your Azure Local resource and then go to **Virtual machines**.
134-
1. From the list of VMs in the right pane, select and go to the VM whose network interface you want to delete.
138+
1. Go to **Networking** and select the network interface that you want to delete. On the command bar, select **Delete**.
135139

136-
:::image type="content" source="./media/manage-arc-virtual-machine-resources/delete-network-interface-1.png" alt-text="Screenshot of VM selected whose network interface you want to delete." lightbox="./media/manage-arc-virtual-machine-resources/delete-network-interface-1.png":::
140+
:::image type="content" source="./media/manage-arc-virtual-machine-resources/delete-network-interface-1.png" alt-text="Screenshot of a selected network interface and the Delete button on the Networking pane." lightbox="./media/manage-arc-virtual-machine-resources/delete-network-interface-1.png":::
137141

138142
1. In the confirmation dialog, select **Yes** to continue.
139143

140-
:::image type="content" source="./media/manage-arc-virtual-machine-resources/delete-network-interface-2.png" alt-text="Screenshot of deletion confirmation." lightbox="./media/manage-arc-virtual-machine-resources/delete-network-interface-2.png":::
144+
:::image type="content" source="./media/manage-arc-virtual-machine-resources/delete-network-interface-2.png" alt-text="Screenshot of the confirmation dialog for deleting a network interface." lightbox="./media/manage-arc-virtual-machine-resources/delete-network-interface-2.png":::
141145

142-
1. **Apply** the changes to delete the specified network interface. The network interface is dissociated from the Arc VM.
146+
1. Select **Apply** to apply the changes. The network interface is dissociated from the Azure Arc VM.
143147

144-
:::image type="content" source="./media/manage-arc-virtual-machine-resources/delete-network-interface-3.png" alt-text="Screenshot of Apply selected in the Networking page for a VM." lightbox="./media/manage-arc-virtual-machine-resources/delete-network-interface-3.png":::
148+
:::image type="content" source="./media/manage-arc-virtual-machine-resources/delete-network-interface-3.png" alt-text="Screenshot of the Apply button on the Networking pane for a virtual machine." lightbox="./media/manage-arc-virtual-machine-resources/delete-network-interface-3.png":::
145149

146150
1. The list of network interfaces is updated with the deleted network interface.
147151

148-
:::image type="content" source="./media/manage-arc-virtual-machine-resources/delete-network-interface-4.png" alt-text="Screenshot of newly refreshed network interface list for VM." lightbox="./media/manage-arc-virtual-machine-resources/delete-network-interface-4.png":::
152+
:::image type="content" source="./media/manage-arc-virtual-machine-resources/delete-network-interface-4.png" alt-text="Screenshot of an updated network interface list on the Networking pane for a virtual machine." lightbox="./media/manage-arc-virtual-machine-resources/delete-network-interface-4.png":::
149153

150-
## Next steps
154+
## Related content
151155

152-
- [Manage VM extensions](./virtual-machine-manage-extension.md).
156+
- [Manage VM extensions on Azure Local virtual machines](./virtual-machine-manage-extension.md)

0 commit comments

Comments
 (0)