Skip to content

Commit c62263e

Browse files
authored
Merge pull request #274367 from ankitaduttaMSFT/rz-ga
RZ GA
2 parents 6a55bc2 + af93d7f commit c62263e

8 files changed

+147
-35
lines changed

articles/reliability/migrate-vm.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,6 @@ Now that you have migrated your data to ZRS managed disks or zonal managed disks
123123
This section details how to move single instance Azure virtual machines from a Regional configuration to a target [Availability Zone](../reliability/availability-zones-overview.md) within the same Azure region.
124124

125125

126-
> [!IMPORTANT]
127-
> Regional to zonal move of single instance VM(s) configuration is currently in *Public Preview*.
128-
129126
### Key benefits of regional to zonal move
130127

131128
The benefits of a regional to zonal move are:
4.97 KB
Loading
Binary file not shown.
-2.22 KB
Loading

articles/virtual-machines/move-virtual-machines-regional-zonal-faq.md

Lines changed: 46 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,64 @@
11
---
2-
title: FAQ - Move Azure single instance Virtual Machines from regional to zonal availability zones
2+
title: FAQ - Move Azure single instance Virtual Machines from regional to zonal availability zones
33
description: FAQs for single instance Azure virtual machines from a regional configuration to a target Availability Zone within the same Azure region.
44
author: ankitaduttaMSFT
55
ms.service: virtual-machines
66
ms.topic: article
7-
ms.date: 09/25/2023
7+
ms.date: 05/06/2024
88
ms.author: ankitadutta
99
---
1010

1111
# Frequently asked questions - Move Azure single instance virtual machines from regional to zonal target availability zones
1212

1313
This article answers common questions about Azure single instance virtual machines - regional to zonal move.
1414

15-
> [!IMPORTANT]
16-
> Regional to zonal move of single instance VM(s) configuration is currently in *Public Preview*.
17-
1815
## Regional to zonal move
1916

2017
### Can I move virtual machine(s) in all Azure regions?
2118

