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/resource-mover/tutorial-move-region-encrypted-virtual-machines.md
+22-22Lines changed: 22 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ ms.custom: mvc
11
11
#Customer intent: As an Azure admin, I want to move Azure VMs to a different Azure region.
12
12
---
13
13
14
-
# Tutorial: Move encrypted Azure VMs across regions
14
+
# Move encrypted Azure VMs across regions
15
15
16
16
Azure Resource Mover helps you move Azure resources between Azure regions. This article discusses how to move encrypted Azure virtual machines (VMs) to a different Azure region by using [Azure Resource Mover](overview.md).
17
17
@@ -28,20 +28,20 @@ In this tutorial, you learn how to:
28
28
29
29
30
30
> [!NOTE]
31
-
> This tutorial shows the quickest path for trying out a scenario. It uses only the default options.
31
+
> Tutorials show the quickest path for trying out a scenario, and use default options where possible.
32
32
33
33
## Sign in to Azure
34
34
35
35
If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/pricing/free-trial/) before you begin and sign in to the [Azure portal](https://portal.azure.com).
36
36
37
37
## Prerequisites
38
38
39
-
Before you begin, verify the following prerequisites:
39
+
Before you begin, verify the following:
40
40
41
41
| Requirement |Details |
42
42
|------------ | -------|
43
-
|**Subscription permissions**|Check to ensure that you have *Owner* access on the subscription that contains the resources you want to move.<br/><br/> *Why do I need Owner access?* The first time you add a resource for a specific source and destination pair in an Azure subscription, Resource Mover creates a [system-assigned managed identity](../active-directory/managed-identities-azure-resources/overview.md#managed-identity-types), formerly known as the Managed Service Identity (MSI). This identity is trusted by the subscription. Before you can create the identity and assign it the required roles (*Contributor* and *User access administrator* in the source subscription), the account you use to add resources needs *Owner* permissions in the subscription. For more information, see [Classic subscription administrator roles, Azure roles, and Azure AD roles](../role-based-access-control/rbac-and-directory-admin-roles.md#azure-roles).|
44
-
|**VM support**|Check to ensure that the VMs you want to move are supported by doing the following:<li>[Verify](support-matrix-move-region-azure-vm.md#windows-vm-support) supported Windows VMs.<li>[Verify](support-matrix-move-region-azure-vm.md#linux-vm-support) supported Linux VMs and kernel versions.<li>Check supported [compute](support-matrix-move-region-azure-vm.md#supported-vm-compute-settings), [storage](support-matrix-move-region-azure-vm.md#supported-vm-storage-settings), and [networking](support-matrix-move-region-azure-vm.md#supported-vm-networking-settings) settings.|
43
+
|**Subscription permissions**|Ensure that you have *Owner* access on the subscription that contains the resources you want to move.<br/><br/> *Why do I need Owner access?* The first time you add a resource for a specific source and destination pair in an Azure subscription, Resource Mover creates a [system-assigned managed identity](../active-directory/managed-identities-azure-resources/overview.md#managed-identity-types), formerly known as the Managed Service Identity (MSI). This identity is trusted by the subscription. Before you can create the identity and assign it the required roles (*Contributor* and *User access administrator* in the source subscription), the account you use to add resources needs *Owner* permissions in the subscription. For more information, see [Classic subscription administrator roles, Azure roles, and Azure AD roles](../role-based-access-control/rbac-and-directory-admin-roles.md#azure-roles).|
44
+
|**VM support**|Ensure that the VMs you want to move are supported by doing the following:<li>[Verify](support-matrix-move-region-azure-vm.md#windows-vm-support) supported Windows VMs.<li>[Verify](support-matrix-move-region-azure-vm.md#linux-vm-support) supported Linux VMs and kernel versions.<li>Check supported [compute](support-matrix-move-region-azure-vm.md#supported-vm-compute-settings), [storage](support-matrix-move-region-azure-vm.md#supported-vm-storage-settings), and [networking](support-matrix-move-region-azure-vm.md#supported-vm-networking-settings) settings.|
45
45
|**Key vault requirements (Azure Disk Encryption)**| If you have Azure Disk Encryption enabled for VMs, you require a key vault in both the source and destination regions. For more information, see [Create a key vault](../key-vault/general/quick-create-portal.md).<br/><br/> For the key vaults in the source and destination regions, you require these permissions:<li>Key permissions: Key Management Operations (Get, List) and Cryptographic Operations (Decrypt and Encrypt)<li>Secret permissions: Secret Management Operations (Get, List, and Set)<li>Certificate (List and Get)|
46
46
|**Disk encryption set (server-side encryption with CMK)**| If you're using VMs with server-side encryption that uses a CMK, you require a disk encryption set in both the source and destination regions. For more information, see [Create a disk encryption set](../virtual-machines/disks-enable-customer-managed-keys-portal.md#set-up-your-disk-encryption-set).<br/><br/> Moving between regions isn't supported if you're using a hardware security module (HSM keys) for customer-managed keys.|
47
47
|**Target region quota**| The subscription needs enough quota to create the resources you're moving in the target region. If it doesn't have a quota, [request additional limits](../azure-resource-manager/management/azure-subscription-service-limits.md).|
@@ -50,7 +50,7 @@ Before you begin, verify the following prerequisites:
50
50
51
51
## Verify permissions in the key vault
52
52
53
-
If you're moving VMs that have Azure Disk Encryption enabled, you must run a script as mentioned in the [Copy the keys to the destination key vault](#copy-the-keys-to-the-destination-key-vault) section. The users who execute the script should have appropriate permissions to do so. To understand which permissions are required, refer to the following table. You'll find the options for changing the permissions by going to the key vault in the Azure portal. Under **Settings**, select **Access policies**.
53
+
If you're moving VMs that have Azure Disk Encryption enabled, you must run a [script](#copy-the-keys-to-the-destination-key-vault). The users who execute the script should have appropriate permissions to do so. To understand which permissions are required, refer to the [following table](#source-region-key-vault). You'll find the options for changing the permissions by going to the key vault in the Azure portal. Under **Settings**, select **Access policies**.
54
54
55
55
:::image type="content" source="./media/tutorial-move-region-encrypted-virtual-machines/key-vault-access-policies.png" alt-text="Screenshot of the 'Access policies' link on the key vault Settings pane." lightbox="./media/tutorial-move-region-encrypted-virtual-machines/key-vault-access-policies.png":::
56
56
@@ -84,6 +84,8 @@ Keys <br></br> If you're using a KEK, you require these permissions in addition
84
84
85
85
In addition to the preceding permissions, in the destination key vault, you must add permissions for the [Managed System Identity](./common-questions.md#how-is-managed-identity-used-in-resource-mover) that Resource Mover uses to access the Azure resources on your behalf.
86
86
87
+
### Add permissions to Managed System Identity
88
+
87
89
**To add permissions for the Managed System Identity (MSI), follow these steps:**
88
90
89
91
1. Under **Settings**, select **Add Access policies**.
@@ -98,7 +100,7 @@ In addition to the preceding permissions, in the destination key vault, you must
98
100
99
101
### Copy the keys to the destination key vault
100
102
101
-
Copy the encryption secrets and keys from the source key vault to the destination key vault by using a [script](https://raw.githubusercontent.com/AsrOneSdk/published-scripts/master/CopyKeys/CopyKeys.ps1) that we provide.
103
+
Copy the encryption secrets and keys from the source key vault to the destination key vault by using the provided [script](https://raw.githubusercontent.com/AsrOneSdk/published-scripts/master/CopyKeys/CopyKeys.ps1).
102
104
103
105
To copy the keys from the source key vault to the destination key vault, follow these steps:
104
106
@@ -114,11 +116,7 @@ To run the script, do the following:
114
116
1. Copy the contents of the script to a local file, and name it *Copy-keys.ps1*.
115
117
1. Run the script.
116
118
1. Sign in to the Azure portal.
117
-
1. Under **User Inputs** window, select the following:
118
-
1. source subscription,
119
-
1. resource group, the source VM,
120
-
1. the target location,
121
-
1. the target vaults for disk and key encryption.
119
+
1. Under **User Inputs** window, select the source subscription, resource group, the source VM, the target location, and the target vaults for disk and key encryption.
122
120
123
121
:::image type="content" source="./media/tutorial-move-region-encrypted-virtual-machines/script-input.png" alt-text="Screenshot of the 'User Inputs' window for entering the script values." :::
124
122
@@ -158,7 +156,7 @@ To select the resources, do the following:
158
156
159
157
:::image type="content" source="./media/tutorial-move-region-encrypted-virtual-machines/source-target.png" alt-text="Page to select source and destination region.." :::
160
158
161
-
1. On the **Resources to move** tab, select **Select resources**button to open a new tab with available VMs list.
159
+
1. On the **Resources to move** tab, select the **Select resources**option to open a new tab with available VMs list.
162
160
163
161
:::image type="content" source="./media/tutorial-move-region-encrypted-virtual-machines/select-resources.png" alt-text="Screenshot of the 'Move resources' pane and 'Select resources' button.]." :::
164
162
@@ -176,7 +174,7 @@ To select the resources, do the following:
176
174
:::image type="content" source="./media/tutorial-move-region-encrypted-virtual-machines/review.png" alt-text="Screenshot of the pane for reviewing source and destination settings." :::
177
175
178
176
1. Select **Proceed** to begin adding the resources.
179
-
1. Select the notifications icon to track progress. After the process finishes successfully, on the **Notifications** pane, select **Added resources for move**.
177
+
1. Select the notifications icon to track the progress. After the process finishes successfully, on the **Notifications** pane, select **Added resources for move**.
180
178
181
179
:::image type="content" source="./media/tutorial-move-region-encrypted-virtual-machines/added-resources-notification.png" alt-text="Screenshot of the 'Notifications' pane for confirming that resources were added successfully." lightbox="./media/tutorial-move-region-encrypted-virtual-machines/added-resources-notification.png":::
182
180
@@ -205,7 +203,7 @@ To resolve dependencies before the move, follow these steps:
205
203
:::image type="content" source="./media/tutorial-move-region-encrypted-virtual-machines/add-dependencies.png" alt-text="Screenshot of the 'Add dependencies' button." lightbox="./media/tutorial-move-region-encrypted-virtual-machines/add-dependencies.png":::
206
204
207
205
208
-
1. On the **Add dependencies** pane, keep the default **Show all dependencies** option.
206
+
1. On the **Add dependencies** pane, retain the default **Show all dependencies** option.
209
207
210
208
-**Show all dependencies** iterates through all the direct and indirect dependencies for a resource. For example, for a VM, it shows the NIC, virtual network, network security groups (NSGs), and so on.
211
209
-**Show first-level dependencies only** shows only direct dependencies. For example, for a VM it shows the NIC but not the virtual network.
@@ -222,9 +220,9 @@ To resolve dependencies before the move, follow these steps:
222
220
223
221
You must manually assign destination resources that are associated with encryption.
224
222
225
-
-If you're moving a VM that has Azure Disk Encryption enabled, the key vault in your destination region appears as a dependency.
226
-
- If you're moving a VM with server-side encryption that uses CMKs, the disk encryption set in the destination region appears as a dependency.
227
-
-Because this tutorial demonstrates moving a VM that has Azure Disk Encryption enabled and that uses a CMK, both the destination key vault and the disk encryption set show up as dependencies.
223
+
If you're moving a VM that has Azure Disk Encryption enabled, the key vault in your destination region appears as a dependency. If you're moving a VM with server-side encryption that uses CMKs, the disk encryption set in the destination region appears as a dependency.
224
+
225
+
Because this tutorial demonstrates moving a VM that has Azure Disk Encryption enabled and that uses a CMK, both the destination key vault and the disk encryption set show up as dependencies.
228
226
229
227
**To assign the destination resources manually, do the following:**
230
228
@@ -261,11 +259,11 @@ During the preparation process, Resource Mover generates Azure Resource Manager
261
259
262
260
To prepare to move the source resource group, do the following:
263
261
264
-
1.On the **Across regions** tab, select the source resource group, and select **Prepare**.
262
+
1.In the **Across regions** tab, select the source resource group, and select **Prepare**.
265
263
266
264
:::image type="content" source="./media/tutorial-move-region-encrypted-virtual-machines/prepare-resource-group.png" alt-text="Screenshot of the 'Prepare' button on the 'Prepare resources' pane." lightbox="./media/tutorial-move-region-encrypted-virtual-machines/prepare-resource-group.png":::
267
265
268
-
1.On**Prepare resources**, select **Prepare**.
266
+
1.In**Prepare resources**, select **Prepare**.
269
267
270
268
> [!NOTE]
271
269
> After you've prepared the move, the resource group status changes to *Initiate move pending*.
@@ -379,7 +377,9 @@ You can configure the following settings after the move process:
379
377
After the move, you can optionally delete resources in the source region.
380
378
381
379
1. On the **Across regions** pane, select each source resource that you want to delete, and select **Delete source**.
382
-
1. In **Delete source**, review what you intend to delete and, in **Confirm delete**, type **yes**. The action is irreversible, so check carefully!
380
+
1. In **Delete source**, review what you intend to delete and, in **Confirm delete**, type **yes**.
381
+
> [!Caution]
382
+
> The action is irreversible, so check carefully!
383
383
1. After you type **yes**, select **Delete source**.
384
384
385
385
> [!NOTE]
@@ -404,5 +404,5 @@ To delete your resources, do the following:
404
404
405
405
## Next steps
406
406
407
-
See [Moving Azure SQL databases and elastic pools to another region](./tutorial-move-region-sql.md).
407
+
[Learn more](./tutorial-move-region-sql.md) about moving Azure SQL databases and elastic pools to another region.
0 commit comments