DEV Community

Cover image for Creating My First Virtual Machine on Microsoft Azure
Pelumi
Pelumi

Posted on

Creating My First Virtual Machine on Microsoft Azure

Hello, I'd like to share with you how I created my first virtual machine on Microsoft Azure. To start, let me briefly explain what virtual machines are. Essentially, virtual machines serve as operating systems or software that mimic physical machines. They make it easier to provision applications, hardware, software, data, and computing power, which is essential for achieving scalability, flexibility, and cost optimization in modern business and computing environments.
Below is my simple step-by-step process for launching a Windows machine in Azure.

On the Microsoft Azure dashboard, you can create new resources by clicking on the section highlighted with a red square.
Azure dashboard

This image displays the variety of resources that can be launched. Click on the Azure virtual machine to initiate the deployment process.
Image description

You will be directed to a section where you can customize the virtual machine according to your requirements and assign it a suitable name.
Image description

Be sure to specify a region for your resource. An Azure region includes several data centres in one geographic area.
Image description

Choose suitable availability zones, which are isolated data centres with independent cooling, power, security, and network resources.
Image description

For the virtual machine, select a machine image and choose an operating system. I chose the free tier Windows 11 OS.
Image description

Create a secure username and password to access your virtual machine.
Image description

To initiate the launch, click on the "Review and Create" tab and then click on the Create button below.
Image description

Please wait until the deployment is complete. Afterwards, click "Go to Resource."
Image description

Click where you see the virtual machine's public IP address to modify its Idle timeout.
Image description

Please set the idle timeout to 15 minutes and navigate back to the previous page.
Image description

To configure features for your virtual machine on Azure, please click on the "connect" button.
Image description

To start the configuration process, please click on the 'Select' button.
Image description

Please wait until the configuration process is complete. Once the process is done, you will see a message that says "configured".
Image description

Click the 'Download RDP file' button after completing the configuration.
Image description

After downloading the RDP file, simply click on it to start the installation process. Follow the instructions provided to log in using the username and password you previously provided. Once the process is complete, you will have access to your newly created virtual machine. Below, you can find a screenshot of my virtual machine for reference.
Image description

Hopefully, you will be able to follow these easy steps to create your virtual machine after reading this article.

Top comments (0)