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!
preguntada hace 2 años252 visualizaciones
1 Respuesta
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
INGENIERO DE SOPORTE
Lundi
respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas