Microsoft has released the ability to easily create a Virtual Machine hosted on Azure
Figure: I can’t quite believe how easy it is to ‘Quick Create’ a new Virtual machine. It literally takes a few minutes to have a Windows Server running in the cloud.
Figure: Alternatively you create a Windows or LINUX VM from selection of images in the Gallery. You can also add your own images to the gallery. This process only takes marginally longer than Quick Create, but gives you more options for customization.
Situations where I love Azure VMs
1. Have a Dev box in the cloud
I have an Azure VM with Visual Studio 2012 and SQL Express 2012 on it.
I keep it at an Extra-Small instance for most of the month ($15/month) and ramp it up to a Large/Extra Large instance when I want to work on it.
Figure: Changing the size of the VM is amazingly simple. Log onto the portal, choose an option from the drop down and click Save. Wait a few minutes and log back in.
Figure: I love that I can connect to my Dev VM from anywhere…. Including my iPad
Figure: Running Visual Studio 2012 on Azure from the iPad (the Apple Wireless keyboard nearly makes this workable)
Would I pay $233 per month to leave it as a large instance and make this my full time dev environment – No.
2. Training machines in the cloud.
Similar to the above situation, it was great to be able to spin up 24 Medium instances to have people do labs on at the Enterprise MVC course.
Attendees were given RPD credentials and logged into their own Azure VM.
The alternatives we considered were
– Each attendee downloads and installs Visual Studio 2012 RC and SQL Express 2012 on their laptops
– Each attendee brings a laptop running a 64 bit OS capable of running a VM, and downloads a VM onto their machine.
The issues that we had with using Azure VMs to run training machines were
– Medium VMs were a bit slow – next time we should use Large
– RPD is not heavy, but we did have issues in some offices with the number of people connected to the available wireless routers
– The network connection died at one training venue. Luckily this happened late in the afternoon when most people had completed the lab exercises
– Some VMs would simply fail to provision. The VM feature is not actually released yet and I’m sure this will be addressed
– Provisioning the machines takes some time because they have to be done synchronously. i.e. Create a new VM, wait for it to finish provisioning and then create the next one.
This is something we will look at automating ourselves, but it would be great to have the functionality available on the MS portal.
For a single day of training with 24 Medium VMs this cost about $50. This is incredible value.
Situations where I do not think Azure VMs are the answer
1. Hosted Full Time Server
For a full time machine of reasonable size you are looking at $335 or $671 per month. I doubt this is cost effective.
I’d be interested to hear from some Sys Admin types about what they believe their on-premise servers cost them per month.
Azure VM Pricing Summary
|Preview Prices||cores||memory||per hr||per day||per month|
|Extra Small||Shared||768Mb||$ 0.013||$ 0.31||$ 9.49|
|Small||1||1.75 GB||$ 0.080||$ 1.92||$ 58.40|
|Medium||2||3.5 GB||$ 0.160||$ 3.84||$ 116.80|
|Large||4||7 GB||$ 0.320||$ 7.68||$ 233.60|
|Extra Large||8||14 GB||$ 0.640||$ 15.36||$ 467.20|
|Figure: This is the pricing while the VM feature is in preview|
|Release Prices||cores||memory||per hr||per day||per month|
|Extra Small||Shared||768Mb||$ 0.020||$ 0.48||$ 14.60|
|Small||1||1.75 GB||$ 0.115||$ 2.76||$ 83.95|
|Medium||2||3.5 GB||$ 0.230||$ 5.52||$ 167.90|
|Large||4||7 GB||$ 0.460||$ 11.04||$ 335.80|
|Extra Large||8||14 GB||$ 0.920||$ 22.08||$ 671.60|
|Figure: This is the pricing after the VM Feature is released|
Everyone knows about my deep love for Azure. Most people also know it’s a bit of a love-hate relationship.
It’s so full of promise, but everything turns out to be a bit harder to implement in practice than it should be… until now.
Figure: In the Azure portal, go to your Account settings, then to the Preview Features tab, and select ‘Try it now’ next to Web Sites
Figure: Navigate back to the Portal, click ‘New’, select ‘Web Site’ and then ‘From Gallery‘
Figure: A host of great Apps are available. I’m pushed for time and this is a distraction from writing the course I am delivering tomorrow so I will choose WordPress as I am familiar with it.
Figure: Choose the DNS prefix that you wish to use, select your nearest region and click Next
Figure: Enter a database name, select the region, agree to the conditions and click next
Figure: Complete the WordPress installation form and click ‘Install’
Figure: And you are done. I love this confirmation message.
Figure: And as easy as that I am hosting my own WordPress blog.
Thank you Azure.
And Yes. This blog post took three times longer to create than the new site that I am going to have to move it to.