DEV Community

Francis Mbamara
Francis Mbamara

Posted on

SIMPLE STEPS IN CREATING YOUR FIRST VIRTUAL MACHINE

Image description
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

  • 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

  • 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

  • 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
Virtual machine name: Enter a name for your virtual machine.

Image description
Region: Select the Azure region where you want to deploy the VM.
Image: Select "Windows 11" as the operating system.

Image description
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

  • 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

  • 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

  • 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

  • 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
Once these simple steps are completed you can now start using the virtual machine for your desired purpose.

Top comments (0)