Skip to main content

Create a Linux or Windows Virtual machine on Azure 



For this you should have a Microsoft Azure account , in case you don't have create your free Azure account.


Here, we will learn to create a VM on Azure with a free account or any Visual Studio subscription you have.(I am having visual studio subscription)


Ok , lets get started...

  • First go to the Virtual machine tab.






  • click on the "Create Virtual machine" button.

  • Select the Subscription.
  • Create a new Resource Group or select an existing one.
  • Name your VM..
  • Select the hosting region for the VM.
  • Select the OS Image  (Linux or Windows).



  • Now , Select the size of the VM. you have many different option according to your need select one.
  • Once you have selected a size according to the price.
  • Setup the “Username & Password” for the admin account, 

    ( These credentials will be used when you will connect to your VM using Remote Desktop Connection (RDP) .)

  • Once you have done filling these data, click on "Next".




  • Select a “Disk Type” and click "Next" to continue.






  • You need to create a Virtual Network or select an existing network.
  • To access the VM using an IP Address which is not changing for the network, that can be set up using the public IP. 
  • You need to create a new one or select an existing one.
  • Once done, click "Next" to continue.


  • You can set up the monitoring of the VM you are going to create from the “Management" Tab.
  • Create a new Diagnostics storage account  or select an existing one.
  • Once done, click "Next" to continue.
  • Additional configuration can be added to the VM via Virutal Machine Extentions from this "Advance and Tags" tab.
  • Once done, click "Next" to continue.




  • Now just "Review" and "Create“.
  • Review all the given data and then click on  "Create".
  • It will take 3-5 mins, to set up the Virtual Machine



  • In the "Virtual Machine" tab.
  •  you can find your VM once succesfully created.

 Congratulations , you finally made it . Now you have learned and successfully created a VM . Enjoy : )