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?

asked 10 months ago235 views
2 Answers
0

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

profile picture
EXPERT
answered 10 months ago
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
answered 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions