Introduction
Creating a Windows 11 virtual machine (VM) in Microsoft Azure provides customers with a scalable and secure environment for development, testing, and operational use. You may deploy a Windows 11 virtual machine in Azure by following the instructions in this article.
Note
Before you begin, ensure that you have the following:
- An active Microsoft Azure subscription.
- Proper permissions (Administrator or Contributor role in Azure).
Step 1: Log in to the Azure Portal
Navigate to the Microsoft Azure Portal.
Sign in with your Azure account credentials.
Step 2: Create a Virtual Machine
- In the Azure Portal, click on Create a resource group.
- Name the resource group and click on review and create
- Select "Home" search Virtual Machine and then click on Virtual Machine
- Select create
Under the Basics tab, configure the following settings:
Subscription: Choose your active Azure subscription.
Resource Group: Select an existing resource group or create a new one.
Virtual machine name: Enter a unique name for your VM.
Region: Choose a region that supports Windows 11 VMs.
Choose Availability Zone
Image: Click Browse all images and select Windows 11 Pro.
- Size: Choose an appropriate VM size based on your workload requirements.
Step 3: Configure Administrator Account
Under the Administrator account section, choose Username and Password.
Select inbound ports and click on HTTP
Ensure that you remember these credentials, as they will be used to access the VM.
Step 4: Configure Networking
Under the Networking tab, choose Virtual network (VNet).
Select the default Subnet to allocate the VM.
Set public IP to enabled if remote access via RDP is required.
Under Inbound port rules, allow RDP (3389) for remote desktop access.
Step 5: Configure Additional Settings
Enable Auto-shutdown if required to save costs when not in use.
Configure Backup settings if needed.
Step 6: Configure Monitoring
- For practise purpose on Boot diagnostics, click disabled
It is generally recommended to keep Boot Diagnostics enabled, especially for troubleshooting startup issues.
However, if you are confident that you don’t need boot logs, you can disable it to reduce unnecessary storage usage.
Step 7: Configure Tag
- Choose a name and value for the VM
Step 8: Review and Deploy
- Click Review + Create to validate the configuration.
If all settings are correct, click Create to deploy the VM.
The deployment process may take a few minutes. Once complete, navigate to the VM under Virtual Machines.
Step 9: Connect to the VM
- on the overview of Virtual machine, under networking, click on the ip to increase the idle timeout of the VM. Then click save
Open the newly created VM in the Azure portal.
Click on Connect and select RDP.
- Download the RDP file and open it to connect.
- Enter the Administrator username and password set during the VM creation process.
- Windows 11 pro created successfully
Conclusion
Congratulations! You have successfully created a Windows 11 virtual machine in Microsoft Azure. You can now install applications, configure settings, and manage the VM as needed. Be sure to monitor usage to optimize cost and performance.
Top comments (0)