connection via AWS ec2 instance connect (ssh) failed - not sure if account issue

0

Hi,

First post as I'm tearing my hair out. I was connect to my instance fine via about method, but all of a sudden it now stopped. The message I get is "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.".

I've made sure that the instance has inbound SSH setup in both security group and acl. I've even tried setting up a new instance with a fresh security group (again enabling SSH access) but this still doesn't work.

I'm just wondering if my account has been 'isolated'

Stone26
질문됨 5달 전140회 조회
1개 답변
0

Your EC2 instance can be isolated in a case the instance was identified in a security breach role or part of any vulnerability attack, but you will be notified in your health dashboard and via Email from EC2 Abuse. Does your instance have Public IP? If it doesn't, then you will have to create Connect Endpoint in the same VPC. Does the Security group allow SSH from anywhere (0.0.0.0/0) or you are using specific IP range?

To identify the address range, download the JSON file provided by AWS and filter for the subset for EC2 Instance Connect, using EC2_INSTANCE_CONNECT as the service value. These IP address ranges differ between AWS Regions. For more information about downloading the JSON file and filtering by service, see AWS IP address ranges in the Amazon VPC User Guide.

profile pictureAWS
AmerO
답변함 5달 전
  • yes both have public ip's. I was able to ping then but cannot now either. The ssh inbound is open to anywhere (0.0.0.0/0) at the moment.

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

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

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

관련 콘텐츠