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:
Then click on the New button in the bottom of the portal page:
Navigate to compute -> virtual machines -> From gallery:
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:
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 :
But in case of standard tier you have a lot of choices as below:
- 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:
Now in the Third page of the wizard we need to specify the following:
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.
Finally, you have many third party tool to be installed in VM, choose what tool you need and click on the tick button.
the creation of VM will take some minutes, wait until the VM give a status ” Running”.
so now the VM is Running:
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:
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.
after open the RPD file, you can login normal to the VM and work in VM as a simple hyper-v virtual machine:
Click on YES:
Finally You are in the Virtual Machine desktop:
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:
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 🙂
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.