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 https://azure.microsoft.com/, click on the "Start free" button and follow the prompts to create an account.

azuresignup

Step 2:

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

Azureloginpage

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

Step3vm

Step 4:

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

Step4vm

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.

Step5vm

Step6vm

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.

Step7vm

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

Step8vm

Step9vm

Step 7:

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

Step10vm

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

Step11vm

Step 8:

The status shows the vm is now running. Click Connect

Step12vm

Step 9

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

Step13

Step 10:

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

Step14vm

Now enter your password to access the vm

Step15vm

Step16vm

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.
Ciao!😊

Top comments (0)