CREATE A WINDOWS 11 VM ON AZURE.
Published: 2024-06-14 10:58:08

Creating a blog post with step-by-step details and screenshots on deploying and connecting to a virtual machine (VM) involves several stages. Outlined below are the various steps involved in deploying a VM.

**_STEP 1. Sign to the Azure Portal. _**
Access the Azure portal by typing in portal.azure.com in the web browser and sign in with your registered email and password.

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

**_STEP 2. Create a Resource._**
There are three options to choose from in creating a VM
i. Click on Create a Resource and select Virtual Machine.
ii. Search for VM in the search bar
iii. Click on Virtual Machine on the dashboard.



STEP 3. Configure Basics.
a. Select Subscription, create a resource group, and VM


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


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


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


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

b. choose a Region and Availability options.
Regions are geographical locations where the VM will be deployed. Regions are selected based on the proximity to the users.
Availability option refers to making provisions for redundancy in case of failures.


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

c. Select the OS (Windows or Linus)
Go to image and select Windows 11


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

**_STEP 4. Choose a VM size_**
Pick a VM size based on the required CPU, Memory, and Storage.

**_STEP 5. Configure Setting._**
a. Set up Administrator Account.


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

You confirm and click next (Disks)


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

Because we are creating a simple VM, we leave all the options at default and click on next (Networking)

b. Configure Networking, Management, and Monitoring Options.

For Networking, Management and Monitoring; the Settings will be on default simply because what we are creating is a simple VM.


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

Next is Advanced


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

Next is Tags
The importance of Tags is that it helps organize your resources so that you can easily trace and organize them.

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

**_STEP 6. Review and create._**
Review the configuration and create the VM.

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

The screenshot above is showing Validation passed. Validation passed means you can go ahead and create your VM. If it says otherwise or an error message, it simply means you have to go back and correct the error.

STEP 7. Create
To create the VM, you click on create at the bottom of the page.


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

After clicking create, it will bring up the page below showing that deployment is in progress. This might take a while. Usually, it takes a few minutes. It will show a list of other resources created alongside the VM

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

After deployment has been completed as shown below, you click on 'Go to Resource'

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


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

The next page that comes up shows an overview of the VM created. The name of the VM created, the properties, the operating system, the size, the location, the public IP address etc

**_STEP 8. Connect_**
To connect to the VM created, you click on connect as shown in the image below.


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

After connecting, you then download and open the RDP file.


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


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

After downloading and opening the RDP, you will get a prompt to login with your password. You input your password and then, you connect.


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


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


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


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