Skip to content

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!

asked 3 years ago537 views

2 Answers
0
Accepted Answer

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
EXPERT

answered 3 years ago

EXPERT

reviewed 2 years ago

  • 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

EXPERT

answered 3 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.