How To Create A Virtual Machine Using Azure Portal and How To Connect Through RDP (Remote Desktop Protocol)

Ashen Wijesingha
MS Club of SLIIT
Published in
5 min readJan 24, 2022

In this article, we are going to create a Virtual Machine using Azure Portal and after that, we talk about how to connect it through RDP (Remote Desktop Protocol)

First of all, you have to log in to you’re azure proter. If you haven't any azure account yet please create one because it has a bunch of functions with a lot of facilities as well.

Please use this link to sign in to Azure Portal https://portal.azure.com/

I would like to topics about how to create a vertical machine and How to connect it through RDP (Remote Desktop Protocol)

Create Virtual Machine (Using Azure Portal)

  • First of all, you need to log in to Yor Azure Portal. If you don’t have an Azure subscription, create a free account before you begin.
Azure Portal Interface
  • Type Virtual Machines in the search.
  • Under Services, select Virtual Machines.
Searching Virtual Machine Service
  • On the Virtual Machines page, select Create then Virtual machine.
Current Virtual Machines
  • In the Basics tab, under Project details, make sure the correct subscription is selected and then choose to create a new resource group. Type “-Your-Resource-Group-Name- for the name.
Basic Details of Virtual Machine
  • Under Instance details, type “-Your-Virtual-Machine-Name- for the Virtual machine name and choose “Windows 10Pro, Version 20H2 — Gen2 for the Image. Leave the other defaults.
Basic Details of My Virtual Machine
  • Under Administrator account, provide a username, such as “Admin-User and a password. The password must be at least 12 characters long and meet the defined complexity requirements.
User Credentials
  • Under Inbound port rules, choose Allow selected ports and then select RDP (3389) and HTTP (80) from the drop-down.

Please select those according to your requirements.

RDP Connection Details
  • Leave the remaining defaults and then select the Review + Create button at the bottom of the page.
Licensing

Make Sure to Tick the Licensing Check Box.

  • After validation runs, select the Create button at the bottom of the page.
Validations of Virtual Machine Details
  • After deployment is complete, select Go to resource.
Deployment Complete
  • After the All Steps It will look like this.
Inside of my Virtual Machine

Connect to The Virtual Machine over RDP (Remote Desktop Protocol)

  • In this section, we are going to create a remote desktop connection to the virtual machine.
  • These directions tell you how to connect to your VM from a Windows computer. On a Mac, you need an RDP client such as this Remote Desktop Client from the Mac App Store.
Microsoft Remote Desktop Client for MAC Books
  • On the overview page for your virtual machine, select the Connect > RDP.
Connect >>> RDP
  • In the Connect with RDP page, keep the default options to connect by IP address, over port 3389, and click Download RDP file.
Connect with RDP page
  • You Have Two Paths to Do This. If you’re a Windows User Then You can Open the downloaded RDP file and click Connect when prompted.
Remote Desktop Connection Publisher App

Or

  • You can Open The Remote Desctop Connect Application Manullay and Place Your VM’s IP Address there and Click Connect.
Remote Desktop Connection Application
  • Then it will ask for the user credentials. Enter Your User Name and Password And Click OK to Connect Your Azure Virtual Machine Over RDP Connection.

When it’s asking for the Connect despite for Certificate Errors. Press Yes To Proceed.

  • Then Your Virtual Machine Will Connect Like This.
Welcome Screen Of My Virtual Machine
  • Click Accept when it is your First Sign Up.

Here we go….

Now you have an Azure Virtual Machine Connected Over an RDP (Remote Desktop Protocol)

Here It looks like...

Virtual Machine Desktop Look

If you like this article please hit the clap button as many times as you like, as it keeps me motivated to write more articles. Have a great weekend, Happy Hacking 😉.

And Don’t forget to ping me on Linkedin.

--

--

Ashen Wijesingha
MS Club of SLIIT

I'm reading for my Software Engineering degree program at SLIIT. Also, I'm a driven individual with the ability to adapt to any situation.