DEV Community

Cover image for “Provisioning a Virtual Machine in Microsoft Azure: A Practical Guide”
Ifeoma Usonwa Nwafor
Ifeoma Usonwa Nwafor

Posted on

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

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 virtual machine on the Microsoft Azure Portal or AWS platform allows users to deploy and manage scalable computing resources without purchasing physical hardware. Some key components of a VM include virtual CPU (vCPU), memory (RAM), virtual storage disks, network interfaces, and a hypervisor that manages resource allocation.
Virtual machines are needed to support flexible development, testing, remote work, and workload isolation while optimizing infrastructure costs. For professionals, VMs provide scalability, disaster recovery options, secure environments, and the ability to deploy applications globally within minutes.
As cloud adoption accelerates, virtual machines will continue evolving with automation, AI-driven optimization, and hybrid cloud integration shaping the future of computing.

Step 1

  • On Azure portal search for Virtual Machines.
  • Click on Azure Virtual Machine .

  • Select virtual machine hosted by Azure.

Step 2
select

  • Subscription
  • Create Resource group - name it (its preferred to create a new RG for A new VM to avoid mix -up of old and new data)

  • any region of your choose.
  • Configure Virtual Machine details , choose a unique name.
  • Security- standard
  • Operating system - windows server Data center *64 Gen 2
  • check the spot discount (optional, this is used to minimize cost.

  • Authentication type - password
  • choose a username and password of your choice
  • configure inbound port rules - RDP (for windows), SSH ( for linux)
  • select port 80
  • accept the license agreement

Step 3

  • Go to Monitoring Tab
  • Disable Boot Diagnostics

Step 4

  • Go to Tags Tab
  • choose a name and value of your choose. ** tags helps to identify data on the VM.

  • Go to the Review + create Tab
  • when the validation process is complete

  • select "create" to deploy.
  • after a successful deployment click on 'GO to resource'

  • click on 'connect' to kick start your VM.


-to increase your VMs time out , click on public IP address then increase it to 30.

Step 4
To download and run Open RDP file

  • select Native RDP - download the file
  • open RDP file on your computer
  • Enter Username + password
  • click connect to access VM
  • click continue.

I selected my region as Turkey hence the Turkish language on my virtual machine

Your virtual computer is ready to be used , you can access any data stored on the cloud.

Top comments (0)