“Provisioning a Virtual Machine in Microsoft Azure: A Practical Guide”

Published: (February 27, 2026 at 06:01 AM EST)
2 min read
Source: Dev.to

Source: Dev.to

Introduction

A virtual machine (VM) is a software‑based emulation of a physical computer that runs an operating system and applications using virtualized hardware resources. Creating a VM in the Microsoft Azure portal lets you deploy and manage scalable computing resources without purchasing physical hardware. Key components of a VM include:

  • Virtual CPU (vCPU)
  • Memory (RAM)
  • Virtual storage disks
  • Network interfaces
  • Hypervisor that manages resource allocation

Step 1 – Create the VM

  1. In the Azure portal, search for Virtual Machines.
  2. Click + AddAzure Virtual Machine.

Step 2 – Configure Basics

SettingDetails
SubscriptionChoose your subscription.
Resource groupCreate a new resource group (recommended to keep the new VM separate from existing resources).
RegionSelect any region you prefer (e.g., Turkey).
VM nameProvide a unique name for the VM.
Security typeStandard
Operating systemWindows Server Datacenter, 64‑bit, Generation 2
Spot discountOptional – enables cost savings.
Authentication typePassword
Username / PasswordChoose your desired credentials.
Inbound port rules- RDP (for Windows)
- SSH (for Linux)
- Port 80 (HTTP)
License agreementAccept the terms.

Step 3 – Monitoring

  • Navigate to the Monitoring tab.
  • Disable Boot Diagnostics (if not required).

Step 4 – Tagging

  • Open the Tags tab.
  • Add a tag Name and Value of your choice (tags help identify and organize resources).

Review and Create

  1. Go to the Review + create tab.
  2. Wait for the validation process to complete.
  3. Click Create to start the deployment.

After deployment succeeds, click Go to resource.

Connect to the VM

  1. In the VM overview, click ConnectNative RDP.
  2. Download the RDP file and open it on your computer.
  3. Enter the username and password you configured earlier.
  4. Click Connect, then Continue if prompted.

Your virtual machine is now ready for use. Since the region was set to Turkey, the VM’s default language is Turkish. You can now access any data stored on the cloud through this VM.

0 views
Back to Blog

Related posts

Read more »