Tech: Put a VM on Azure

In December last year, reported about the fact that Microsoft made a VM role available in their Azure cloud computing platform, in this article we outlined that creating the VM was overwhelmingly complex, especially compared to solutions from other vendors.

Giovanni Marchetti, who is Senior Technical Evengelist at Microsoft published an article on how to publish a Virtual Machine to Windows Azure.

Basically the steps are:

  1. Generate a x509 certificate for use with the management API
  1. Prepare the VM by creating it on Hyper-V, installing Windows Server 2008 R2 and install the Azure integration components so that the device drivers and management services required by the Azure hypervisor and fabric controller are provisioned, installing and configuring applications and finally sysprepping the VM.
  1. Upload the VM to Azure using the csupload command line utility provided with the Azure SDK.
  1. Prepare the Service Model, which is a service definition and a service configuration file, which can be generated using Visual Studio 2010.
  2. Creating the Service in Azure
  1. Connect to the machine in Azure using RDP.