Creating a Windows Virtual Machine (VM) in Azure
Published: (February 20, 2026 at 09:33 PM EST)
2 min read
Source: Dev.to
Source: Dev.to
Creating a Windows Virtual Machine (VM) in Azure
- Open the Azure portal and search for Virtual Machines.
- Click Virtual Machines to open the VM blade.
- In the Basics tab, configure the following:
- Subscription & Resource Group – select your subscription and either create a new resource group or choose an existing one.
- VM name – provide a unique name for the VM.
- Region – select the Azure region where the VM will be deployed.
- Availability options – choose “No infrastructure redundancy required” to lower cost (optional).
- Security type – select Standard.
- Image – confirm the Windows OS image you want to use.
- Size – pick a VM size (CPU, RAM) that matches your workload; this determines the hourly pricing.
- Administrator account – set a username and password (or SSH key) for the VM.
- Monitoring – on the Monitoring tab, you can disable Boot diagnostics if privacy is a concern.
- Review the configuration, then click Create.
- After validation passes, the deployment will start. Once Deployment complete appears, go to the newly created resource.
- Connect to the VM: download the RDP file from the Connect blade.
- Open the RDP file and log in using the administrator credentials you set earlier.
- Verify the connection and ensure you can access the desktop.
- Test the VM – open Microsoft Edge inside the VM and download a sample application (e.g., Screenpresso) to confirm functionality.
- Install and run the test application to complete the verification.
Mission accomplished!