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.

已提问 2 年前542 查看次数
2 回答
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
已回答 2 年前
profile picture
专家
已审核 7 个月前
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
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则