“Provisioning a Virtual Machine in Microsoft Azure: A Practical Guide”
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
- In the Azure portal, search for Virtual Machines.
- Click + Add → Azure Virtual Machine.
Step 2 – Configure Basics
| Setting | Details |
|---|---|
| Subscription | Choose your subscription. |
| Resource group | Create a new resource group (recommended to keep the new VM separate from existing resources). |
| Region | Select any region you prefer (e.g., Turkey). |
| VM name | Provide a unique name for the VM. |
| Security type | Standard |
| Operating system | Windows Server Datacenter, 64‑bit, Generation 2 |
| Spot discount | Optional – enables cost savings. |
| Authentication type | Password |
| Username / Password | Choose your desired credentials. |
| Inbound port rules | - RDP (for Windows) - SSH (for Linux) - Port 80 (HTTP) |
| License agreement | Accept 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
- Go to the Review + create tab.
- Wait for the validation process to complete.
- Click Create to start the deployment.
After deployment succeeds, click Go to resource.
Connect to the VM
- In the VM overview, click Connect → Native RDP.
- Download the RDP file and open it on your computer.
- Enter the username and password you configured earlier.
- 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.