DEV Community

Cover image for Creating a Windows Virtual Machine (VM) in Azure
Precious Uchechukwu Nwafor
Precious Uchechukwu Nwafor

Posted on

Creating a Windows Virtual Machine (VM) in Azure

Have you ever wished for a Undo button for your entire computer?

Imagine a high-stakes flight simulator. You have all the controls, all the power, and all the thrill of the sky, but if you crash, you don't fall. You just hit Restart and try again.

That is the magic of a Virtual Machine (VM). In the world of Cloud Engineering, we don’t let physical hardware limit our imagination. We turn heavy metal servers into fluid and digital sandboxes . Whether you want to test a dangerous virus, learn a new OS, or build the next big app, the VM is your playground.

Grab your digital hard hat and let's build a computer out of thin air.

STEP 1 : In the Azure portal, search for and select Virtual Machines.

Searching the global search for virtual machines

STEP 2 : Select Virtual Machines.

Select virtual machines

STEP 3 : Go to Basic tab. Under Subscription & Resource Group: Select your subscription and create or choose a resource group.

  • VM Name: Enter a name for your VM.
  • Region: Pick an Azure region of your choice.
  • Availability Options: No infrastructure redundancy required for high availability and to lower cost.
  • Security: Select standard
  • Image: Confirm the Windows OS image.
  • Size: Select the VM size (CPU, RAM) based on your workload. This determines your VMs pricing on an hourly bases.

Labelling our machine

STEP 4 : Set an Administrator Account
Create a username and password for logging into the VM. Configure virtual network, subnet, and public IP. Use Http (80), RDP (Port 3389) to connect remotely. Confirm licensing option

Labelling VM

STEP 5 : Configure Monitoring tab. Disable - Boot diagnostics to ensure privacy. Review and create

Reviewing deployment

STEP 6 : Validation passed. Proceed to Create

Creating VM

STEP 7 : Deployment Complete. Go to resource

Vm deployed

STEP 8 : Connect VM and download RDP file.

Connect Status

STEP 9 : Open and login to the downloaded RDP folder with your credentials.

STEP 10 : Verify credentials and connect

Verify and connect

STEP 11 : Install and Run VM. Test application by downloading Screenpresso using Microsoft Edge

Inside VM

Downloading screenpresso

STEP 12 : Install and Run Screenpresso in VM.

Installation

Run program

VM

MISSION ACCOMPLISHED!

Top comments (8)

Collapse
 
otuto_chukwu profile image
Otuto Chukwu • Edited

I feel like I’m getting free lessons just by following your blog. Well done, Precious.

Meanwhile, can I turn my life into a Virtual Machine so I can just restart whenever I make mistakes? 😭

Collapse
 
realcloudprojects profile image
SKILL.SCH

hahaha we are literally like that because of God's mercies :)

Collapse
 
precious_nwafor profile image
Precious Uchechukwu Nwafor

Yes ohπŸ™ŒπŸ™ŒπŸ™Œ

Collapse
 
precious_nwafor profile image
Precious Uchechukwu Nwafor

πŸ˜…πŸ˜…πŸ˜…πŸ˜… how i'm I just seing this!
I can relate!

Collapse
 
favour_fred_7ef9bf15f05cd profile image
Favour Fred

This is expertise at its finest display πŸ‘πŸ‘πŸ‘πŸ‘

Collapse
 
precious_nwafor profile image
Precious Uchechukwu Nwafor

Appreciate you taking your time to read & engage, Favour. Thank you

Collapse
 
realcloudprojects profile image
SKILL.SCH

welldone

Collapse
 
precious_nwafor profile image
Precious Uchechukwu Nwafor

Thank you so much, Coach