Unable to connect to my ec2 instances via the console and cli

0

Error message I am unable to connect my instances via EC2 instant connect and CLI. All the required ports including 22 are opened. The internet gateway for the subnet is created. IAM permissions for EC2 Instance Connect with the required policy were created.

I was able to connect the instances two weeks ago.

Eric
已提问 7 个月前183 查看次数
1 回答
0

Hello.

Have you met the prerequisites for EC2 Instance Connect?
In particular, are you able to allow SSH connections from "EC2_INSTANCE_CONNECT" in the security group?
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-connect-prerequisites.html

You can check the IP address range of "EC2_INSTANCE_CONNECT" from the URL below.
Please note that the IP address range varies by region.
https://ip-ranges.amazonaws.com/ip-ranges.json

profile picture
专家
已回答 7 个月前
profile picture
专家
已审核 1 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则