- Newest
- Most votes
- Most comments
To set up RDP (Remote Desktop Protocol) with your Windows Server instance on Amazon EC2, follow these steps:
-
Ensure your instance is running and in a "running" state.
-
Configure the security group for your instance:
- In the EC2 console, select your instance and go to the "Security" tab.
- Edit the inbound rules of the associated security group.
- Add a rule for RDP (port 3389) and set the source to your IP address or a specific range you'll be connecting from.
-
For outbound rules, the default setting (allowing all traffic) is usually sufficient for most use cases. You don't need to modify this unless you have specific security requirements.
-
Retrieve the initial administrator password:
- In the EC2 console, select your instance and click "Connect".
- Choose the "RDP Client" tab and click "Get Password".
- Use your private key file to decrypt the password.
-
Use an RDP client to connect:
- On Windows, use the built-in Remote Desktop Connection.
- On Android, you can use an RDP client app from the Play Store.
- Enter the public DNS or IP address of your instance as the computer name.
- Use "Administrator" as the username and the password you retrieved.
If you're still unable to connect, double-check that:
- The instance is in a running state.
- You've correctly configured the inbound rule for RDP in the security group.
- You're using the correct public DNS or IP address.
- You're using the correct username and password.
For the free tier, make sure you're using a t2.micro or t3.micro instance type, which are eligible for the free tier.
If you continue to have issues, you can use AWS Support or community forums for further assistance. However, AWS doesn't typically provide direct TeamViewer support for EC2 instance setup.
Sources
Connecting to a windows server using port forwarding | AWS re:Post
Connect to your Windows instance using RDP - Amazon Elastic Compute Cloud
Connect to your Windows instance using an RDP client - Amazon Elastic Compute Cloud
Relevant content
- asked 7 months ago
- asked 2 years ago
- asked a year ago
- AWS OFFICIALUpdated 17 days ago