Unable to RDP EC2 instance from local desktop

0

Hi All, Greetings of the day!! I am new to AWS and have created an EC2 instance and edited the security groups to allow TCP, UDP and all ICMP traffic in Inbound and Outbound rules but cant ping my EC2 instance from its public DNS name and nor from its public IP either. I gave the IPV4 custom rules to be pinged the instance from any where. Also I added rule to RDP the machine but still not able to access it from my local desktop. Please suggest remediation or may be I am missing anything. Ty.

Vincent
asked 2 years ago527 views
2 Answers
0

Hello - Is your EC2 instance in a public subnet? Check if the routing table of the subnet that you used has a route to an internet gateway for the VPC. Also, verify if you are using the correct username and password. Sometimes, some workstations automatically add a domain (example "domain\Administrator") in the username field.

You may refer to the following AWS documentation for other troubleshooting tips: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/troubleshoot-connect-windows-instance.html

https://aws.amazon.com/premiumsupport/knowledge-center/troubleshoot-remote-desktop-connection-ec2-windows/

profile picture
joahna
answered 2 years ago
profile picture
EXPERT
reviewed 6 months ago
0

Hi,

Check the below configurations:

  • Security Group(s) rules applied to your NAT Instance and Target EC2 instance.
  • NACL rules (both inbound and outbound) applied to Subnets.
  • Route Table Routes (e.g. Your EC2 instance subnet is connected IGW).

You can utilize the AWS VPC Reachability Analyzer feature to troubleshoot your issue. This is really nice feature to troubleshoot such connectivity issues caused due to SG, NACL, or RT misconfiguration.

Regards, Ashish Patel

profile picture
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions