DEV Community

Ogundele Faruk
Ogundele Faruk

Posted on

Create A Virtual Machine StepByStep

Step-by-Step Guide: Creating & Connecting to an Azure Virtual Machine πŸ–₯️

1.Log in to Azure Portal
πŸ“ Navigate to portal.azure.com.
πŸ”Ή Enter your username & password to access the dashboard.
2.Search for "Virtual Machines"
πŸ“ In the Search bar, type "Virtual Machines".
πŸ”Ή You can also find it by clicking the hamburger menu or selecting "Create a Resource" β†’ "Virtual Machine".
Image description
3.Click on "Create"
πŸ”Ή Click "Create" β†’ "Azure Virtual Machine".
πŸ”Ή Choose "Virtual Machine hosted by Azure".
4.Enter Project Details
πŸ”Ή Select the appropriate Subscription.
πŸ”Ή Click "Create Resource Group" β†’ Enter a name for it.
Image description
5.Configure Virtual Machine Details
πŸ”Ή Enter:
βœ… VM Name (e.g., MyAzureVM,AzureingVM)
βœ… Operating System: Select Ubuntu Server 20.04 or Windows Server Datacenter - x64 G2
βœ… VM Size: Keep the default option.
Image description
6.Set Up Administrator Account
πŸ”Ή Authentication Type: Select Password.
πŸ”Ή Username: Azureuser
πŸ”Ή Password: password123* (Change for security purposes).
7.Configure Inbound Port Rules
πŸ”Ή Select SSH (for Linux) or RDP (for Windows).

  1. Accept Licensing Terms πŸ”Ή Click the checkbox to accept the license agreement. Image description 9.Check VM Status πŸ”Ή If the status is "Running", your VM is ready! πŸŽ‰ 10.Connect to the Virtual Machine πŸ”Ή Click "Connect" in the Azure VM blade. 11.Download & Open RDP File (Windows VM Only) πŸ”Ή Click "Native RDP" β†’ Download RDP file. πŸ”Ή Open the RDP file on your computer. Download & Open RDP File (Windows VM Only) Download & Open RDP File (Windows VM Only) Image description Image description 12.Success! Start Using Your VM Image description

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (0)

Sentry image

See why 4M developers consider Sentry, β€œnot bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

πŸ‘‹ Kindness is contagious

Please consider leaving a ❀️ or a kind comment on this post if it was useful to you!

Thanks!