Creating and Deploying a Windows 11 Virtual Machine on Microsoft Azure

Creating and Deploying a Windows 11 Virtual Machine on Microsoft Azure

Azure virtual machines (VMs) can be created through the Azure portal. This method provides a browser-based user interface to create VMs and their associated resources. This blog post shows you how to use the Azure portal to deploy a virtual machine (VM) in Azure that runs Windows 11 pro server. To see your VM in action, you can download the RDP file and open on your physical computer.

If you don’t have an Azure subscription, create a free account before you begin.

Sign in to Azure
Sign in to the Azure portal.

Create virtual machine

Enter virtual machines in the search.

Under Services, select Virtual machines.

Subscription: Choose the appropriate subscription.

Resource Group: Create a new or select an existing resource group.-Tracy

Virtual machine name: Give your VM a unique name –MyAzureVM.

Region: Choose the data center region of your choice, preferably a region closest to you.

Availability options: Select the availability preferences.

Choose Windows 11 Pro, version 22H2 – x64 Gen2 (free services eligible) for the Image.

Setting Up Authentication and Security

Under Administrator account, provide a username, such as TracyChinedu and a password. The password must be at least 12 characters long and meet the defined complexity requirements.

Under Inbound port rules, choose Allow selected ports and then select RDP (3389)

Select confirmation of licensing.

Configuring Disks and Storage

Under “Disks,” choose the OS disk type (Standard HDD, Standard SSD, Premium SSD).

Adjust the OS disk size according to your needs.

Network Configuration

Choose an existing virtual network and subnet or create new ones.
Assign a public IP address if needed.
Configure network security groups to control traffic.

Management
For this project,we are leaving as default.

Monitoring
Enable with managed storage account

Tags
Tagging in Azure enables you to label your resources in a logical manner, including individual resources, resource groups, and subscriptions.For this project,we are leaving as default.

Review + Create

Review all your configuration settings to ensure accuracy.

Validate that your selections align with your intended VM setup.

Deploying the Virtual Machine

Click the “Create” button to initiate the VM creation process.

Azure will begin provisioning your virtual machine based on your configuration.

Deployment Complete

Click on Connect

Download RDP file

Click on download RDP file
Open file,it will prompt a box
Click conect, enter the admin username and password of the VM.

Virtual machine is ready
Virtual machines can run programs and operating systems, store data, connect to networks, and do other computing functions just like the physical computer.

Clean Up
After creating and deploying the Vm we clean up by deleting the resource group to avoid incurring cost.

Search for resource group
Select Tracy the resource group that was created for this VM

Select all resources that were created
Click delete
Enter resource group name to confirm deletion

Conclusion

In this guide, I’ve taken you through the step-by-step process of creating a virtual machine in Microsoft Azure. By now, you should have a clear understanding of the various configuration options and settings involved. Virtual machines provide an incredibly flexible way to deploy and manage your applications in the cloud.