Creating Your First Virtual Machine in Azure Cloud
Create a Windows Server virtual machine in the Azure Portal, connect to it using RDP, and verify it is working with PowerShell.

Lab overview
Azure Virtual Machines (VMs) are on-demand, scalable computing resources that run in Microsoft's datacenters. A VM gives you full control over the operating system, installed software, and configuration, just like a physical server, without the need to buy or maintain hardware. VMs are a common choice for hosting applications, running legacy workloads, and building development and test environments in the cloud.
When you create a VM, you choose an operating system image, a size that sets the CPU and memory, a disk type for storage, and the network settings that control how you connect to it. Creating and managing VMs is also a core skill for the AZ-104 Microsoft Azure Administrator exam.
In this lab, you will create a Windows Server virtual machine in the Azure Portal, connect to it using Remote Desktop (RDP), and confirm that it is working.
Who is this lab for?
This lab is for beginners who are new to Azure and want to learn how to create a virtual machine. If you are preparing for the AZ-104 exam, this lab will help you understand the concepts and prepare for the exam.
Objectives
By completing this beginner lab, you will be able to:
- Create a Windows virtual machine using the Azure Portal
- Configure the image, size, disk type, and administrator account for a VM
- Connect to a Windows VM using Remote Desktop (RDP)
- Verify that a VM is working by running PowerShell commands
Verified against your live environment
An automated validation engine inspects your actual resources and configurations as you work. Completion means the task was performed, not multiple choice, real-world proficiency.
More labs like this
Create an Azure Virtual Machine Scale Set
In this lab, you will create a Virtual Machine Scale Set in Azure with a custom scaling rule.
Set Up a Domain Controller in Azure Using Virtual Machines
Promote two Windows Server VMs in an availability set to domain controllers, connecting through Azure Bastion after each reboot.
Azure Virtual Network Peering - Connect VNets for Secure Communication
Learn how to configure and test virtual network peering in Azure.
Related reading
Environment
Every lab includes
- Real environment, pre-credentialed
- Automated checks on every step
- Isolated sandbox, auto cleanup
- AI-recommended next steps
Lab curriculum
- 01
Logging into Azure Account using Azure Portal
- 02
Creating a Windows Virtual Machine using Azure Portal
1 automated check
Skills validated
Not the lab you were looking for?
Browse 200+ hands-on labs across AWS, Azure, Kubernetes, Docker, and cloud security.