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.

feita há 2 anos544 visualizações
2 Respostas
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
respondido há 2 anos
profile picture
ESPECIALISTA
avaliado há 7 meses
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 há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas