EC2 instance suddenly stopped working.

0

Last week, one of my EC2 instances suddenly became unresponsive without any prior changes on my end. Despite trying various troubleshooting steps, such as allowing ports and checking network settings, I couldn't pinpoint the issue. When attempting to SSH into the instance, I encountered the error message: "Failed to connect to your instance. EC2 Instance Connect is unable to connect to your instance. Ensure your instance network settings are configured correctly for EC2 Instance Connect." It's important to note that I haven't made any alterations that could have caused this failure. If anyone has insights or potential solutions, I'd greatly appreciate the assistance.

Ansh
posta 2 mesi fa166 visualizzazioni
1 Risposta
0

Hello.

What is the CPU and memory load on the EC2 instance?
Also, what instance type are you using?
Did you check the EC2 system log and did any other errors occur?
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/troubleshoot-unreachable-instance.html#instance-console-console-output

profile picture
ESPERTO
con risposta 2 mesi fa
profile pictureAWS
ESPERTO
verificato 2 mesi fa
  • Hi, I am using t2.medium type instance and CPU utilization and Disk usage both are almost 1.5% only , also checked the system logs it shows me login: in the end but i can see some errors before that like "OSError: [Errno 21] Is a directory: '/var/lib/cloud/instance' Failed to start Initial cloud-init job (metadata service crawler)."

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