EC2 Instance Goes Offline After Running Script but AWS UI shows that everything is OK

-1

Hi all,

I have a t3small instance with Apache2, Mysql, Php 8.2, Docker. After trying to install a package (Pimcore) using Composer it went offline. No response on any port.

I tried:

  • Rebooting
  • Completely stopping and launching instance
  • Changing instance type to one with more memory

What I see:

  • Amazon EC2 UI shows status "Running" and 2/2 status checks completed.
  • System log doesn't show anything unusual, no process kills (Memory: 1968412K/2057760K available)
  • There were no changes in the security group rules associated with the instance

I can't use serial console because I didn't create a password for any OS user and used to connect via SSH.

What do I do?

Aleks
posta un anno fa220 visualizzazioni
1 Risposta
0

Have you been ssh’ing to the public IP address of the instance?

If so, stop and start will assign it a new IP address. Can you check this first.

After that have you tried connecting via SSM?

profile picture
ESPERTO
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