Tech Junkie Blog - Real World Tutorials, Happy Coding!: Connect to Microsoft Azure Virtual Machine With Remote Desktop Connection (RDP)

Friday, December 14, 2018

Connect to Microsoft Azure Virtual Machine With Remote Desktop Connection (RDP)

The best way to connect to a virtual machine in Azure if it's a Windows operating system is through a Remote Desktop Connection or RDP.  In this post I am going to show how to set the Azure portal virtual machine to accept RDP connection from your desktop.



Here are the steps to set up RDP:

1. Log into Azure portal portal.azure.com with your Microsoft Azure account
2. Click on the "Virtual Machines" link, and select the virtual machine that you want to connect to via RDP








3. Select "Networking"















4.  On the "Networking" screen there should already be an RDP inbound rule setup for you already else click on the "Add inbound port" button to add an RDP inbound rule


The RDP rule should look like the following, the priority can be different.






































5.  Click on "Overview" to go back to the virtual machine dashboard














6.  In the virtual machine overview screen click on the "Configure" link under "DNS name"















7. In the DNS settings screen

  • select the "Static" radio button to grab a static IP
  • give the VM a unique DNS name
  • click "Save"































8. Go back to the virtual machine overview page and you will see the at the DNS name has been setup.  Click on the "Start" button















9. Wait for the VM is fully started then open RDP on your Windows machine







10. In the "Computer Name" field type in the DNS name, and fill in the user that you want to connect with in the "Username" field.






































11. Type in your credentials when prompted, then click "OK"




















12. Accept the certificate, and you will be logged into your virtual machine

























13.  You virtual machine is connected via your DNS name



9 comments:

  1. http://blog.veribook.com/2014/03/synching-veribook-and-microsoft-outlook.html?showComment=1562582036267#c8097907960677665050

    ReplyDelete
  2. Lately, I've been unwinding with some Tiny Fishing on my phone. There's something so satisfying about patiently upgrading my gear and finally reeling in those rare, elusive fish. It's a great way to just chill. This Azure RDP setup looks pretty straightforward. Do you ever run into connectivity issues after setting up the static IP?

    ReplyDelete
  3. Reading this reminded me of setting up VLANs on physical switches, except here the isolation happens in software before any hardware exists. That’s a handy mental shift. One thing I’m wondering: do you map out the subnet ranges on paper first, or just let Azure’s defaults guide early testing?

    nano-banana2

    ReplyDelete
  4. Whenever I need to spin up a Windows VM for a quick client demo, the RDP download still feels like the most reliable step. I usually save the.rdp file to a shared folder for the team so anyone can jump in without hunting for credentials. That small workflow saves me a lot of back-and-forth.

    nano-banana2
    nano-bananapro
    seedance2-5
    banana2lite

    ReplyDelete

Search This Blog