For this step additional tools are required. I recommend using Windows Azure PowerShell Tools:
and the Windows Azure SDK 1.8 (SDK only):
After completing the rather long setup procedure, connect Azure PowerShell with your Azure Account: (This can be a bit tricky because you have to find the right parameters and load the certificates etc...) The following commands help to achieve this, however, it is not a step by step tutorial.
The * text * needs to be replaced with your own values.
The SubscriptionName is located in settings of the Azure control panel.
Further background knowledge concerning these commands can be found in the Azure documentation.
The actual Upload
It took quite a bit of effort to get here, but finally we can upload the VHD to our Azure account.
I use PowerShell to execute the command.
First you need to initialize the Connection
The csupload.exe is only available if you have installed Azure SDK 1.8. The file is located in
C:\Program Files\Microsoft SDKs\Windows Azure\.NET SDK\2012-10\bin.
Navigate to this folder and execute:
You can find the Subscription ID and Thumbprint in your Azure Account under settings.
Now choose the local VHD and upload it to Azure
The upload may take a while depending on your bandwidth; 10 GB took about 40 minutes...
The upload was successful when the following is indicated in the command prompt: Disk *xyz* is registered successfully.
Next step, Part 3: See how to create a Virtual Machine from VHD in Azure