How to create a windows 11 Virtual Machine (VM) on Azure
Published: 2024-06-14 18:13:50

**Table of Contents**

Introduction
Step 1. Login to Azure Portal
Step 2. Select/click Virtual Machine
Step 3. Create Azure Virtual Machine
Step 4. Create new Resource Group
Step 5. Basic Tab: Fill all the Virtual Machine Instance Details
Step 6. Disk Tab: Fill all the Disk fields
Step 7. Network Tab: Fill in Network Fields
Step 8. Management Tab: Fill in Management Fields
Step 9. Monitoring Tab: Set Monitoring Fields
Step 10. Advance Tab: Set Advance Fields
Step 11. Tags Tab: Set Tag Fields
Step 12. Review and Create Tab
Step 13. Connect to VM
Step 14. Download RDP
Step 15. Next, Next and Accept
Step 16. VM is ready
Step 17. Deleting A Resource Group


Introduction
Virtual Machine is one the resources Azure has to help organizations and individuals execute various tasks without accessing a local computer. It simply means, having a full computer system running in the cloud with lots of advantages than carrying or stationing a physical computer system. Being a virtual machine, a single computer system can be accessed by multiple persons all over the globe quite unlike a stationed physical computer.

Shortly we shall be taking some steps to learn how Virtual Machines can be deployed via Azure platform.

**Step 1. Login to Azure Portal**
Open a browser, type url: portal.azure.com
Fill in your registered username and password, then process your entries. A successful login lands into Azure portal where various tasks can be executed accordingly. Also make sure you have a subscription in Azure to enable the creation of VM.

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


**Step 2. Select/click Virtual Machine**
There are 3 ways to locate Virtual Machine in the portal (via search bar/resource group/portal tab). Go to the search bar type in virtual machine, select Virtual Machine from the dropdown list.

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

**Step 3. Create Azure Virtual Machine**
Locate the create button up left, click Connect from the dropdown.

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

**Step 4. Basic Tab: Create new Resource Group**

**Notice:** There is a note on how each instance field works. This icon is found suffix each field label. Take a cursor point to the icon, then read. Also all red asterixis label field are compulsory and must be filled.

Select from already created resource group or create new one if none exists. Click New and type in the new resource group name, click ok.

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

**Step 5. Basic Tab: Fill all the Virtual Machine Instance Details**

- Virtual Machine Name: Valid name could contain alpha-numeric, alpha + some special characters excluding underscore (_). Eg. Denz-VM, Denz4 etc
- Region: Select from the dropdown according to your architectural plan.

- Region: Select a desired data center region
- Availability options: Select how you want your availability zone to run (eg. no infrastructural redundancy required etc.)
- Availability zone: Select your zone(s) or 
- Security type: Select how you want to secure the VM.
- Image: Select either Linux type of OS or windows type of OS (e.g Windows 11 pro
- VM architecture: Could be on x64
- Size: Select from the dropdown as it is available in the regional zone selected.
- Enable Hibernation: Check if you want otherwise ignore
- Username: Type in VM username
- Password: Type in VM password
- Confirm Password: Type in VM password for confirmation
- Public inbound ports: Allow selected ports
- Select inbound ports: Select how you want the VM to be accessed (e.g RDP port allows for remote access)
- I confirm I have an eligible Windows 10/11 license with multi-tenant hosting rights: Check this box and click Next Disk.

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

**Step 6. Disk Tab: Fill all the Disk fields**


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

**Step 7. Network Tab: Fill in Network Fields**

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

**Step 8. Management Tab: Fill in Management Fields**


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

**Step 9. Monitoring Tab: Set Monitoring Fields**

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

**Step 10. Advance Tab: Set Advance Fields**

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

**Step 11. Tags Tab: Set Tag Fields**

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

**Step 12. Review and Create Tab**
Review all the fields to ensure they are well inputted and selected according to your architectural plan. Then click on create button to create the VM. Validations will be carried out to determine any error exists in each Tab, if not error is found, it will pass a successful VM creation.

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

**Step 13. Connect to VM**

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

**Step 14. Download RDP**
Here you download the RDP file in your local PC, open file and install the remote access connection.

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

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


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


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

**Step 15. Next, Next and Accept**
Follow the instructions and accept the VM connection.

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

**Step 16. VM is ready**
At this point the VM is ready to be used. You have successfully created and deployed VM and can be accessed across the globe.


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

**Step 17. Deleting A Resource Group**
You clear a resource you don't want to be running otherwise it shall be building unwanted cost. 
So to clear this VM resource. Close the remotely accessed VM:
- Go to Resource group, locate and open the right resource group housing the VM.
- Select all the installed resources, scroll up and click Delete Resource Group Tab, Confirm by re-entering the resource group name clicking Delete. Wait for it to delete all the installed resources.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/40egz2ib2icsy7cv7p61.jpg)