In this section, we will be copying a virtual machine VHD file to the Azure cloud. Then, we can use the uploaded VHD file during deployment of a virtual machine. We must configure a storage location to upload the VHD file in the Azure cloud. Before we can upload the VHD file, some limitations need to be kept in mind during the preparation of the file, which are as follows:
At the time of writing this, the Azure cloud supports the following Windows operating systems: Windows Server 2008 R2, Windows Server 2012, and Windows Server 2012 R2.
At the time of writing this, the newer VHDX format is not supported in Azure. We can, however, convert VHDX to the VHD format using Hyper-V manager. We can also use the
convert-vhd
PowerShell integrated cmdlet. If you get an error message forconvert-vhd
cmdlet not found, then add Remote Server Administration Tools and Hyper-V Module for Windows PowerShell in the server manager. The Hyper-V role is...