Direkt zum Inhalt

Cannot RDP/ICMP to new EC2 instance

0

I have created an new Windows EC2 instance in my private VPC, with a public IP, but cannot RDP/ICMP to this new instance from internet (connect the public IP), I opened rule in security group, allow RDP and ICMP traffice to this instance, not work, I have no idea now, does anyone can give me some help? Thank you!

gefragt vor 3 Jahren549 Aufrufe

2 Antworten
0
Akzeptierte Antwort

Are you able to connect to your Windows from EC2 console using SSM session manager?

If not, attach IAM role to your EC2 as per Step 1: Complete Session Manager prerequisites

If yes, you can establish in-browser RDP connection from within EC2 console using Fleet Manager Remote Desktop? This method does not require security group changes

AWS
EXPERTE

beantwortet vor 3 Jahren

EXPERTE

überprüft vor 2 Jahren

  • Hello, thank you for your reply, I am tring your suggest way, but still need to solve the issue to access from Internet via RDP.

0

Hello.

Has the route to the Internet gateway been added to the route table of the subnet where EC2 is running?
If this route is not added, communication will not be possible even if a public IP address is set on EC2.
https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Internet_Gateway.html

EXPERTE

beantwortet vor 3 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.