A SIMPLE GUIDE TO CREATING A WIN 11 PRO VIRTUAL MACHINE ON MICROSOFT AZURE
Tags: cloudcomputing, azure, virtualmachine, beginners
Published: 2024-04-08 17:56:37



## Introduction

Welcome to this guide on how to create an Win11 pro Virtual Machine on Microsoft Azure. 

Microsoft Azure has made it easy to create virtual machines running various operating systems, which has become a crucial tool in modern cloud computing because of its scalability and flexibility. I will be taking you through a step by step walk through of creating your own Windows 11 Pro virtual machine. Let’s get begin!


## Requirement
 
Before you can start creating a Virtual Machine, you will need to have an Azure subscription. If you do not have one your can sign up for a free trial at [](https://azure.com/free).
Also familiarizing yourself with the fundamental cloud computing concepts would be helpful.

**Step 1**
Now that you have created your free subscription, login to your Azure portal with your credentials at [](https://portal.azure.com) to get started.

**Step 2**
When you are at your Azure Portal, navigate to virtual machines either by clicking the menu button at the left-hand of your portal as seen in Pic 1 below or 
go to the search bar and type and select Virtual Machines from the list of resources listed as seen in Pic 2

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


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

After selecting the Virtual Machine resource then click ‘Create’

Once this is done you will be directed to the ‘Basics’ page to begin the creation

**Step 3**
 You will be working under the Project Details in the Basics tab. 
a. _**Subscription**_: _choose the appropriate subscription_
[Azure has a pay as you go subscription and a free trial subscription. In this guide we will be working with the free trial subscription and keeping the default subscription]

b. _**Resource Group**_: Click Create new and name a new resource group or if you already have resource groups already, select, an existing one.
[Resource Group can be likened to containers or folders that help organise your various resource such as Virtual machines and databases]


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


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

Next, we move down to Instance details
a. _**Virtual machine name**_: _Give your Virtual machine a name.
b. Region: Select the location you want your virtual machine to be hosted in data center_. [ A region is the geographical location with data centres that host services and infrastructures, with each operating independently and self-contained]

c. **_Availability options_**: _We leave it selection here on its default Availability zone._
d. **_Availability zone_**: _Click the drop-down menu and select the zone(s) you would like your Virtual machines to be located at._
[Each Region in Azure can consist of more than one Availability zone. Each zone are kilometres apart and independent of each other to minimize the impact of failures and disruptions. Multiple zones can be selected each having their own Virtual machine]


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

e.	**_Security Type_**: There are various options when you click the drop-down menu but for this guide, we will leave it on its default selection ‘Trusted launch virtual machines’

f.	**_Image_**: Click the drop-down menu and select Windows 11 pro 22H2

g.	VM architecture and Run with Azure spot discount we will leave on their default settings.


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

h.	**_Size_**: Select the menu to select the Virtual machine size that suits your requirements. If the options in the drop-down menu to not fit your requirements you can click the ‘see all size’ just below the drop-down menu and choose from there and click, ‘Select’ at the bottom left of the page. [Please note for a free trial subscription your options will be limited]


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

We continue with to the Administrator Account
a.	Set an Administrator Username and password. These are the credentials you will use to login to your virtual machine.


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

**Inbound port rules**
a.	**_Public inbound ports_**: Select ‘Allow selected ports’.
b.	**_Select inbound ports_**: leave it on the default RDP (3389). But if not selected by default click the drop-down menu and select it. This port gives remote access to your physical PC


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

**Licensing**
Click the check box under licensing 
Click ‘Next: Disks >’ to direct you to the next tab


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

**

## Step 4
**
**Disk**
On the disk page we will be leave options and text boxes on default.
OS disk type from the drop-down menu I will be selecting the Standard SSD for the purpose of this practice.


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

For this guide we will be leaving the networking, management, monitoring, advanced and tag pages on their default configuration. Click on ‘Review + Create’.

**

## Step 5
**
**Review + Create**
On this tab review the summary of your virtual machine configuration. Ensure you get the ‘Validation passed’ on the top left of your portal and also review the price of your virtual machine. 


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

It will show development in progress. This could take a few minutes 


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

Once deployment is complete click on ‘Go to resource’
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/g209h984seq7mcy5lxn9.png)

Connect to your Windows Virtual Machine
A page showing an overview of your created windows virtual machine comes up. 
At this point you create a remote desktop connection to your virtual machine by clicking ‘connect’ a drop-down menu comes up then you click on the second ‘Connect’ option


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

On the next page click on ‘Download RDP file’ to your PC. Your windows may give a warning choose 'keep this file'


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

Once you have downloaded the file click on it to open the file. A pop-up menu comes up then click on connect.


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

Enter your password.


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

Another prompt will come up click ‘Yes’


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

Some prompts will show up while your Win 11 Pro is setting up just ‘Next’ and ‘Accept’

There it is, your very first Windows 11 Pro Virtual machine. Congratulations


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

I hope this guide has helped you create your very first basic Windows 11 Pro virtual machine. Thank you for reading.