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?

posta un anno fa288 visualizzazioni
2 Risposte
0

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

profile picture
ESPERTO
con risposta un anno fa
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
ESPERTO
kentrad
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande