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?

demandé il y a un an288 vues
2 réponses
0

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

profile picture
EXPERT
répondu il y a un an
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
EXPERT
kentrad
répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions