How to create a Windows Virtual Machine in Microsoft Azure?

You may have heard about Virtual Machines(VMs) many times but what exactly is a VM and how you can create a Virtual Machine with Microsoft Azure? Here in this blog, we will teach you the same. 

What is a Virtual Machine(VM)?

A Virtual machine is an isolated computing resource or environment. Instead of physical hardware VM uses the software to deploy apps and run programs. You can also consider it as a computer inside a computer. It has its own storage, ram, CPU, memory, and other required resources. 

The Virtual machine is called “guest” and the system on which it runs is called “host”.

How does a Virtual Machine work?

Hypervisor, a type of software, is used to create a virtual machine. It enables you to divide your system into many other isolated environments which work as a computer. 

How to create a Virtual Machine with Microsoft Azure?

You can create a Virtual Machine with your Azure portal in a simple manner. Just follow the below instructions:

  1. Open your Azure Portal.
  2. On the homepage, type Virtual machine in the search bar and click on it. 

   3.  On the Virtual Machine dashboard click on “Add” and select Virtual Machine.

 4. Now here you need to provide some information related to your Virtual Machine including the   operating system.

 5. Firstly, under the project details choose your subscription and create a new resource group   otherwise choose the existing one. 

6.  Now you need to give the instance details. Give it a name such as myvm and choose the region.      Then for the image choose “Windows server 2019 Datacenter – Gen1” and choose “Standard_DS1_v2 -1 vcpu, 3.5 GB” as the memory size. 

7. For the Administration account, give it a username and a strong password.

8. Under the Inbound Port rules tab, choose to Allow selected port and then select RDP (3389) and  HTTP (80) as the inbound port.

9. Licensing tab as it is. 

10.Now click on the “Disk” and you will see that a premium SSD is already allocated to your VM.

11. Leave the other settings as default and click on Review+Create. 

12. After a few minutes, your VM will be launched. 

Once your resource is deployed, you can connect to your virtual machine. 

  1. On the resource deployment tab click on “Go to resource”

  1. On the home page, click on connect button and then choose RDP. 
  2. On the RDP connection page, keep the default options to connect by IP address, over port 3389, and Download the RDP file.
  3. On your system, click on the downloaded RDP file and click on connect when asked. 
  4. On the security window, select More choices and Use a different account. Remember the username and password you assigned to your VM while creating it. Type them here and click on OK.
  5. If you receive a certificate warning, click yes and continue with your connection.
  6. You will be on your VM in a while. 

Congratulations! You just created your own Virtual Machine with Azure. 

What do you think?

Written by DANN N


Leave a Reply

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