EC2 instance connect not working for any of my instances

0

EC2 instance connect gives me this error when connecting to any of my instances:

Failed to connect to your instance
EC2 Instance Connect is unable to connect to your instance. Ensure your instance network settings are configured correctly for EC2 Instance Connect. For more information, see EC2 Instance Connect Prerequisites at https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-connect-prerequisites.html.
Rossouw
질문됨 4달 전231회 조회
3개 답변
0

Hello.

As per the error, you may need to review the network settings.
Does the EC2 security group allow SSH with inbound rules?
Also, is the subnet where EC2 is launched configured as a public subnet?
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-connect-prerequisites.html#eic-prereqs-network-access

profile picture
전문가
답변함 4달 전
profile picture
전문가
검토됨 4달 전
0

My instance does have a public IP.

How do I check which AMI I am using (apologies, I am a beginner).

Might also be worth noting. This used to work, but it no longer does.

Rossouw
답변함 4달 전
-1

Which AMI are you using? Only these are supported:

  • Amazon Linux 2 prior to version 2.0.20190618
  • CentOS Stream 8 and 9
  • macOS Sonoma, Ventura, and Monterey
  • Red Hat Enterprise Linux (RHEL) 8 and 9
  • Ubuntu 16.04 and 18.04
profile pictureAWS
전문가
David
답변함 4달 전
  • Hey David, this isnt entirely true. It only states its not preinstalled on the list above. The following have it preinstalled:- *AL2023 *Amazon Linux 2 2.0.20190618 or later *Ubuntu 20.04 or later

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

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

질문 답변하기에 대한 가이드라인

관련 콘텐츠