A Guide to Deploying Windows 11 using Azure Resource (Virtual Machine: Win 11)
Tags: virtualmachine, windows11, azure
Published: 2024-05-18 08:40:01

In this tutorial, we shall explore a method to deploy windows 11 VM on Azure.  It is assumed that the user is logged into azure portal. Hence, the following steps are required to successfully deploy a win 11.
 
**Input** the resource you intend to create in the search bar and hit **enter**. _The resource will be highlighted in grey_, provided the resource is available and can be implemented.
The search bar has a default text of 

> Search resources, services, and docs (G+/)

Note: In our case, we want to create a Virtual Machine, so we will input "virtual machine"

- _**Click**_ on the grey area to select the Virtual Machine
![Image for searching Virtual Machine](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uel2j5dgyurrehnzlz66.png)

_**Click**_ the  **+** icon or **Create** or the **dropdown** icon or and **_select_** the desired Azure virtual machine
![Create Azure VM](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ny6jkqwcjivb3thrime0.png)

On the **Basics** tab, there are five main sections to be explored;

1. Project details
2. Instance details 
3. Administrator account
4. Inbound port rules
5. Licensing

![Create VM](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mumx0of53fo0jmkbtybi.png)

**Project details**: We can select our subscription type, as well as create a resource group or make a selection from a previously created resource group using the dropdown icon. In this instance, we shall create a new resource group 

- **Click** the _Create new_

- **Input** the _name_ of the resource group you wish to create

- **Click** _OK_
![Create RG](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/q8533n5wx82z09421sc5.png)

**Instance details**: In this section, you must provide the name of the virtual machine you wish to create, Region, Availability zone, Image (OS) and size. Other functionalities available are optional. For this tutorial, we shall create a Windows 11 Pro version 22H2 - x64 Gen2, all other options will be at the default settings. 
![Instance details](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lot8qm7paytuforyz6j6.png)

**Administrator account**: We shall provide credentials to access this image in this section; **username** and **password**.


**Inbound port rules**: We can configure the VM to either be privately or publicly accessible and indicate the inbound ports in this section. This image is Windows, hence we shall use _RDP(3389)_.

**Licensing**: _We will **check** this box_ 😁


![Admin, Port and License](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/q9n6lydwkfm9l6pxmlch.png)

**Monitoring**: There are three key functions under monitoring. We will be disabling boot diagnostics so that the VM does not send reports to Azure and we can have a low footprint. 
![Monitoring](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ql4jq7m3i8ucvjoz06c3.png)

**Tags**: We shall create a name/value pair to categorise the azure resources and view consolidated billing 
![Tags](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7dckhqjoor5b06en3489.png)

**Review + Create** : **Click** the _Review and create_ tab
**Select** the _create_ button at the bottom of the page
![create](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1vrscojs5uohld7jgtet.png)

A successful deployment should indicated. Then, we should **select** _Go to resource_
![deployement](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nvma9dq4nx5boy9mqh7h.png)

**Idle Time**: **Select** the **Public IP address**, input the new idle time and **select** _save_
![IT](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/72kvieq7bdn7265aa9pq.png)
![IT2](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bytf4otqjl5jp9qq2jvm.png)

Go to **overview** and **select** _connect_
![connect](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/d2hzxgthlcv4ma2hjha7.png)

Now, **click** _Select_. After a few minutes, **configured** would appear in the Native RDP section, then you can _download_ the RDP file 
![native](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/l9ca4gex25zjbojl00wk.png)

**Open** the rdp file and **click** connect 
![open native rdp](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8l2pm52jiispvbmwok0o.png)

Username should appear in the RDP login screen and you can **enter** the value if it is not by default. Then, **enter** the password you created during the VM setup and **login**.
![username and pass](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/248usiqenljho2lnfp1z.png)

**Select** _yes_ in this instance 
![c caution](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/082l90cy49vpemtkvnbi.png)

**Select** _yes_ and _accept_ in the next screen
![yes](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fadkyqvslvnl0uv1ufs1.png)

**Booyah: we have our VM win 11 running**
![win 11](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7yvt5vikyzvfe5lq43yd.png)

#####To learn more, follow me on[ ![Icon linking X accont](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2kwudz2uqes2kgs76k7w.png)](https://twitter.com/Olawale_Oloye)