So instead of ranting about the joys of PaaS let’s discuss Azure development environments and cost.
I really wanted to try the new ASP vNext and maybe even the possibility to run the application on Linux/Mac as well.So the first thing I need is to get me a version of Visual Studio 2015 preview.
I don’t want to hose my workstation by installing weird versions of VS so I’d rather just get another computer … hmm , let’s think about that … maybe a virtual one from Azure !
Ok, I go to Azure and provision me a new A2 machine , 2 cores 3,5G memory. Installs very fast, no problems there. Log into the vm with remote desktop , fire up IE , goto google, install chrome, install the new visual studio : http://www.visualstudio.com/en-us/downloads/visual-studio-2015-downloads-vs
This phase actually takes some time since it’s like 10G of stuff that gets installed.
So while I’m waiting for the install to happen I start thinking about the cost of this test …
Looking at the pricing at http://azure.microsoft.com/en-us/pricing/calculator/?scenario=virtual-machines it says that a Basic A2 machine will cost me 0.111 € per hour.
That’s not very much. So If I was to use this machine 8 hours per day for 20 days a month it would cost me 17,76 € per month.
Which is definitely not how much I will be using this machine. In reality If doing only VS testing the real number would be closer to 4 hours a day times 5 days which makes about 2,22 € !!!
Think about it, I don’t have to screw up my real desktop computer for this test and I get to utilize another processor for compiling in totally separated environment and runnning and it only costs me 2,22 € !.
That is if I remember to shut the vm down every day when I’m done with it. I will definitely try to.
This can be taken so much further… I could be using preseeded VM images or using Azure DSC-tools to create specific configurations with minimal effort on my part.
Have visual studio do stress testing on finished projects (there’s gonna be a writeup on that later) .
So many possibilities and the cost is ridiculously low.
One would have to be a complete moron not to do this.
Tried it home with my iMac … worked perfectly with osx remote client. Tried it on my Surface RT as well … works equally well.
This is sweet.