Migration from Microsoft Azure

To export a virtual machine from Azure, you must install Azure PowerShell on any Windows family machine and use the Save-AzureVhd command to save the virtual drive. Command syntax:

Save-AzureVhd [-Source] [-LocalFilePath] [[-NumberOfThreads] ] [[-StorageKey] ] [[-OverWrite]] [ ]

 

-LocalFilePath - indicates the path to save VHD;

-NumberOfThreads - specifies the number of threads to be used at launching;

-OverWrite - indicates that you want to overwrite the file if it already exists;

-Source - specifies URI for BLOB in Azure

-StorageKey - specifies the storage key for BLOB storage. If it is not specified, the commandlet tries to identify the account storage key in the source URI from Azure.

Examples:

In this example, the specified blob is loaded along the specified path to the local file:

Save-AzureVhd -Source http://mytestaccount.blob.core.windows.net/vhdstore/win7baseimage.vhd -LocalFilePath C:\vhd\MyWin7Image.vhd

In this example, the specified blob is loaded along the specified path to the local file and an existing file is overwritten if it exists:

Save-AzureVhd -Source http://mytestaccount.blob.core.windows.net/vhdstore/win7baseimage.vhd -LocalFilePath C:\vhd\MyWin7Image.vhd -Overwrite

In this example, the storage key is specified for download:

Save-AzureVhd -Source http://mytestaccount.blob.core.windows.net/vhdstore/win7baseimage.vhd -LocalFilePath C:\vhd\MyWin7Image.vhd -StorageKey zNvcH0r5vAGmC5AbwEtpcyWCMyBd3eMDbdaa4ua6kwxq6vTZH3Y+sw==.

Note: You can navigate through the account container on the Azure portal to find the correct URL for VHD.

VHD downloaded from Windows Azure must be converted to VMDK format, for example with StarWind V2V Converter

Next, you can use VMware Workstation Pro to create a machine with the disk obtained after conversion and export it to OVF (see article)

Have you tried Cloud4U cloud services? Not yet?

Go to the Main Website

Try for free

  • 50 Users Found This Useful
Was this answer helpful?

Related Articles

vCloud Connector - installation and migration instructions for VM from vCenter to vCloud

To migrate VM from vCenter to vCloud, you must plan to locate the vCloud Connector Server and...

Converting KVM, Xen disks to VMware via QEMU

One way to migrate to an ESXi (VMware) hypervisor is to convert a KVM or Xen disk using the...

Converting a VHD disk to VMDK format with StarWind V2V Converter

The free product StarWind V2V Converter makes it easy to convert virtual machines and their disks...

Exporting a machine with VMware vSphere client

If there is a task to upload the virtual machine in OVF or OVA format and access is performed...

Creating a machine from vmdk disk, exporting to OVF

To create a machine and export to OVF, we suggest using VMware Workstation Pro From the File...