SIMPLE STEPS IN CREATING YOUR FIRST VIRTUAL MACHINE
Published: 2024-06-27 21:49:12


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ypwugoxgbg1dotxf7p5k.jpeg)
A virtual machine (VM) is a software-based computer that runs on top of a physical host computer's hardware and operating system. It emulates the functionality of a physical computer, allowing users to run different operating systems, applications, and services within a single physical machine.
I fondly refer to it as a virtual PC.
Now, let's go through the simple steps to create a Windows 11 virtual machine on Azure:

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uxfop5rsly33unjim7zq.png)

- Sign in to the Azure Portal: Go to the Azure Portal (https://portal.azure.com) and sign in with your Azure account credentials.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/m6124z21t36px6lvyj53.png)
- Create a new Virtual Machine: In the Azure Portal, click on "Create a resource" and search for "Virtual Machine." Then, click on "Create" to start the VM creation process.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pjex3jjalwyoccxshkds.png)
- Configure the Virtual Machine: In the "Create a virtual machine" page, follow these steps:
Basics:
Subscription: Select the Azure subscription you want to use.
Resource group: Choose an existing resource group or create a new one.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w6w9ehg7ca4f8a4mvqvt.png)
Virtual machine name: Enter a name for your virtual machine.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xxf66yr3hpx7uue53nrp.png)
Region: Select the Azure region where you want to deploy the VM.
Image: Select "Windows 11" as the operating system.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ezfghpiyre3hrk35gd45.png)
Size: Choose the appropriate virtual machine size based on your requirements.

- Administrator account:
Username: Enter a username for the VM.
Password: Set a secure password for the VM administrator account.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rwl4sduljzd1znafioel.png)
- Inbound port rules:
Select "Allow selected ports" and choose "RDP (3389)" from the dropdown.

- Review + create: Review the configuration and click "Create" to start the deployment.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tz6xaggp9liofphb2vha.png)
- Wait for the Virtual Machine to be provisioned: The deployment process may take a few minutes. Once the VM is provisioned, you can see it in the Azure Portal.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5jm33u78gsjskt9ig9ef.png)
- Connect to the Virtual Machine: In the Azure Portal, navigate to the virtual machine you created and click on the "Connect" button. This will open the Remote Desktop Connection (RDP) client and provide you with the necessary connection details.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/v6ko02lyuvlmmtr6v9hh.png)
- Log in to the Virtual Machine: Use the administrator username and password you set earlier to log in to the Windows 11 virtual machine.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/koh1rygjvgv5boht98th.jpeg)
Once these simple steps are completed you can now start using the virtual machine for your desired purpose.