Steps to Create a Virtual Machine in Azure Portal
Raphael Olaniyi
Posted on May 21, 2024
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”.
Alternatively, you can select Virtual machine by clicking on the hamburger icon and scrolling through till we get the virtual machine.
we can also get this by clicking on the create a resource button and typing virtual machine.
From the list of search results, click on the “Virtual machine” option.The best option would usually be grayed out.
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.
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
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.
Select the region you want your virtual machine to be located
Select the availability zone that you want.
Select more than one zone if you want the Virtual machine to be highly available.
Go to image and select any desired Operating system
Create an Administrator Account. We need to a username and a password in case we need to connect to the Virtual Machine
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.
Check the licensing. By default, this is unchecked, click the box to have it checked.
Click “Next” till we get to boot diagnostics in the Monitoring tab, and click on “disable”.
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
Deployment of the Virtual Machine might take 3-5 minutes.
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.
Click Native RDP and click on select and wait for configured sign to be displayed on the right hand side
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.
Follow the prompt and on click continue.This would be the username and passwrd created for the Admin section.
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
November 30, 2024
November 30, 2024