Did you know you are charged for a Windows Azure Virtual Machine every hour it is deployed even if it is not running? I would guess many people are not using their Virtual Machines at night when they sleep so shouldn’t we have a simple way to take them offline? Wouldn’t it be nice to have a simple GUI interface to view Virtual Machines (VM) and Virtual Hard Disks (VHD)?
This tool solves all those problems! This tool can be used to easily reduce your monthly Windows Azure compute usage and SAVE YOU MONEY!
I am pleased to announce the release of a community project called the Windows Azure Virtual Machine and Virtual Hard Disk Management Tool. I have put over 300 hours into researching, building, and testing this tool.
Download Link: Windows Azure Virtual Machine and Virtual Hard Disk Management Tool
Read the current list of Known Issues: Known Issues The list of issues currently relates to Virtual Machines, Disks, and Virtual Networks that were created more than a few months ago.
The purpose of this tool is to make working with Windows Azure Virtual Machines and Virtual Hard Disk easier to use, easier to understand, and more cost effective. Take a look at the feature list below.
Sure – things like taking a VM offline can be done via PowerShell, but I have made it so easy using a simple WinForm even my mom could take a VM offline (if she only knew what offline meant)! Better yet, setting up and configuring PowerShell for Azure is not required to run this tool. All you need is .Net 4.0 or higher, a management certificate installed in Azure, and your subscription ID.
See the download link or ReadMe.txt for more details and basic How To’s.
Please keep in mind this is a free tool without support or warranty of any kind. In the event of “bad things happening” I store a backup of the raw exported XML in the local folder. I also do not touch the underlying VHDs when taking a VM offline. Worse case, the VMs would need to be recreated using the Windows Azure portal.
If you run into any issues, please use the Email Me link inside the form to let me know so I can research the issue. I want this to be the best tool possible.
Stay current with the latest information on Windows Azure Virtual Machines Management by joining our Windows Azure Virtual Machine and Virtual Hard Disk Management Newsletter.
To use this tool you need to setup on values in the App.Config file.
<!-- Enter the Source Storage Account Details here. -->
<add key="SourceStorageConnection" value="DefaultEndpointsProtocol=https;AccountName=NAME;AccountKey=KEY" />
<!-- Uncomment and Enter the Destination Storage Account Details here. To work with only one account leave commented out.
To copy to the same store set this to the same as Source Account above. -->
<add key="DestinationStorageConnection" value="DefaultEndpointsProtocol=https;AccountName=NAME;AccountKey=KEY" />
<!-- Select to enable REST API Advanced Features - Subscription ID and Certificate are Required for this feature. true | false -->
<add key='EnableRESTApi' value='true' />
<!-- Enter the full path to the -->
<add key='CertificatePath' value='--Required for REST API not for File Copy--'/>
<!-- Your Windows Azure Subscription ID -->
<add key='SourceSubscriptionID' value='--Required for REST API not for File Copy--' />
<!-- Local folder for exported VMs -->
<add key='LocalVMLocation' value='--Required for REST API not for File Copy--' />
Basic Steps to take a Virtual Machine Offline - Note - the Disk and VHD are not touched in this process
Basic Steps to take a Virtual Machine Online - Note - the Disk and VHD are not touched in this process
Can you please advise where I can source the following information that you require in the config file:
You only need those values if you are using the REST API. If so, Certificate Path is the full path locally to your Windows Azure Management certificate. Local VM Location is any local folder that can be used to store your exported VM's.
Hope this helps.
Does the management certificate information comes from Azure.PublishSettings
Chirag Shah – great question. This release assumes you have created your own certificate and uploaded it to the portal. I have an internal release that just uses the string from the publishing file. I’m not sure I’ll make another public release of this tool but if you want the latest version just email me through Contact Me page at www.biztalkguru.com/contact