|
| 1 | +--- |
| 2 | + |
| 3 | +title: How to migrate a Nested Confidential VM from one region to another |
| 4 | + |
| 5 | +description: Migrate nested confidential VMs from one region to another |
| 6 | + |
| 7 | +services: virtual-machines |
| 8 | + |
| 9 | +author: ananyagarg |
| 10 | + |
| 11 | +ms.service: azure-virtual-machines |
| 12 | + |
| 13 | +ms.subservice: azure-confidential-computing |
| 14 | + |
| 15 | +ms.topic: concept-article |
| 16 | + |
| 17 | +ms.date: 07/07/2025 |
| 18 | + |
| 19 | +ms.author: ananyagarg |
| 20 | +--- |
| 21 | +# How to move a Nested Confidential VM from one region to another |
| 22 | + |
| 23 | +**Step1**: Identify the target region. |
| 24 | + |
| 25 | +**Step 2**: Prepare the Source Nested Confidential VM by ensuring all data is backed up. |
| 26 | + |
| 27 | +**Step 3**: Verify that your subscription has sufficient quota for the target VM in the target region. Request a quota through the [Azure portal](/azure/azure-portal/supportability/per-vm-quota-requests) if needed. |
| 28 | + |
| 29 | +**Step 4**: Navigate to VM you wish to resize in the portal. |
| 30 | + |
| 31 | +**Step 5**: Select the stop button and wait for status of the VM to be Stopped (deallocated). |
| 32 | + |
| 33 | +:::image type="content" source="./media/migrate-nested-cvms/capture-option-azure-portal.png" alt-text="Screenshot of Azure portal showing the Capture option, circled in green, and the Status highlighted."::: |
| 34 | + |
| 35 | + |
| 36 | +**Step 6**: Find the **Capture** drop down in the overview tab of the VM, then select **Image**. |
| 37 | + |
| 38 | +**When you get to the image creation page**: |
| 39 | +* Ensure you select *Automatically delete this Virtual Machine after creating the image* (check image 2). |
| 40 | + |
| 41 | +:::image type="content" source="./media/migrate-nested-cvms/azure-portal-options-for-vm-image-creation.png" alt-text="Screenshot of the Azure portal showing the options to Automatically delete the virtual machine after creating the image, Create new for Target Azure compute gallery, Create new for Target VM image definition, and Version number."::: |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | +* If you don't have a gallery, in the gallery option, select *Create new* and name your gallery. |
| 46 | + |
| 47 | +* Fill in name and other options, create an image definition if none is usable. |
| 48 | + |
| 49 | +* Read the descriptions for specialized vs generalized images and choose your option. (If not sure, generalized should work for most cases.) |
| 50 | + |
| 51 | +* Continue to fill other options. In the replication portion of the image capture option, add the region you wish to *relocate* your VM to. You need to select the target region drop-down. |
| 52 | + |
| 53 | +:::image type="content" source="./media/migrate-nested-cvms/azure-portal-option-target-region-migrated-vm.png" alt-text="Screenshot of the Azure portal showing the options Target regions."::: |
| 54 | + |
| 55 | + |
| 56 | +**Fill in all other options and hit *Review + create***. |
| 57 | + |
| 58 | +**Step 7**: Go to your gallery and select the image you captured. In the top left, select **Create a vm**. |
| 59 | + |
| 60 | +**Step 8**: Fill in all options and ensure you select the new region and new size. If you don't see the size you wish to have, ensure 'no infrastructure redundancy is required' is selected and that your requested region supports the size you wish to have. |
| 61 | + |
0 commit comments