Saving Money on Windows Azure Virtual Machines

Once you set up a Windows Azure Virtual machine the costs incur on an hourly basis, but what if you don’t need the machine running 24 hours a day? What if you just need it once in a while for a few hours maybe? You might be tempted to just shut down the virtual machine from the management console but that doesn’t do anything: The costs still incur because the virtual machine is still reserved even though it is not running. See

In order to preserve the state of the virtual machine and reduce the cost you have to use the Windows Azure Powershell commandlets. The commandlets can be downloaded here from the Microsoft site. They used to be on codeplex.

To get started with the PowerShell commandlets see:

To begin working with your virtual machines using PowerShell see:

The general idea is to export the state of your virtual machine and then delete it. When you need it again you import and start.


Tagged with: , ,
Posted in Development

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: