Step by Step guide on how to create a Windows 11 Virtual Machine on Azure
Tags: learning, github, news, career
Published: 2024-04-07 22:44:38

**Step by Step guide on how to create a Windows 11 Virtual Machine on Azure.**
Sign in to Azure Portal: Go to the Azure Portal (https://portal.azure.com) and sign in with your Azure account. After signing in, your screen will display as shown below.


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



 
Navigate to Virtual Machines: Once you're logged in, navigate to the "Virtual Machines" service on the GUI as highlighted above or you can find it by searching for "Virtual Machines" in the search bar at the top. Once you click on the virtual machine, your screen will be displayed as shown below.
 

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




Then you will click on the "Create" button on the left sidebar (arrowed in red) or the one at the middle. Either one you click will display a drop down as shown below.
 


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


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





 
You will then click on the Azure virtual machine highlighted in red arrow. This will take you to the project details where you will begin to fill the basic configuration for you to start creating your virtual machine.
 

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




Basic Configuration:
Subscription: Select your Azure subscription. 
Resource Group: Create a new one or select an existing resource group. To create a new one, click on the “create new” to give name to your resource group.
 


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




Virtual Machine Name: Enter a unique name for your VM.
 

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




Region: Choose the region where you want to deploy your VM. A region refers to a specific geographical location with data centres that host infrastructure and services. Click on the drop down to select your availability options. Here I chosed (US) East US region. Next is availability zone. 
 

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




Many Azure regions provide availability zones, which are separated groups of datacenters within a region. Availability zones are close enough to have low-latency connections to other availability zones. They are connected by a high-performance network with a round-trip latency of less than 2ms. However, availability zones are far enough apart to reduce the likelihood that more than one will be affected by local outages or weather. Availability zones have independent power, cooling, and networking infrastructure. They're designed so that if one zone experiences an outage, then regional services, capacity, and high availability are supported by the remaining zones. They help your data stay synchronized and accessible when things go wrong. To ensure availability of service. Should there be a distruption of service at one zone, I selected zones 1 and 2.
 

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




Security Type: Select the security type you need by clicking on the drop down. Here I selected the “Trusted launch virtual machine”. 
 


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




Image: Select the operating system image you want to use for your VM. You will click on the drop down to select the operating system you want for your VM. I selected Windows 11 Pro VM since that is what I want to create.
 

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




Size: Choose the size of the VM based on your requirements and budget. For this purpose, I selected the Standard size.
 


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




Administrator Account:
Username: Enter the username for the administrator account.
Password: Enter the password for the administrator account. Make sure it meets Azure's password requirements.
 


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




Inbound Port Rules: On the inbound port rules section, select “Allow selected ports” and then select RDP (3389). This port will give you remote access to your physical work desktop computers. 
 

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




After selecting your inbound port, confirm the Licensing, then click “Next Disk” to direct you to the Disk page.
 


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




Disks and Networking: On the Disk page, click on the OS disk type dropdown and select “Standard SSD” or any disk type of your choice as shown below. Leave the other columns as default. Then click “Next: Network”
 

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



Networking 


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




The networking page usually displayed as default, so you may wish to leave it as displayed, or chose to change them as you may wish. Therefore, instead of clicking on “Next: Management”, just click on “Tag”.
 


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




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



 
Tag: Give your tag a name. Tags are way to label and organize resources in cloud computing environments. The purpose of tags is to provide metadata or additional information that helps in managing, organizing and tracking resources within a cloud infrastructure. Next click on “review+create”.

Review + Create: This review all the settings you've configured for your VM. Once you're satisfied with the “validation passed” and “pricing”, click on the "Create" button to start the deployment process.


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



 
Deployment: Azure will now begin deploying your virtual machine based on the configuration you provided. This process may take a few minutes to complete. Once deployment is complete, click on “Goto resource” to take you to your VM overview .
 


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




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




On the VM overview, click on “connect” 
 

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




Then connect.
 

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




Accessing your VM: You can access your VM by clicking on “Download RDP file”. For Mac users, you may need to download Microsoft Remote Desktop from Mac app store to launch your VM. 



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



 
After downloading, you will be prompted to enter your password and click “Continue”. Then you will be welcomed to your VM
 


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




Chose your privacy setting
 

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


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


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


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


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

 
You have successfully created a virtual machine on Azure. You can now start using it for your workloads or applications.