Step by Step Guide to Launching a Windows 11 VM on Azure.
Tags: cloudengineering, virtualmachines, vmcreation, azure
Published: 2024-05-28 17:14:16

 Are you ready to dive into the world of cloud computing? Today,I'm going to walk you through how to spin up a windows 11 virtual machine (VM) on Microsoft Azure, the cloud platform that's got everyone buzzing.

## Why Azure VMs?

Before we get hands-on let's quickly cover why you'd want a windows 11 VM on Azure.

- Scalability: Need more power? Azure's got your back. Easily adjust your VM's resources as your needs go.
- Flexibility: Azure's global network means you can deploy your VM in the region that works best for you.
- Cost Efficiency: Only pay for what you use, no hefty upfront hardware investment required.
- Windows 11 Goodness: Get all the latest features and security updates of windows 11 in a virtual environment.

Gear Up - What You'll Need

1. An Azure Account: If you don't have one, sign up for free account. You will get some free credits o play around with!
2. Basic Azure Knowledge: This guide assumes you're familiar with the Azure portal.

## **Let's Get Building!**

**Step 1: Open The Azure Portal**
log in to the portal(_https://portal.azure.com/_). It's your control center for all Azure resources.

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


**Step 2: Create a New virtual Machine**

- Click on "create a resource"> Compute > Virtual Machine
Or you can click directly on "Virtual Machines"


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


- On The Project Details: Choose a Subscription and resource group or (create a new one).

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


3. Name your VM (e.g.,"windows11VM")
4. Select your region (Pick one close to you for optimal performance).
5. For the image, choose "windows 11".


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

**Step 3: Configure Your VM**

1. Choose the size (VM type) that matches your need. Start small: you can always scale up later.
1. Set your Administrator username and password.
1. For inbound ports, select "Allow selected ports" and open port 3389 for RDP access.
1. Skip every other step for now until Review and Create.


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





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

**Step 4: Review and Create**
Double-check your settings and click "Create". Azure will now go to work and provision your windows 11 VM.


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


**Step 5: Connect To Your VM**

Once you click on "Create" your screen will read Validation passed

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oisxrpyprkixhvhjmscn.png)
After the validation has been passed, it further indicates deployment in progress.

Deployment complete

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bf6l4y94fs0qskclwpzl.png)
Click on "Go to Resource" > "Connect" > "Connect" > "Download RDP file"
Connect using your Administrator credentials

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



Boom! you are now connected to your new windows 11 VM on Azure.


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


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