How to create a Virtual Machine (VM) on Azure

A VM is just like a machine on which you are currently reading this article, but the only difference is that it is hosted somewhere else, and you are not required to worry about maintaining it patching it for security, etc. For creating a virtual machine (VM) on Azure. Follow the following steps to spin up a VM.

 

Note: You can find the practical demo at https://www.youtube.com/watch?v=m4YokjglC-o&t=3s  

  1. Once you are logged into the Azure portal. You need a resource group to create a resource, in our case, it is a VM. Think of the resource group as a container that is used to accumulate all the related resources. And to create a resource group click on the Resource Groups icon.

 

  1. Click on the + Create button to create a new resource Group (as shown in the below image)

 




 

  1. Now you must be seeing Create a Resource Group form (as shown in the below image). You are required to fill out the form to create the resource group. Under the Project Details section, Provide the subscription you have. Provide a valid Resource Group, it should be unique in the selected subscription. Under Resource Details, select a Region. Once the form is filled click on the Review + Create Button. And finally, click on Create button (Important).

 


  1. Once the Resource group is created you will be redirected to the Resource Group page, here under listing you would be able to see your newly created resource group.

 




  1. Go back to the Home page (by clicking on the Home link on the top of the page) (as shown in the above image)

 

  1. In Azure VM is a resource, so we need to create one, and to do so you need to click on Create a resource icon.

 


  1. Click on the Virtual Machine Icon

 


  1. You will be able to see a form that you are required to fill. Provide details like Subscription, and the resource group you want to use for this VM. Select Image type Windows or Linux that will be based on your requirements, please note there are different level of VM and each level come with some cost. For more details, you can refer to the post https://docs.microsoft.com/en-us/azure/virtual-machines/sizes

 





  1. Don’t change any settings and click on the Next: Disk

 

  1. Don’t change any settings and click on Next: Networking

 

  1. Don’t change any settings and keep clicking on the Next: **** button until you reach the Review + Create screen

 

  1. Once you reach the Review + Create screen click on the Create button. Now windows will start spinning of VM machine. It might take a few minutes to set up a new VM.

 


  1. Once it is ready Azure will prompt with a message that your deployment is complete and VM been created successfully. Click on the Go to resource

 


  1. You will be redirected to the Overview page of the newly created VM. In order to connect (RDP) to the VM. Click on the Connect and Click on RDP. 

 


  1. On this page, you will be required to click on the Download RDP File. Once the file is downloaded on your local machine double click on it to open it.

 


  1. You might be prompted with the below screen, click on the Connect button

 


  1. Provide the credentials that you passed while creating the VM machine and click on the OK button.

 


  1. If provided credentials are good, then you will be able to log in to VM


Below is the video demo of the above steps

 



Comments