How to Create Virtual Machine in Azure

Published on June 28, 2024

Step Image

Login to https://portal.azure.com, Now click on “Virtual machines” option from the left side Menu and then click on “Create” link.

Step Image

Go to “Azure Virtual machines” option from the section.

Step Image

Fill the details required. A few of the options you can keep as it is but based on your business need you can change those, • Subscription: Choose your correct subscription. • Resource group: You can choose the existing resource group or you can create a new one by clicking the “Create New” option. It acts like a container that stores the resources related to an Azure solution. • Virtual machine name: Provide a name for your virtual machine. • Region: This the location where you are going to create all the resources related to the virtual machine. • Image: Choose the Operating System Image which want to use. You can change it based on your business need. • Size: The size you want to assign based on your requirement. • In the Administrator account section, Choose a Username, Password that you will use to login to the VM once created.

Step Image

In the next screen (Disks), you can add the disk architecture that you want. can change it based on your business need. Click on Next: Networking button.

Step Image

Now you can fill the below details in the Networking screen, • Virtual Network: Choose a virtual network or else you can create a new one by clicking the “Create New” link, • Subnet: You can keep the default option as it is, • Public inbound ports: choose Allow selected ports, • Select inbound ports: This is a very important option. Choose the option as HTTP(80), RDP(3389) here. Once you choose this option in the Basics tab it will automatically show the same option here. Keep the option as it is.

Step Image

Some Setting for Microsoft defender for cloud. Click on next: Advanced.

Step Image

Now in tags Option fill the value or left it for automatic Update.

Step Image

Now for other tabs all the options you can keep as it is. Once you fill all the above details click on the “Review + Create” button. Azure will validates the above details internally and will show a message “Validation passed”.

Step Image

Now you have created the VM successfully. Goto Resource and Click on the Connect button to connect to the VM.

Step Image

Download the RDP file and connect the VM.

Step Image

Now the VM is Connect Successfully.