EC2 instance suddenly stopped working.

0

Last week, one of my EC2 instances suddenly became unresponsive without any prior changes on my end. Despite trying various troubleshooting steps, such as allowing ports and checking network settings, I couldn't pinpoint the issue. When attempting to SSH into the instance, I encountered the error message: "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." It's important to note that I haven't made any alterations that could have caused this failure. If anyone has insights or potential solutions, I'd greatly appreciate the assistance.

Ansh
preguntada hace 2 meses166 visualizaciones
1 Respuesta
0

Hello.

What is the CPU and memory load on the EC2 instance?
Also, what instance type are you using?
Did you check the EC2 system log and did any other errors occur?
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/troubleshoot-unreachable-instance.html#instance-console-console-output

profile picture
EXPERTO
respondido hace 2 meses
profile pictureAWS
EXPERTO
revisado hace 2 meses
  • Hi, I am using t2.medium type instance and CPU utilization and Disk usage both are almost 1.5% only , also checked the system logs it shows me login: in the end but i can see some errors before that like "OSError: [Errno 21] Is a directory: '/var/lib/cloud/instance' Failed to start Initial cloud-init job (metadata service crawler)."

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