22-
Currently, you can move virtual machine(s) across all public regions that are supported by Availability Zones. Learn more about the availability zone service and regional support.
19+
Currently, you can move virtual machine(s) across all public regions that are supported by Availability Zones. Learn more about the [availability zone service and regional support](../reliability/availability-zones-service-support.md#azure-regions-with-availability-zone-support).
20+
21+
> [!NOTE]
22+
> Azure China (China North 3) and Azure Govt (US Gov Virginia) are also supported.
2323
2424
### Where is the metadata stored?
2525

26-
The metadata associated with the move is stored in an Azure Cosmos DB database located in either the East US2 or North Europe regions and in Azure Blob storage in a Microsoft subscription.
26+
The service doesn't retain any customer data, and all data remains within the source virtual machine region. The following table shows the mapping between the virtual machine region and metadata region:
27+
28+
| Region group | Region | Metadata region |
29+
| --- | --- | ----|
30+
| **Americas** | eastus2 | eastus2 |
31+
| | eastus | eastus2 |
32+
| | westus2 | eastus2 |
33+
| | southcentralus | eastus2 |
34+
| | brazilsouth | brazilsouth |
35+
| | canadacentral | canadacentral |
36+
| | westus3 | eastus2 |
37+
||||
38+
| **Europe**| northeurope | northeurope |
39+
| | westeurope | northeurope |
40+
| | uksouth | uksouth |
41+
| | francecentral | francecentral |
42+
| | switzerlandnorth | switzerlandnorth |
43+
| | germanywestcentral | germanywestcentral |
44+
| | norwayeast | norwayeast |
45+
| | swedencentral | swedencentral |
46+
| | polandcentral | polandcentral |
47+
| | spaincentral | northeurope |
48+
| | italynorth | northeurope |
49+
||||
50+
| **Middle East** | uaenorth | uaenorth |
51+
| | qatarcentral | qatarcentral |
52+
||||
53+
| **Asia Pacific** | japaneast | japaneast |
54+
| | eastasia | southeastasia |
55+
| | southeastasia | southeastasia |
56+
| | australiaeast | australiaeast |
57+
| | centralindia | centralindia |
58+
| | koreacentral | koreacentral |
59+
||||
60+
| **Africa** | southafricanorth | southeastasia |
2761

28-
Although the coverage will eventually extend to other regions, this doesn't restrict you from moving virtual machines to other regions. The service doesn't retain any customer data, and no customer data goes outside of the source virtual machine region.
2962

3063
### Is the collected metadata encrypted?
3164

@@ -86,7 +119,7 @@ Managed identity previously known as Managed Service Identity (MSI), is a featur
86119

87120
### Can I move my resources from Regional to Zonal and across subscriptions?
88121

89-
You can use Azure Resource Manager to move virtual machines from a regional to a zonal deployment within the same subscription, and then move them across subscriptions.
122+
You can use virtual machine Regional to Zonal Move capability to move virtual machines from a regional to a zonal deployment within the same subscription and then use Azure Resource Manager to move them across subscriptions.
90123

91124
### Are Azure Backup/DR, RBAC, Tags, Policies, and extensions on virtual machines supported?
92125

@@ -100,9 +133,11 @@ Customer data isn't stored during the move. The system only stores metadata info
100133

101134
When you select **Move**, the following steps are performed on the source virtual machines:
102135

103-
1. The source virtual machines are stopped and left intact in their original configuration.
136+
1. The source virtual machines are stopped and left intact in their original configuration.
137+
> [!NOTE]
138+
> Stopping the VMs could lead to a brief downtime.
104139
2. Virtual machine restore points of the source virtual machine are taken. These restore points contain a disk restore point for each of the attached disks and a disk restore point consists of a snapshot of an individual managed disk.
105-
3. Using these restore points, a new virtual machine with its associated disks (a copy of the source) is created in the zonal configuration.
140+
3. Using these restore points, a new virtual machine with its associated disks (a copy of the source VM) is created in the zonal configuration.
106141
4. After the move is complete, you can choose to delete the source virtual machines.
107142

108143

articles/virtual-machines/move-virtual-machines-regional-zonal-portal.md

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Tutorial - Move Azure single instance Virtual Machines from regional to zonal availability zones
2+
title: Tutorial - Move Azure single instance Virtual Machines from regional to zonal availability zones
33
description: Learn how to move single instance Azure virtual machines from a regional configuration to a target Availability Zone within the same Azure region.
44
author: ankitaduttaMSFT
55
ms.service: virtual-machines
@@ -8,12 +8,11 @@ ms.date: 09/25/2023
88
ms.author: ankitadutta
99
---
1010

11-
# Move Azure single instance VMs from regional to zonal target availability zones
11+
# Move Azure single instance VMs from regional to zonal target availability zones
1212

1313
This article provides information on how to move Azure single instance Virtual Machines (VMs) from a regional to a zonal configuration within the same Azure region.
1414

15-
> [!IMPORTANT]
16-
> Regional to zonal move of single instance VM(s) configuration is currently in *Public Preview*.
15+
1716
## Prerequisites
1817

1918
Ensure the following before you begin:
@@ -38,16 +37,13 @@ To select the VMs you want to move from Regional to Zonal configuration within s
3837

3938
To select the VMs for the move, follow these steps:
4039

41-
1. On the [Azure portal](https://ms.portal.azure.com/#home), select the VM. In this tutorial, we're using **DemoTestVM1** as an example.
42-
43-
:::image type="content" source="./media/tutorial-move-regional-zonal/demo-test-machine.png" alt-text="Screenshot of demo virtual machine.":::
44-
45-
2. In the DemoTestVM1 resource pane, select **Availability + scaling** > **edit**.
46-
:::image type="content" source="./media/tutorial-move-regional-zonal/availability-scaling.png" alt-text="Screenshot of Availability + scaling option.":::
40+
1. On the [Azure portal](https://ms.portal.azure.com/#home), select the VM.
41+
2. In the virtual machine resource pane, select **Availability + scaling** > **edit**.
42+
:::image type="content" source="./media/tutorial-move-regional-zonal/scaling-pane.png" alt-text="Screenshot of Availability + scaling pane.":::
43+
44+
Alternatively, in the virtual machine overview plane, you can select **Availability + scale** > **Availability + scaling**.
45+
4746

48-
Alternatively, in the **DemoTestVM1** overview plane, you can select **Availability + scale** > **Availability + scaling**.
49-
:::image type="content" source="./media/tutorial-move-regional-zonal/scaling-pane.png" alt-text="Screenshot of Availability + scaling pane.":::
50-
5147

5248
### Select the target availability zones
5349

articles/virtual-machines/move-virtual-machines-regional-zonal-powershell.md

Lines changed: 92 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,24 @@
11
---
2-
title: Move Azure single instance Virtual Machines from regional to zonal availability zones using PowerShell and CLI
2+
title: Move Azure single instance Virtual Machines from regional to zonal availability zones using PowerShell and CLI
33
description: Move single instance Azure virtual machines from a regional configuration to a target Availability Zone within the same Azure region using PowerShell and CLI.
44
author: ankitaduttaMSFT
55
ms.service: virtual-machines
66
ms.custom: devx-track-azurecli, devx-track-azurepowershell
77
ms.topic: tutorial
8-
ms.date: 09/25/2023
8+
ms.date: 06/10/2024
99
ms.author: ankitadutta
1010
---
1111

12-
# Move a virtual machine in an availability zone using Azure PowerShell and CLI
12+
# Move a virtual machine in an availability zone using Azure PowerShell and CLI
1313

1414
This article details using Azure PowerShell and CLI cmdlets to move Azure single instance VMs from regional to zonal availability zones. An [availability zone](../availability-zones/az-overview.md) is a physically separate zone in an Azure region. Use availability zones to protect your apps and data from an unlikely failure or loss of an entire data center.
1515

1616
To use an availability zone, create your virtual machine in a [supported Azure region](../availability-zones/az-region.md).
1717

18-
> [!IMPORTANT]
19-
> Regional to zonal move of single instance VM(s) configuration is currently in *Public Preview*.
2018

2119
## Prerequisites
2220

23-
Verify the following requirements:
21+
Verify the following requirements before you start the move process:
2422

2523
| Requirement | Description |
2624
| --- | --- |
@@ -422,9 +420,10 @@ Check whether the regional VMs you added have any dependencies on other resource
422420
AdditionalInfo :
423421
Code :
424422
Detail :
423+
EndTime :
425424
EndTime : 9/8/2023 6:52:14 AM
426-
Id : /subscriptions/<Subscription-id>/resourceGroups/RegionToZone-DemoMCRG/providers/Microsoft.Migrate/moveCollections/RegionToZone-DemoMC/o
427-
perations/bc68354b-ec1f-44cb-92ab-fb3b4ad90229
425+
426+
Id : /subscriptions/<Subscription-id>/resourceGroups/RegionToZone-DemoMCRG/providers/Microsoft.Migrate/moveCollections/RegionToZone-DemoMC/operations/bc68354b-ec1f-44cb-92ab-fb3b4ad90229
428427
Message :
429428
Name : bc68354b-ec1f-44cb-92ab-fb3b4ad90229
430429
Property : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Any
@@ -480,6 +479,75 @@ Check whether the regional VMs you added have any dependencies on other resource
480479
481480
1. To remove resources from the resource collection, follow these [instructions](../resource-mover/remove-move-resources.md).
482481
482+
### Availability Zones VM SKU, Quota and Capacity validations
483+
484+
Azure provides recommendations when the selected Availability Zone doesn't have the virtual machine SKU, or when there is not enough Quota or Capacity available. Here are some examples of these recommendations and the actions that should be taken if the virtual machine SKU is not available.
485+
486+
#### VM SKU not available
487+
488+
When the source virtual machine size `Standard_DC1ds_v3` isn't available in the selected availability zone `1`.
489+
490+
**Recommended Action**: Choose a different virtual machine size in the same availability zone or select a different availability zone with corresponding recommended VM size.
491+
492+
**Recommendations**:
493+
494+
- SKU: Standard_DC1ds_v3, Zones: [ 2 ]
495+
- SKU: Standard_DC2ds_v3, Zones: [ 2 ]
496+
- SKU: Standard_DC4ds_v3, Zones: [ 2 ]
497+
- SKU: Standard_DC1s_v3, Zones: [ 2 ]
498+
- SKU: Standard_D2ds_v5, Zones: [ 2, 3 ]
499+
- SKU: Standard_D2as_v4, Zones: [ 1, 2, 3 ]
500+
- SKU: Standard_D2s_v3, Zones: [ 1, 2, 3 ]
501+
- SKU: Standard_D2as_v5, Zones: [ 1, 2, 3 ]
502+
- SKU: Standard_D2s_v5, Zones: [ 2, 3 ]
503+
504+
505+
### Capacity recommendations
506+
507+
Capacity recommendations for the current selection virtual machine size `Standard_DC1ds_v3` in the selected availability zone `1`.
508+
509+
**Recommended Action:** To increase the likelihood of a successful deployment, Azure has identified other recommended virtual machine sizes and zones. To deploy seamlessly, choose a different VM size in the same availability zone or a different availability zone with corresponding virtual machine size.
510+
511+
**Recommendations**:
512+
513+
- SKU: Standard_DC1ds_v3, Zones: [ 2 ]
514+
- SKU: Standard_DC2ds_v3, Zones: [ 2 ]
515+
- SKU: Standard_DC4ds_v3, Zones: [ 2 ]
516+
- SKU: Standard_DC1s_v3, Zones: [ 2 ]
517+
- SKU: Standard_D2ds_v5, Zones: [ 2, 3 ]
518+
- SKU: Standard_D2as_v4, Zones: [ 1, 2, 3 ]
519+
- SKU: Standard_D2s_v3, Zones: [ 1, 2, 3 ]
520+
- SKU: Standard_D2as_v5, Zones: [ 1, 2, 3 ]
521+
- SKU: Standard_D2s_v5, Zones: [ 2, 3 ]
522+
523+
### Address the recommendations
524+
525+
To address the situations where the VM SKU is not found or there is a capacity issue, update the move resource and then run resolve again. Here is an example for reference:
526+
527+
1. Update virtual machine move resource object to new Zone or SKU as per the recommendations.
528+
529+
```azurepowershell
530+
$targetResourceSettingsObj.TargetVmSize = "Standard_DC1ds_v3"
531+
$targetResourceSettingsObj.TargetAvailabilityZone = "3"
532+
```
533+
534+
1. Update virtual machine move resource
535+
536+
```azurepowershell
537+
Add-AzResourceMoverMoveResource -ResourceGroupName "RegionToZone-DemoMCRG" -MoveCollectionName "RegionToZone-DemoMC" -SourceId "/subscriptions/<Subscription ID>/resourceGroups/<Resource Group Name>/providers/Microsoft.Compute/virtualMachines/vmtwo" -Name "demoVM-MoveResource2" -ResourceSetting $targetResourceSettingsObj
538+
```
539+
540+
1. Run resolve again
541+
542+
`Resolve-AzResourceMoverMoveCollectionDependency -ResourceGroupName "RegionToZone-DemoMCRG" -MoveCollectionName "RegionToZone-DemoMC"`
543+
544+
### Insufficient Quota
545+
546+
Selected virtual machine can't be moved to availability zone due to insufficient quota.
547+
548+
**Recommended Action:** In-sufficient quota found. Refer to link and contact [support](https://learn.microsoft.com/azure/azure-resource-manager/management/azure-subscription-service-limits).
549+
550+
483551
484552
## Initiate move of VM resources
485553
@@ -574,6 +642,22 @@ After the initial move, you must commit the move or discard it. **Commit** compl
574642

575643
---
576644

645+
## Remove a resource
646+
647+
You can remove a single resource or multiple resources from a `MoveCollection` using the following cmdlets:
648+
649+
1. Get a list of the move resources that are added to the move collection:
650+
`$list = Get-AzResourceMoverMoveResource -ResourceGroupName "<MoveCollectionResourceGroupName>" -MoveCollectionName "<MoveCollectionName>"`
651+
652+
1. Remove the move resources you found:
653+
`Invoke-AzResourceMoverBulkRemove -ResourceGroupName "<MoveCollectionResourceGroupName>" -MoveCollectionName "<MoveCollectionName>" -MoveResource $($list.Name)`
654+
655+
1. Remove the move collection:
656+
`Remove-AzResourceMoverMoveCollection -ResourceGroupName "<MoveCollectionResourceGroupName>" -MoveCollectionName "<MoveCollectionName>"`
657+
658+
> [!NOTE]
659+
> If you observe managed identities authorization issues, re-enable the managed identities access by following [these steps](#grant-access-to-the-managed-identity) again.
660+
577661

578662
## Delete source regional VMs
579663

0 commit comments

Comments
 (0)