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 年前檢視次數 217 次
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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南