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
preguntada hace 2 años426 visualizaciones
2 Respuestas
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
respondido hace 2 años
profile picture
EXPERTO
revisado hace un mes
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
respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas