Creating a Virtual Machine in Microsoft Azure

In this tutorial, we are going to learn how to create a Virtual Machine, and go over some basic features. Let’s start with choosing a Windows Server under the Recommended (or Operating Systems) category. We’ll be using the Windows Server 2012 R2 Datacenter.


You might also notice that there is support for certain Linux distributions, as well, which is super handy 🙂

Now, on to the configurations. These are up to you to choose, but the defaults would be good enough for the purposes of this demo. Just for reference, I’ve chosen a single core, 3.5GB SSD for storage.


After the VM has been created, click on the connect button. A download should start. Open it, and when prompted, log in with the same credentials used when creating the VM. Voilà! You should get a cool new VM you can play around with.

I’m going to talk a little bit about monitoring your VM, and how you can leverage that to optimize your costs for disk space. Head over to Monitoring –> Metrics, and select Percentage CPU. You can see that I’ve barely used any of my available storage (this is, of course, an extremely low percentage because I barely touched my VM).


Here’s where you can make a decision to scale down your chosen disk space (and consequently, pay less), based on how much of it is actually being utilized.

On the same note, another useful feature that you could take advantage of is to trigger alerts in events of abnormally high CPU usage (i.e., exceeding a certain threshold). Go to Monitoring –> Alert rules. As an example, let’s say I want to be alerted whenever CPU usage > 50% over the last 5 minutes:


As you can see, there are lots of features you can explore in the Azure portal that allows you to make the best decisions with regards to customizing your VM to suit your needs.

Stay tuned for more!



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