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: azure-local/manage/manage-arc-virtual-machines.md
+82-40Lines changed: 82 additions & 40 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ author: alkohli
5
5
ms.author: alkohli
6
6
ms.topic: how-to
7
7
ms.service: azure-local
8
-
ms.date: 06/09/2025
8
+
ms.date: 07/30/2025
9
9
---
10
10
11
11
# Manage Azure Local VMs enabled by Azure Arc
@@ -210,10 +210,26 @@ To start a VM, follow these steps in the Azure portal for your Azure Local insta
210
210
211
211
:::image type="content" source="./media/manage-arc-virtual-machines/start-virtual-machine.png" alt-text="Screenshot of the button for starting a virtual machine on the overview page." lightbox="./media/manage-arc-virtual-machines/start-virtual-machine.png":::
212
212
213
-
1. Select **Yes**.
213
+
1. On the confirmation dialog, select **Yes**.
214
214
215
215
1. Verify that the VM started.
216
216
217
+
## Restart a VM
218
+
219
+
To restart a VM, follow these steps in the Azure portal for your Azure Local instance:
220
+
221
+
1. Go to the Azure Local resource, and then go to **Virtual machines**.
222
+
223
+
1. In the list of virtual machines, select a VM that's stopped and that you want to restart.
224
+
225
+
1. On the **Overview** page for the VM, on the command bar, select **Restart**.
226
+
227
+
:::image type="content" source="./media/manage-arc-virtual-machines/restart-virtual-machine.png" alt-text="Screenshot of the button for restarting a virtual machine on the overview page." lightbox="./media/manage-arc-virtual-machines/restart-virtual-machine.png":::
228
+
229
+
1. On the confirmation dialog, select **Yes**.
230
+
231
+
1. Verify that the VM restarted.
232
+
217
233
## Stop a VM
218
234
219
235
To stop a VM, follow these steps in the Azure portal for your Azure Local instance:
@@ -226,31 +242,35 @@ To stop a VM, follow these steps in the Azure portal for your Azure Local instan
226
242
227
243
:::image type="content" source="./media/manage-arc-virtual-machines/stop-virtual-machine.png" alt-text="Screenshot of the button for stopping a virtual machine on the overview page." lightbox="./media/manage-arc-virtual-machines/stop-virtual-machine.png":::
228
244
229
-
1. Select **Yes**.
245
+
1. On the confirmation dialog, select **Yes**.
230
246
231
247
1. Verify that the VM stopped.
232
248
233
-
## Restart a VM
249
+
## Pause a VM
234
250
235
-
To restart a VM, follow these steps in the Azure portal for your Azure Local instance:
251
+
Pausing a VM is useful to save compute resources when you're not using the VM. Pausing a VM stops any CPU activity.
236
252
237
-
1. Go to the Azure Local resource, and then go to **Virtual machines**.
253
+
You can pause only running VMs. After you pause a VM, you can resume it later.
238
254
239
-
1. In the list of virtual machines, select a VM that's stopped and that you want to restart.
255
+
### [Azure portal](#tab/azureportal)
240
256
241
-
1. On the **Overview** page for the VM, on the command bar, select **Restart**.
257
+
To pause a VM, follow these steps in the Azure portal for your Azure Local instance:
242
258
243
-
:::image type="content" source="./media/manage-arc-virtual-machines/restart-virtual-machine.png" alt-text="Screenshot of the button for restarting a virtual machine on the overview page." lightbox="./media/manage-arc-virtual-machines/restart-virtual-machine.png":::
259
+
1. Go to the Azure Local resource, and then go to **Virtual machines**.
244
260
245
-
1. Select **Yes**.
261
+
1. In the list of virtual machines, select a VM that's currently running and that you want to pause.
246
262
247
-
1. Verify that the VM restarted.
263
+
1. On the **Overview** page for the VM, on the command bar, select **Pause**.
248
264
249
-
## Pause a VM
265
+
:::image type="content" source="./media/manage-arc-virtual-machines/pause-virtual-machine.png" alt-text="Screenshot of the button for pausing a virtual machine on the overview page." lightbox="./media/manage-arc-virtual-machines/pause-virtual-machine.png":::
250
266
251
-
Pausing a VM is useful to save compute resources when you're not using the VM. Pausing a VM stops any CPU activity.
267
+
1. On the confirmation dialog, select **Yes**.
252
268
253
-
You can pause only running VMs. After you pause a VM, you can resume it later.
269
+
1. Verify that the VM's status changed to **Paused**.
270
+
271
+
### [Azure CLI](#tab/azurecli)
272
+
273
+
To pause a VM, run the following commands in the Azure CLI on the computer that you're using to connect to Azure Local.
254
274
255
275
1. [Connect to a machine on your system](./azure-arc-vm-management-prerequisites.md#connect-to-the-system-directly).
256
276
@@ -531,10 +551,32 @@ Inside _start_initial/subscriptions/<Subscription ID>/resourceGroups/<Resource g
531
551
532
552
</details>
533
553
554
+
---
555
+
534
556
## Save a VM
535
557
536
558
Saving a VM stores its current state to the disk and stops the VM. Saving a VM frees up memory and CPU resources. You can save only running VMs.
537
559
560
+
### [Azure portal](#tab/azureportal)
561
+
562
+
To save a VM, follow these steps in the Azure portal for your Azure Local instance:
563
+
564
+
1. Go to the Azure Local resource, and then go to **Virtual machines**.
565
+
566
+
1. In the list of virtual machines, select a VM that's currently running and that you want to save.
567
+
568
+
1. On the **Overview** page for the VM, on the command bar, select **Save**.
569
+
570
+
:::image type="content" source="./media/manage-arc-virtual-machines/save-virtual-machine.png" alt-text="Screenshot of the button for saving a virtual machine on the overview page." lightbox="./media/manage-arc-virtual-machines/save-virtual-machine.png":::
571
+
572
+
1. On the confirmation dialog, select **Yes**.
573
+
574
+
1. Verify that the VM's status changed to **Saved**.
575
+
576
+
### [Azure CLI](#tab/azurecli)
577
+
578
+
To save a VM, run the following commands in the Azure CLI on the computer that you're using to connect to Azure Local.
579
+
538
580
1.[Connect to a machine on your system](./azure-arc-vm-management-prerequisites.md#connect-to-the-system-directly).
539
581
540
582
1. Run the following Azure PowerShell cmdlet:
@@ -813,11 +855,35 @@ Inside _start_initial/subscriptions/<Subscription ID>/resourceGroups/<Resource g
813
855
814
856
</details>
815
857
858
+
---
859
+
860
+
## Delete a VM
861
+
862
+
Deleting a VM doesn't delete all the resources associated with the VM. For example, it doesn't delete the data disks and the network interfaces associated with the VM. You need to locate and delete these resources separately.
863
+
864
+
To delete a VM, follow these steps in the Azure portal for your Azure Local instance:
865
+
866
+
1. Go to the Azure Local resource, and then go to **Virtual machines**.
867
+
868
+
1. In the list of virtual machines, select a VM that you want to remove from your system.
869
+
870
+
1. On the **Overview** page for the VM, on the command bar, select **Delete**.
871
+
872
+
1. On the confirmation dialog, select **Yes**.
873
+
874
+
:::image type="content" source="./media/manage-arc-virtual-machines/delete-virtual-machine-warning.png" alt-text="Screenshot of the warning for deleting a virtual machine." lightbox="./media/manage-arc-virtual-machines/delete-virtual-machine-warning.png":::
875
+
876
+
1. Go to the resource group where this VM was deployed. Verify that the VM is removed from the list of resources in the resource group.
877
+
878
+
1. Locate the associated resources, such as the network interfaces and data disks, and delete them. You might need to select **Show hidden types** to view the resources associated with this VM that weren't deleted.
879
+
880
+
:::image type="content" source="./media/manage-arc-virtual-machines/locate-network-interfaces-data-disks-deleted-virtual-machine.png" alt-text="Screenshot of hidden types of resources associated with a virtual machine." lightbox="./media/manage-arc-virtual-machines/locate-network-interfaces-data-disks-deleted-virtual-machine.png":::
881
+
816
882
## Change the local account password
817
883
818
884
Follow these steps to change the local account passwords for an Azure Local VM deployed on your Azure Local instance. The steps are different for Windows and Linux VMs.
819
885
820
-
### [Windows](#tab/windows)
886
+
### Change the local account password for Windows VMs
821
887
822
888
1. Sign in to the Azure Local VM.
823
889
@@ -849,7 +915,7 @@ Follow these steps to change the local account passwords for an Azure Local VM d
849
915
}
850
916
```
851
917
852
-
### [Linux](#tab/linux)
918
+
### Change the local account password for Linux VMs
853
919
854
920
If Bash is in a different directory, be sure to change the `#!/bin/bash` line accordingly.
855
921
@@ -883,30 +949,6 @@ If Bash is in a different directory, be sure to change the `#!/bin/bash` line ac
883
949
fi
884
950
```
885
951
886
-
---
887
-
888
-
## Delete a VM
889
-
890
-
Deleting a VM doesn't delete all the resources associated with the VM. For example, it doesn't delete the data disks and the network interfaces associated with the VM. You need to locate and delete these resources separately.
891
-
892
-
To delete a VM, follow these steps in the Azure portal for your Azure Local instance:
893
-
894
-
1. Go to the Azure Local resource, and then go to **Virtual machines**.
895
-
896
-
1. In the list of virtual machines, select a VM that you want to remove from your system.
897
-
898
-
1. On the **Overview** page for the VM, on the command bar, select **Delete**.
899
-
900
-
1. You're prompted to confirm the deletion. Select **Yes**.
901
-
902
-
:::image type="content" source="./media/manage-arc-virtual-machines/delete-virtual-machine-warning.png" alt-text="Screenshot of the warning for deleting a virtual machine." lightbox="./media/manage-arc-virtual-machines/delete-virtual-machine-warning.png":::
903
-
904
-
1. Go to the resource group where this VM was deployed. Verify that the VM is removed from the list of resources in the resource group.
905
-
906
-
1. Locate the associated resources, such as the network interfaces and data disks, and delete them. You might need to select **Show hidden types** to view the resources associated with this VM that weren't deleted.
907
-
908
-
:::image type="content" source="./media/manage-arc-virtual-machines/locate-network-interfaces-data-disks-deleted-virtual-machine.png" alt-text="Screenshot of hidden types of resources associated with a virtual machine." lightbox="./media/manage-arc-virtual-machines/locate-network-interfaces-data-disks-deleted-virtual-machine.png":::
909
-
910
952
## Conduct live migration of Azure Local VMs
911
953
912
954
Live migration of Azure Local VMs across Azure Local nodes is supported via on-premises tools like [Failover Cluster Manager](/windows-server/manage/windows-admin-center/use/manage-failover-clusters#adding-a-failover-cluster-to-windows-admin-center) or [Windows Admin Center](/windows-server/manage/windows-admin-center/use/manage-virtual-machines#live-migrate-a-virtual-machine-to-another-cluster-node). Live migration of VM storage is not supported.
0 commit comments