Introduction
What is a Virtual Machine?
Virtual machines allow you to run an operating system in an app window on your desktop that is exactly like a separate computer.
Prerequisite
You need Azure account; if you don't have an account you can create a free account on the Azure portal by using this link.
Let's get started.
Open an Azure portal using this link https://portal.azure.com/#home go to the Homepage and search for Virtual machine.
![How To Create Virtual Machine Using Azure]()
Now click on Create => Virtual Machine.
![How To Create Virtual Machine Using Azure]()
Over here we can see a Wizard Form that process will help us to create a virtual machine.
![How To Create Virtual Machine Using Azure]()
Now give the name to the virtual machine and choose the region as per the availability.
![How To Create Virtual Machine Using Azure]()
After that, you can scroll down and give the username and password that will be required for login virtual machine password should be strong.
![]()
After that click on Disk for the next steps.
![How To Create Virtual Machine Using Azure]()
On the next page, Select Disk Type as Standard SSD (Locally Redundant storage) and leave all other settings as it is.
![How To Create Virtual Machine Using Azure]()
Inside Networking Tab leave the other settings as it is.
![How To Create Virtual Machine Using Azure]()
On the last tab review and create the page. You can check the pricing of the virtual machine, once done click on create button it will take around 4 to 5 min for deployment.
Once the deployment is succeeded you will get a notification.
![How To Create Virtual Machine Using Azure]()
After that just click on Go to resources button after that click on Connect button then after => RDP.
![How To Create Virtual Machine Using Azure]()
Now click on the Download RDP file once done you just need to enter the username and password that we have entered while generating VM.
![How To Create Virtual Machine Using Azure]()
![]()
Now our Virtual machine is ready for use.
![How To Create Virtual Machine Using Azure]()
Summary
In this article, we have learned how to create a Virtual Machine and how to connect to a Virtual Machine using Azure.
Happy coding!