Windows VMs and RDP Access
You'll learn how to connect to and manage Windows virtual machines using Remote Desktop Protocol (RDP).
What is RDP?
Remote Desktop Protocol (RDP) is Microsoft's proprietary protocol that lets you remotely access and control a Windows computer over a network. Think of it as sitting directly in front of a Windows machine, but you're actually accessing it from anywhere via the internet.
While Linux VMs use SSH key pairs for secure terminal access (as you learned previously), Windows VMs typically use RDP for full graphical desktop access.
How RDP Works with Cloud VMs
When you launch a Windows virtual machine in the cloud, it comes with RDP enabled by default. To connect:
- You need credentials: Unlike SSH keys, you'll typically use a username and password
- Default port: RDP listens on port 3389 (your cloud security group must allow this)
- RDP client software: Windows includes Remote Desktop Connection built-in; Mac and Linux users need a client like Microsoft Remote Desktop
The Connection Process
Connecting to a Windows VM is like unlocking a physical computer remotely. You provide the VM's public IP address, your administrator username, and password. The RDP client establishes an encrypted connection, then displays the full Windows desktop in a window on your local machine.
Unlike SSH's text-only terminal, RDP gives you the complete Windows graphical interface—you can click icons, run applications, and manage files just as if you were physically there.
Security Considerations
Just like SSH keys protect Linux VMs, strong passwords and restricted network access protect Windows VMs. Always limit RDP access (port 3389) to specific trusted IP addresses in your security group rules.
Key Takeaway: RDP is the graphical remote access protocol for Windows VMs, requiring username/password authentication and port 3389 access, providing full desktop control from anywhere.