Introduction
Virtual Machines (VMs) are the heart of cloud computing allowing you to run different operating systems and applications without investing in physical hardware. Whether you're building a test environment, learning how to manage infrastructure, or deploying workloads for your team, creating and configuring an Azure VM is a fundamental cloud skill.
In this lab-based guide, we’ll walk through a full step-by-step process of deploying a Windows 10 Virtual Machine on Microsoft Azure. You’ll create a VM, configure disks and access controls, and even extend the idle timeout to suit your usage. By the end of this project, you’ll have a fully operational virtual computer, accessible via RDP (Remote Desktop Protocol), and formatted with an additional data disk.
Skilling Objectives
- Provision a Windows 10 VM in Azure
- Assign access permissions securely using Role-Based Access Control (RBAC)
- Attach and format an additional data disk
- Access your VM using RDP and perform disk management tasks
Step 1: Create a Virtual Machine on Azure
🧠 Pre-requisite: You must have an active Azure subscription.
- Log in to the Azure Portal.
Step 2: Configure the Basics
- Under Resource group, click Create new and name it
IbrahimRG
. Select a Region close to your users or workload.
Choose Availability Zone if required for resilience.
-
Under Image, select
Windows 10
.⚠️ Note: If you don’t find Windows 10 in the dropdown, click “See all images” and search for it manually.
Choose a Username, e.g.,
sudais
, and create a Password (confirm it).Under Inbound port rules, allow
RDP
(for remote access). You may also enableHTTP
,HTTPS
, or custom ports as needed.
Step 3: Configure Monitoring and Tags
- Go to the Monitoring tab.
Disable Boot diagnostics to reduce startup logs for now (optional for testing).
-
Under the Tags tab, add the following key-value pairs:
-
Department
: HR -
Purpose
: Hire -
Staff
: Oladosu
-
These tags help track costs and usage across your organization.
Step 4: Review and Create
Wait for validation to pass, then click Create.
Step 5: Assign Access Control (IAM) Roles
To allow specific users to log into the VM:
- On the VM resource, go to Access Control (IAM).
In the Role field, search and select Virtual Machine Administrator Login.
Under Members, click + Select members, choose users to add, then click Select.
Step 6: Configure Idle Timeout for IP Address
Under Configuration, increase the Idle timeout (minutes) to
30
.
Step 7: Attach and Format a New Data Disk
Adding a second disk improves storage flexibility for files or application data.
- In the VM menu, select Disks.
Enter a name, e.g.,
ibrahim-disk
.
Once created, we’ll connect to the VM and format this disk.
Step 8: Connect to the VM via RDP
- Go to Overview.
Accept all certificates and login prompts.
Congratulations! You now have access to a fully functioning Windows 10 virtual machine.
Step 9: Format the Data Disk from Inside the VM
- Inside the VM, search for Disk Management.
Find Disk 2 (this is your newly attached disk).
You now have a new drive ready to store files.
Conclusion
This hands-on project walked you through creating and configuring a Windows 10 Virtual Machine on Azure — from resource group setup to disk formatting. Along the way, you practiced critical skills in:
- Infrastructure provisioning
- Identity and access management
- Remote desktop connectivity
- Disk management and tagging
These foundational skills are essential for any aspiring cloud engineer or IT professional exploring Microsoft Azure. Whether you’re testing apps, training with live environments, or simulating enterprise setups — VMs remain a flexible, powerful tool in your cloud toolkit.