DEV Community

Cover image for Azure Virtual Machines
okunola babatunde
okunola babatunde

Posted on

Azure Virtual Machines

Step-by-Step Guide: Creating & Connecting to an Azure Virtual Machine

Overview:

In this guide, we will create a Virtual Machine (VM) in Microsoft Azure using a Free Trial Account with $200 in credits. Follow these easy steps to set up, configure, and connect to your Azure VM.

1.Log in to Azure Portal

  • Navigate to portal.azure.com.
  • Enter your username & password to access the dashboard. Image . 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

3. Select Virtual Machine from the Search Results

Click on "Virtual Machine" from the search results.
Image Select Virtual Machine from the Search Results<br>
Click on

4. Click on "Create"

  • Click "Create" → "Azure Virtual Machine".
  • Choose "Virtual Machine hosted by Azure Image Click on

5. Enter Project Details

  • Select the appropriate Subscription.
  • Click "Create Resource Group" → Enter a name for it. Image Enter Project Details

6. Configure Virtual Machine Details

Enter:

  • VM Name (e.g., Feb15VM)
  • Windows 10 Enterprise N, version 22H2 - x64 Gen2 free services eligibe
  • VM Size: Keep the default option. Image Windows 10 Enterprise N, version 22H2 - x64 Gen2
(free services eligib Image Windows 10 Enterprise N, version 22H2 - x64 Gen2
(free services eligib

7. Set Up Administrator Account

  • Authentication Type: Select Password.
  • Username: baokoncepts
  • Password: ****** (Change for security purposes). Image Set Up Administrator Account

8. Configure Inbound Port Rules

  • Select HTTP and RDP for Windows). Image Configure Inbound Port Rules

10. Accept Licensing Terms

  • Click the checkbox to accept the license agreement Image Accept Licensing Terms

11. Disable Boot Diagnostics

  • Click Next → Navigate to Monitoring Tab → Disable Boot Diagnostics. Image Disable Boot Diagnostics

12. Review & Deploy the Virtual Machine

  • Click "Review + Create".
  • Ensure validation passes.
  • Click "Create" to deploy.
  • Deployment takes 3-5 minutes. Image Review & Deploy the Virtual Machine Image Review & Deploy the Virtual Machine
  1. Check VM Status
  2. If the status is "Running", your VM is ready!
    Image Check VM Status

  3. Connect to the Virtual Machine

  4. Click "Connect" in the Azure VM blade.
    Image Connect to the Virtual Machine

  5. Download & Open RDP File (Windows VM Only)
    Click "Native RDP" → Download RDP file.
    Open the RDP file on your computer.
    Image Download & Open RDP File (Windows VM Only)

  6. Enter the Username & Password created earlier.
    Click "Connect" to access the VM.
    Image Enter the Username & Password created earlier.

  7. Complete Connection

  8. Follow the prompts & click "Continue" when asked.
    Image Enter the Username & Password created earlier.

  9. Wait for Configuration

  10. The remote desktop will be configured in a few seconds.
    Image Wait for Configuration

  11. Success! Start Using Your VM

  12. You are now connected! You can start using your Azure Virtual Machine
    Image Wait for Configuration

  13. A virtual copy was screen shoted and pasted as thus;

Image A virtual copy was screen shoted and pasted as thus

Top comments (1)

Collapse
 
realcloudprojects profile image
SKILL.SCH

Nice