Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

How to Migrate a Virtual Machine from Microsoft Azure to Plenit

Migrating an Azure virtual machine to Plenit has two halves: first you generate in Azure a download link for the disk (in VHD format) and then you complete the import from the Plenit migration tool, pasting that link.

The guide uses a GNU/Linux example, but the flow is the same for other systems.

👍 What you get

Your Azure VM disk being imported into Plenit from its export URL, ready to deploy the destination server.

Before you begin

  • Log in to the Plenit platform with company administrator permissions or on a subscription of Servers.

  • Have access to the section Migrations within Cloud Services.

  • Have the virtual machine you want to export in Azure.

Step 1. Prepare the export in Azure

Shut down the machine before exporting and take the opportunity to delete content or uninstall software you do not need: the lighter the image, the lower the risk of interruptions during the download or import.

1.1 Open the operating system disk

With the VM turned off, go to its details, open the section Disks and select the operating system disk.

{/* 📸 SCREENSHOT 1 · Azure · Disks section with the operating system disk */}

Access to the operating system disk in Azure

1.2 Generate the export URL

Inside the disk, open Disk export. Azure prepares a secure download URL in format VHD. Define the expiration time and click Generate URL.

📘 Give the URL expiration plenty of room

The default value is 3600 seconds (one hour), which is too short for a migration. Increase it generously: in the example, 172800 seconds (48 hours) are used, so the download does not expire halfway through the transfer.

{/* 📸 SCREENSHOT 2 · Azure · export screen with the expiration time */}

Generation of the export URL with its expiration time

When the link is ready, copy it and set it aside for Step 2 (you can also download the VHD in the browser, but for migration the practical option is the link).

{/* 📸 SCREENSHOT 3 · Azure · generated VHD link, ready to copy */}

Copy of the generated VHD file link

Step 2. Import the machine from Plenit

In Cloud Services → Migrations, click New migration to open the wizard. If you have migrated before, this screen also shows the history.

2.1 Service and source type

Select Servers as the service to migrate and, as type, Virtual.

{/* 📸 SCREENSHOT 4 · wizard · Servers service and Virtual type */}

Selection of Servers and Virtual type in the wizard

2.2 Format, delivery method, and disk data

Select Compatible Virtual Disks as the format and download via URL as the delivery method. Then, fill in the disk details:

  • File name, with extension .vhd.

  • Disk URL: the link you copied from Azure.

  • Disk type: whether it is a system disk or a data disk.

  • Display Name: the disk identifier in the console.

Click Create and then Next.

{/* 📸 SCREENSHOT 5 · wizard · download via URL and .vhd disk data */}

Format, URL method, and disk data

2.3 Organization, subscription, and deployment

Indicate the organization, the subscription and the availability zone where to upload the disk. To the question Do you want to deploy a new server with the imported disks?, the usual answer is Yes.

{/* 📸 SCREENSHOT 6 · wizard · organization, subscription, zone, and deploy option */}

Selection of organization, subscription and deployment

2.4 Destination server

If you chose to deploy, specify the name, the operating system, the size and the network type (standard or VPC). Click Finish.

{/* 📸 SCREENSHOT 7 · wizard · destination server configuration */}

Target server configuration

2.5 Migration status

When finished, Plenit shows the status: first preparing transfer and, then, waiting for transfer. From there, internal processes begin that lead to the deployment of the new server.

🚧 The URL must stay alive during the transfer

Plenit downloads the disk from the Azure link, so the URL must remain valid while the transfer lasts. If it runs out of time, generate a new one in Azure and repeat the disk setup.

{/* 📸 SCREENSHOT 8 · migration status summary (preparing/waiting for transfer) */}

Migration status summary

Conclusion

Migration from Azure relies on a temporary link: Azure publishes the disk as a download URL and Plenit uses it to fetch the VHD. That is why the two details that most often interrupt these migrations are the URL expiration time (give it plenty of margin) and the size of the disk (clean up and shut down the VM before exporting).

With those two things under control, the wizard does the rest and the server ends up being deployed in the subscription you chose.

Last updated

Was this helpful?