AWS console indicates instance is all OK, but cannot connect

0

SSH to instance is timing out, even connect via the Console is timing out, This started after the outage in US-East today

질문됨 일 년 전209회 조회
1개 답변
0

Hello,

There are a number of possibilities that can cause SSH time out issues but I will try to narrow down to the most likely cause based on your information provided.

It sounds like this instance was accessible at some point before the outage you are referring to so unless security groups, network access control lists, and ENIs have not been reconfigured, most AWS-level traffic issues should be ruled out. What is likely happening is that if there was an outage and your instance was restarted, a local OS-level firewall might have been refreshed and could now be blocking your connections. I would recommend checking reference number 3 below for a method to get around this using user-data if this is indeed the case.

Given all system and instance status checks are not failing, sometimes looking at your instance resources via CloudWatch can give you an idea if CPU, networking, or EBS utilization might be playing a part in the issue as well in the sense that they could be over-utilized and not providing enough resources to complete the SSH request. I would recommend checking all of these metrics against your instance and EBS volume's limits.

[1] SSH Troubleshooting - https://aws.amazon.com/premiumsupport/knowledge-center/ec2-linux-ssh-troubleshooting/

[2] Troubleshoot EC2 Timeout - https://aws.amazon.com/premiumsupport/knowledge-center/instance-vpc-troubleshoot/

[3] Resolve "Connection Refused" or "Connection Timed Out" Errors - https://aws.amazon.com/premiumsupport/knowledge-center/ec2-linux-resolve-ssh-connection-errors/

profile pictureAWS
답변함 일 년 전

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

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

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

관련 콘텐츠