EC2 instance crashes randomly and network interfaces seems broken

0

Hi, I configured an EC2 instance with following settings :

  • AMI : ami-082af980f9f5514f8
  • Platform : Linux/UNIX
  • Instance type : t3.micro (CPU credits : unlimited)
  • Storage : 50 Go EBS
  • Associated with an Elastic IP address
  • Associated to Security Group to restrict SSH access.

Configuration is pretty basic, no snapshot is scheduled. But I noticed random crashes not related to apps deployed on the instance. About once a day, I'm seeing a peak in CPU usage of almost 100%, which seems to be linked to an incoming network of the order of a few hundred kB. Then the instance status checks fail and can't be access anymore even with SSH... I created an alarm on status checks to automatically restart EC2 instance on failure, but sometimes it's not enough and I have to manually stop and start the instance.

I have to find a better solution and fix this issue in order to use my EC2 instance. Do you have any idea of the source of the problem please?

preguntada hace un año288 visualizaciones
2 Respuestas
0

Have you checked the system logs or something?
Is there anything else that might be using up storage space?

profile picture
EXPERTO
respondido hace un año
0

Do you have GuardDuty turned on? It might detect, via the VPC Flow Logs, if there is suspicious behavior causing this. GuardDuty has a Free Tier trial of 30 days.

profile pictureAWS
EXPERTO
kentrad
respondido hace un año

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