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
已提问 1 年前220 查看次数
1 回答
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
专家
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则