A virtual machine is a computing resource that utilizes software, rather than a physical computer, to run programs and deploy applications. It functions as a virtual computer, complete with a disk for file storage, a CPU, memory, and the ability to connect to the internet.
Because a virtual machine operates through software that emulates a physical computer, it exists solely as code and lacks a tangible, physical form.
A step-by-step guide to creating a Virtual Machine on the Azure portal
Login to the Azure portal here
In the search box type*"virtual machine"*
The search box simplifies the creation of resources, and you'll notice that typing just the first four letters, 'virt,' triggers an auto-suggestion for what you're looking to create.
Create the virtual machine.
Click on the "Create" button as indicated below.
Set up the virtual machine parameters
To set up a virtual machine, you must first create a resource group. You may choose any appropriate name; for instance, in the image provided, the name 'example' was used.
Once the resource group has been created, you can then proceed to assign a name to the virtual machine, choose the desired region and VM image
NOTE: All other sections are populated and can be changed to your desired preference.
Read more here
Choose a disk size
Add the administrator's account
Create a username and password
Select the inbound ports and confirm the licensing
other parameters in disk, networking, management, monitoring, advanced, and tags are left as default
Click on Create
Once you click on create, the validation pass message will pop up
The deployment process begins, and the virtual machine is created successfully
Now that the VM is created successfully, click on the "Go to resource" to redirect you back to the VM created then click on "Connect"
Here I connected via Native RDP, clicked on Select to make sure it was properly configured, and then click on "Download RDP file"
NB: There are other ways to connect to the VM
Open the downloaded file and follow the instructions to connect to the VM. When you click on connect, the administrator password will be asked
Once this is done, you will be able to use windows 11 as created in the above steps in your VM.