내용으로 건너뛰기

Impossible to connect to ec2 windows instance

0

Unable to Connect to Windows EC2 Instance via RDP Despite Proper Security Group, Route Table, and Internet Gateway Configuration

I am having trouble connecting to my Windows EC2 instance via RDP (port 3389). Here are the details of my setup:

Instance ID: i-0c1290cdeee76c0f6
Public IP: 44.223.170.128
VPC ID: vpc-0f4251f872102fd63
Subnet ID: subnet-0a347d7e42688eca2
Security Group ID: sg-02b4db9350cba728d

What I've Verified So Far:

Security Group:
    Port 3389 (RDP) is open to 0.0.0.0/0 for inbound traffic.
    The security group allows outbound traffic on all ports.

Route Table:
    The route table for the subnet has a route for 0.0.0.0/0 pointing to the Internet Gateway (igw-06fd24c4882bf0e6c).
    There is also a local route for the internal CIDR block 10.0.0.0/16.

Internet Gateway:
    The subnet is connected to an Internet Gateway, and the instance has a public IP.

Issue:

Despite having these configurations, I am unable to connect to the instance via RDP. Additionally:

The SSM agent on the instance is not registering as online, and I cannot use AWS Systems Manager to troubleshoot the instance.
I'm unable to confirm if Windows Firewall is blocking RDP because I cannot connect to the instance.
질문됨 일 년 전167회 조회
3개 답변
0

hello what is the error massage or response you get from your RDP client ? maybe there is a network blocking from your network and not on aws side or the ec2 instance ?

답변함 일 년 전
0

Hello nzer94,

Have you try connecting into that ec2 instance on AWS console using fleet mananger? If not would suggest you to try it.

AWS
답변함 일 년 전
-1

Hi,

I would suggest that you first try to connect to your WIndows instance via Instance Connect. See https://repost.aws/knowledge-center/ec2-instance-connect-troubleshooting

Then, when your are in, it will be easier to understand why RDP doesn't work (Window firewall, etc.) because you will have access to Windows terminal to run your commands.

Best,

Didier

전문가
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

관련 콘텐츠