How to Connect to AWS Windows EC2 UI Instance from M1 Mac (Updated)


If you have created an AWS EC2 Windows instance using your AWS Console and wondering how to connect to it using your Mac? Here are the steps to quickly connect to it using Microsft Remote Desktop App (RDP Client),

  • Step 1: You will first need to download Microsoft Remote Desktop Application from Mac App Store
    Microsoft Remote Desktop - Mac App Store

    Microsoft Remote Desktop for Mac lets you access a remote PC or Virtual Machine Desktop (like AWS EC2), and you can securely connect to all kinds of Windows OS - Windows Professional or Enterprise and Windows Server.

  • Step 2: On your AWS Console, go to your Windows instance page and make sure it is launched - now click on Connect button.
    AWS Console - Windows EC2 Connect Button
    AWS Console - Windows EC2 Connect Button
  • Step 3: Now click on the RDP Client Tab, and copy the Public DNS you will need this to connect to your instance. Now click on the Password button.
    Click on Get Password under RDP Client
    Click on Get Password under RDP Client

    Browse your .pem file associated with the instance and decrypt the password.

    Get Windows Password using Key associated with this instance
    Copy the decrypted plain text password.
  • Step 4: Now launch the download - Windows Remote Desktop (RDP) Application and click on Add PC
    Windows Remote Desktop for Mac - Add PC

    Under PC name add the Public DNS that we just copied at Step 3, you can add a friendly name as well - MyAWSWindowsInstance is what I have added in my case. Click on Add.

    Add new PC

    Now, enter your user User name as "Administrator" and the password that we copied using the .pem file in Step 3.

    AWS Windows EC2 - Enter Your User Account - RDP

    You are connecting to the RDP host "ec2-xx-xxx-xxx-xx.us- east-2.compute.amazonaws.com". The certificate couldn't be verified back to a root certificate. Your connection may not be secure. Do you want to continue?

    You will see a message as above, click on continue.

That's it! Next, you will log into your Windows Desktop, on the top right you should see details of your Device.

Hostname: EC2AMAZ-LXXXXX
Instance ID: i-010XXXXXXXXXXX
Public IP Address: xx-xxx-xxx-xx
Private IP Address: 172.31.16. 27
Instance Size: t2.micro
Availability Zone: us-east-2b
Architecture: AMD64
Total Memory: 1024 MB
Network Performance: Low to Moderate
Connected to Windows EC2 on Mac using RDP App

Facing issues? Have Questions? Post them here! I am happy to answer!

Author Info:

Rakesh (He/Him) has over 14+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.

Follow him on: X

You can also reach out to him via e-mail: rakesh@code2care.org



















Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap