DEV Community

Cover image for Create a Windows Virtual Machine via Azure Portal
Princesse Lawrie
Princesse Lawrie

Posted on

Create a Windows Virtual Machine via Azure Portal

Hello Cloud Enthusiast, have you tried creating a virtual machine yet using the famous Azure portal?

To begin with, what is a virtual machine? A virtual machine is the virtualization or emulation of a computer system. Being an emulation, a virtual machine can perform almost all of the same functions as a computer, including running applications and operating systems. It can run on a physical machine and access computing resources.

Follow me as I show you the basic steps to create a virtual machine.

Step 1:

Go to, click on the "Start free" button and follow the prompts to create an account.


Step 2:

Once you have an Azure account, sign in to the Azure portal via in your browser. When you are logged in successfully, it should look like this;


Step 3:

Click on virtual machine on the home page and click the down arrow beside create and select create a virtual machine hosted by Azure


Step 4:

Let's begin with creating a resource group by clicking on Create New


I called the resource group Decemberworkload and my virtual machine lawrievm, any name works too!
On the next few screenshots you will see the options I selected based on my subscription.



Step 5:

Now let's create a username and password for our virtual machine, take note of the password because we will need it to have access to the virtual machine created.


Step 6:

Click on Review + create tab next to verify validation, a green check mark will appear on the top left hand screen of the review page followed by a breakdown list of options selected for the disks sizes, networking, management etc - usually they are preset already



Step 7:

Now click the Create tab and wait for the deployment to run through


Deployment is complete...Yes! Let us now access the vm created by clicking on Go to resource tab


Step 8:

The status shows the vm is now running. Click Connect


Step 9

Next click Download RDP file since we are running a Windows vm


Step 10:

Once the download is complete, open the file and click Connect


Now enter your password to access the vm



Your virtual machine has come to live and is ready for use!!! Yippee!!!

NB: Ensure to delete any resources created on Azure to save cost, remember we are working with the free subscription.

Until then, Happy New Year 2024 and see you on my next post.

Top comments (0)