Steps to Create a Virtual Machine in Azure Portal

olaraph

Raphael Olaniyi

Posted on May 21, 2024

Steps to Create a Virtual Machine in Azure Portal

Create a free trial account in Azure ( a free trial account provides a subscription and $200 Azure credits which will be more than enough for the course ).
Login to Azure Account (portal.azure.com).To access the Azure portal, we must provide our login credentials which includes our username and password.
After login, In the "Search resources, services and docs" field, type “virtual machines”.
Image description

Alternatively, you can select Virtual machine by clicking on the hamburger icon and scrolling through till we get the virtual machine.
Image description

we can also get this by clicking on the create a resource button and typing virtual machine.
Image description

From the list of search results, click on the “Virtual machine” option.The best option would usually be grayed out.
Image description

Click the “Create” button to start the virtual machine creation process.There is the option of two create buttons, click on either but from the options choose Create a virtual machine hosted by Azure.
Image description

Enter Project details this would be our subscription and resource group.Select the appropriate subscription and create a resource group by clicking the create resource group button and giving it a name or you select from an existing resource group
Image description
Image description

Enter details about the virtual machine we’re creating. Provide information about our virtual machine, such as the name of the Virtual Machine, the operating system, size, and other configuration settings. Give the VM a name and choose either Ubuntu server 20.04 or Windows Server Datacenter -x64 G2, leave every other thing option as default.
Image description

Select the region you want your virtual machine to be located

Image description

Select the availability zone that you want.
Image description
Image description

Select more than one zone if you want the Virtual machine to be highly available.
Image description
Go to image and select any desired Operating system
Image description
Image description

Create an Administrator Account. We need to a username and a password in case we need to connect to the Virtual Machine
Image description
Image description

Select the inbound port rule as SSH if we selected a Linux VM and RDP if it's a windows VM. This is needed just incase we want to connect to the virtual machine as it will allow IP address to connect to the VM created.
Image description
Image description

Check the licensing. By default, this is unchecked, click the box to have it checked.
Image description

Click “Next” till we get to boot diagnostics in the Monitoring tab, and click on “disable”.
Image description
Image description

Click on “Review + Create” button, if the validation passes, the deployment will go on if not take not of any recommendation, fix and try again
Image description

Deployment of the Virtual Machine might take 3-5 minutes.
Image description

Once the virtual machine has been deployed, we can access it by clicking on the "Connect" button in the virtual machine blade in the Azure portal.
Image description

Click Native RDP and click on select and wait for configured sign to be displayed on the right hand side
Image description

Download the RDP file
Image description

Open the RDP file from local computer & click on “connect”. Enter the Admin details created during the process of creating the VM. Click on the “connect” button displayed to initiate connection.
Image description

Follow the prompt and on click continue.This would be the username and passwrd created for the Admin section.
Image description

Wait for the remote pc to be configured.
Image description

Connection is successful, start using the virtual machine.
Image description

💖 💪 🙅 🚩
olaraph
Raphael Olaniyi

Posted on May 21, 2024

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related