Unable to connect to EC2 instances

0

Earlier, when created EC2 instance I was able to connect thru SSH client (putty). After usage, I terminated EC2. Now after rebooting the instance unable to connect to the same EC2 Instance or any new instance. thru SSH getting 'Fatal Error: network connection timed out' Error.

Though if I try to connect thru web also getting below error.

'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 Set up EC2 Instance Connect at https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-connect-set-up.html.'

Instance ID: i-0cc32c73f789e65e7

I followed the steps given below too. 'https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-connect-prerequisites.html#eic-prereqs-amis' Kindly help if I am missing some thing.

  • If you are trying connect using the IP check if it was changed, or use the DNS name instead. then try to check the SG to allow SSH. then try to check the NACL to allow in the outbound and the inbound of SSH.

    If all failed you always have the option to use SSM.

질문됨 일 년 전275회 조회
1개 답변
0
수락된 답변

If you are trying connect using the IP check if it was changed, or use the DNS name instead. then try to check the SG to allow SSH. then try to check the NACL to allow in the outbound and the inbound of SSH.

If all failed you always have the option to use SSM.

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

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

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

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

관련 콘텐츠