EC2 is running, but no connection.

0

Hello, I have deployed my service built with django to ec2 and am using it. On the console, the instance is running. However, the Instance status checks fails, and the ssh connection is not possible. Even if I try to use the connection service within aws, I can't connect with the error "There was a problem connecting to your instance". Network access, security groups are still in use, so I don't think there was a problem here. What can i do now?

  • I've tried everything like rebooting, shutting down, and restarting a little later!
1개 답변
0

Hello,

Thank you for your question, I understand that you currently unable to connect to your instance as it is failing status checks.

Please confirm whether it is failing:

Instance level checks = 1/2 this means that the issue is with OS level operations (AWS has no visibility)

System level checks = 2/2 this generally means that there is an issue with the underlying host hence (stop/start will be required)

To check why the instance is failing status checks you can use the console logs/instance screenshots, you can reference this link [1] for further troubleshooting:

To get console output

1. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/
2. In the left navigation pane, choose Instances, and select the instance.
3. Choose Actions, Monitor and troubleshoot, Get console logs.

To get screenshot

1. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/
2. In the left navigation pane, choose Instances, and select the instance.
3. Choose Actions, Monitor and troubleshoot, Get instance screenshot.

Once you have determined the cause for status check failure, you can reference this link [2] for common troubleshooting methods for 1/2 status checks.

Feel free to share console log and/or screenshot should you require further assistance with troubleshooting

[1] Troubleshoot an unreachable instance - https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-console.html

[2] Troubleshoot instances with failed status checks - https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstances.html

profile pictureAWS
지원 엔지니어
Lundi
답변함 2년 전

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

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

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

관련 콘텐츠