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 to use when starting;

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

Source - specifies the URI for the BLOB in Azure

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

Examples:

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

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

In this example, it loads the specified blob at the specified local file path and overwrites the existing file 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 the 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 the VHD.

The VHD downloaded from Windows Azure needs to be converted to VMDK format, for example using StarWind V2V Converter

Next, you can use VMware Workstation Pro to create a machine with the disc 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

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...

Windows Physical Server Migration

To convert a physical server to a virtual machine, VMware® vCenter Converter Standalone must be...