Steps to create Azure Virtual Machine
Tags: azure, virtualmachine, networking, datacenter
Published: 2024-06-14 02:36:56

First things first, you can create an Azure Virtual Machine through the Azure portal. A simple browser-based user interface can help you create virtual machines along with all the additional resources. With this quick step-by-step guide, you can deploy your own Azure Virtual Machine.

Before getting started, make sure that you have an active Azure subscription. If not, then don’t worry! You can create a free account and then go about the following steps.

As we move on from the basics, we will now focus on the actual creation of the Azure Virtual Machine. The following steps will deal with configuring the basic settings for your Azure Virtual Machine.

**Step 1: Starting the Process of Setting up Azure Virtual Machine**

Now that you have an active Azure subscription, open the Azure management portal through www.portal.azure.com and log in.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5eltvaim5rchpjxohvo2.png)

**Step 2: Creating the Azure Virtual Machine**

On the Azure portal, select Virtual machines.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wl36xusg8xvt0qs3univ.png)

Open the Create a virtual machine screen with the help of Select + Add.

In the Create a virtual machine panel, you can get distinct tabs like Basics, Disks, Networking, Advanced, Tags, and Review + create.

Enter all your project details with information about the subscription, resource group, virtual machine name, region, availability options, image, and Azure Spot instance.

If you have not chosen an image before, you can choose the right image from the dropdown list. You can also browse all available images for creating virtual machines, including both public and private images. It’s better to go for Windows 11 Pro, version 22H2 - x64 Gen2(free services eligible).

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dgw31os504w6x4newa4v.png)

Carefully select the size of the virtual machine to be deployed. Here you will find different virtual machine size options in accordance with your basic configuration. Note that you cannot find all virtual machine sizes in all the Azure regions. But a recommended choice can be Standard_D2s_v3 - 2 vcpus, 8 GiB memory ($70.08/month).

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rfa5bghcmk0drxk3jzxa.png)

Fill in your username and password under the Administrator account. Make sure that your password is at least 12 characters long and also meets the specified complexity requirement.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ds9wfrwyi02jk1mn7qws.png)

In the Inbound port rules section, choose to Allow selected ports and then choose RDP (3389) from the drop-down menu.

Under Licensing, check-I confirm I have an eligible Windows 10/11 license with multi-tenant hosting rights and move to next: Disks.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nt376xdhj2ja6dajzmxw.png)

Since it's a simple Virtual Machine leave all other Tab
on the default settings.  

Finally, select the Review + create button at the bottom of the webpage. Here you can get a basic impression of the virtual machine that you are going to create.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/h9q66iyzprtl5kp8czqt.png)

**Step 3: Final Deployment**
After validation runs, the Create button at the bottom of the page will become active so select that. 

Once the deployment is complete, you can Go to resources. You must keep in mind that the process of creating an Azure Virtual Machine will take several minutes, so stay patient throughout the process and your virtual machine will be fully provisioned and ready to use. 

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/neb11087yhbknph8ssi9.png)

Download RDP File, locate the file and click connect to the Windows 11 computer you just acquired. #SMILE#

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/l75rpgt0hzs2mmsfi6n9.png)

**SUMMING UP**
Now you have understood the process of creating and maintaining Azure virtual machines. We have tried to formulate a comprehensive step-by-step guide so that you can understand the various phases of establishing an Azure virtual machine. Once you have gotten your basics of Azure virtual machine clear, you can grasp the process better too.

If you want to create another Azure Virtual Machine, you can get started right away.