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?

gefragt vor einem Jahr288 Aufrufe
2 Antworten
0

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

profile picture
EXPERTE
beantwortet vor einem Jahr
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
EXPERTE
kentrad
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen