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
demandé il y a un an214 vues
1 réponse
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
EXPERT
répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions