Step-by-Step Guide to Creating Virtual Machines in Azure and Connecting to RDP

Step-by-Step Guide to Creating Virtual Machines in Azure and Connecting to RDP

Your Ultimate Guide to Setting Up and Accessing Azure VMs via RDP

Creating a virtual machine (VM) in Azure is essential for leveraging cloud computing resources. This guide will walk you through the steps to set up your own Azure VM and connect to it using Remote Desktop Protocol (RDP).

Prerequisite

Ensure you have a subscription to Azure.

  1. Accessing the Virtual Machines Section

Log into the Azure Portal and navigate to the Virtual Machines section.

Click on the Create button and select Azure virtual machine.

  1. Configuring Your Virtual Machine

Project Details

  1. Subscription: Select your Azure subscription.

  2. Resource group: Create a new resource group or select an existing one("Demo1").

Instance Details

  1. Virtual machine name: Enter a unique name.

  2. Region: Select the region (e.g., "Europe UK South").

  3. Availability options: Choose availability zones for redundancy.

    Additional Instance Details

    1. Availability zone: Select zones.

    2. Security type: Choose standard or trusted launch.

    3. Image: Select the OS image (e.g., Windows 11 Pro).

    4. VM architecture: Choose x64.

      Size and Administrator Account

      1. Size: Select the VM size (e.g., "Standard_DS2").

      2. Username: Create an admin username (e.g., "Rabiatu").

      3. Password: Set and confirm a strong password

        Inbound Port Rules

        1. Select HTTP (80), HTTPS (443), and RDP (3389).

          Licensing

          1. Confirm eligibility for Windows 10/11 license.

Click Next: Disks to proceed.

Disk Configuration

  1. OS disk type: Select "Premium SSD".

Click Next: Networking.

Networking Configuration

  1. Virtual network: Select "DemoVM1-vnet".

  2. Subnet: Select "default (10.0.0.0/24)".

  3. Public IP: Create a new public IP.

  4. NIC network security group: Choose Basic.

  5. Public inbound ports: Confirm selected ports.

    Click Review + create.

Deployment in Progress

Monitor the deployment progress.

Deployment Complete

Click Go to resource to view your VM.

Connecting to Your Virtual Machine

VM Overview

Ensure the VM status is Running. Click Connect

Connection Details

Select RDP and download the RDP file.

RDP Connection

Open the RDP file, click Connect.

Enter your credentials and click OK.

Click Yes to proceed despite the certificate warning.

Connected to VM

You are now connected to your Azure VM.

Setting up and connecting to a virtual machine in Azure is straightforward. This guide covers the essential steps to get you started. Azure VMs are powerful for running applications and workloads efficiently.