Windows Azure – Virtual Machines Concept and Implementation

Hello Everybody,

we already discussed in many articles the azure cloud services, Azure Virtual machines and azure storage account. Today in this article we will discuss about how to implement Azure virtual machines and some important concepts.

Always keep in mind to place all resources in same physical ( Region ) location.

Now since the cloud service, Virtual network and storage account already implemented we can move forward to look how to implement the virtual machines, as usual login to azure portal using https://manage.windowsazure.com, in the portla page and from the left pane click on Virtual Machines:

1

 

Then click on the New button in the bottom of the portal page:

2

Navigate to compute -> virtual machines -> From gallery:

3

There is many templates for OS versions, also there is some templates contain installed application like SQL. in this article we will choose windows 2012 R2 data center version, choose the template you need and click in the arrow:

4

in the second page of the wizard, you need to fill the following:

Virtual Machine Name: simply its the host name of the machine.
Tier: here you have two options, the first one is Basic and the other is Standard. so what is the difference between these two types ! it’s a good question

there some difference between the two tier types :

Availability: Basic tier offer five types of size instance from A0-A4 as below:
11

But in case of standard tier you have a lot of choices as below:

12

  • Feature cut: Basic tier VM does not include load balancing or auto-scaling and this very important for users have interesting in auto scaling or load balancing.
  • CPU: Standard tier have better CPU performance than basic tier

Now go back to the Wizard, specify the host name, the username and password for the local administrator ( Don’t try to use a common word in username and password since azure will refuse it), Also i will use a basic tier just for the demo:

5

Now in the Third page of the wizard we need to specify the following:

Cloud service: select existing cloud service or create new one, for more info follow cloud service article.

Virtual Network: select the virtual network you need to use, for more info follow virtual network article.

Storageselect the storage account you need, also for more infor follow the storage account article.

also here appear how much the importance of keeping all resource in the same physical location, since as you see here you cannot choose the location of virtual machine and the location will be the same as the cloud service you choose, also after you choose the cloud service the virtual network which will appear in the drop down list is the one’s have the same location of the cloud service, for example here the cloud service is in North Europe and since i already created two virtual network in the same location, these two virtual networks appears in the wizard but other VN in other location does not appear, so be careful in this to choose the right location, for now keep the Availability set and end points as it since we will discuss this in next article. click in the arrow.

7

Finally, you have many third party tool to be installed in VM, choose what tool you need and click on the tick button.

8

the creation of VM will take some minutes, wait until the VM give a status ” Running”.

10

so now the VM is Running:

13

so as you see the location of VM is automatically take place of North Europe since the cloud service which hold this VM is in North Europe.

Great, so how you can connect to this VM ! simply click in the connect button in the bottom portal page after choose the VM you want to connect:

14

once you click in the connect button, an RDP file will be installed so you can open it and login with the credential you chose in the VM creation wizard.

15

after open the RPD file, you can login normal to the VM and work in VM as a simple hyper-v virtual machine:

16

Click on YES:

17

Finally You are in the Virtual Machine desktop:

18

if you try to execute the ipconfig cmd, you will see the IP address of the server from the same range of the virtual network you chose in the VM creation wizard:

19

 

from the above screen you will see the VM take an IP of 10.1.1.4 which is from the subnet 10.1.1.0/27 in the virtual network.

but the question here is this IP static ! simply NO !!!!! so how i can do it static ?
This is will be the topic of the next article but for now don’t try to assign the IP from the network adapter because this will corrupt the VM 🙂

Stay tuned 🙂

Blogger …

Ahmad Yasin (MCSA office 365, MCSE : Messaging, Azure Certified)

Ahmad Yasin (MCSA office 365, MCSE : Messaging, Azure Certified)

Ahmad Yasin in a Microsoft Cloud Engineer and the publisher of AzureDummies blog. He also hold many certificates in office 365 and windows azure including Developing Microsoft Azure Solutions, Implementing Microsoft Azure Infrastructure Solutions and MCSA office 365.

Find Ahmad at Facebook and LinkedIn

Leave a Reply

Your email address will not be published. Required fields are marked *