Creating a windows 11 VM on Azure.
Published: 2024-06-14 16:13:52


Creating a Windows 11 Virtual Machine (VM) on Azure involves several steps. Here's a step-by-step guide to help you set up your VM:

## Prerequisites
1.	Azure Subscription: You need an active Azure subscription. If you don't have one, you can sign up for a free account.
2.	Azure Portal Access: Ensure you can log into the Azure Portal.

## Step-by-Step Guide
Step 1: Log in to Azure Portal

1 - Navigate to the Azure Portal.

![Azure Portal](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s475hfu6u9imar1zg4on.png)

2 -  Log in with your Azure account credentials.

## Step 2: Create a Virtual Machine

1 - Navigate to Virtual Machines:

- In the Azure portal, select "Create a resource" from the top left corner.

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

- Choose "Compute" and then select "Virtual Machine."


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

2 - Basics Tab:

- Subscription: Select your subscription.
- Resource Group: Create a new resource group or select an existing one.
- Virtual Machine Name: Enter a name for your VM.


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

- Region: Choose the region where you want to deploy the VM.
- Availability Options: Choose based on your need (e.g., no infrastructure redundancy required).
- Image: Select "Windows 11" from the list of available images. If it's not listed, you might need to use a custom image (see additional notes below).


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

- Size: Select an appropriate size based on your needs (e.g., Standard_D2s_v3).
- Administrator Account: Create a username and password for the VM.


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

- Inbound  port rules: Select which VM port is accessible from the public internet.

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


3 - Disks Tab:

- Select the OS disk type (Standard SSD, Premium SSD, etc.).
- Add data disks if necessary.


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


4 - Networking Tab:

- Configure the virtual network, subnet, public IP, and NIC network security group.
- Enable or disable public IP based on your requirement.


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


5 - Management Tab:

- Enable or disable boot diagnostics.
- Configure monitoring options like Azure Monitor, Auto-shutdown, and Backup.

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

6 - Monitoring Tab:

- Configure monitoring options for your VM

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


7 - Advanced Tab:

- Configure advanced settings like extensions and custom scripts.


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


8 - Tags Tab:

- Optionally, add tags to categorize your resources.

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


9 - Review + Create:

- Review the configuration settings.
- Click "Create" to start the deployment.


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



## Step 3: Access Your VM

- Once the VM is created, navigate to the "Virtual Machines" section in the Azure Portal.

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

- Select your newly created Windows 11 VM.
- Click on "Connect" to obtain the RDP file.
- Use the RDP file to connect to your VM using the username and password you set up.


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



This guide provides a basic overview of setting up a Windows 11 VM on Azure. Adjust the configurations based on your specific requirements and organizational policies.