Lightsail is down

0

Hi, i create a new instance of Lightsail and i run my project on it. After 10 minutes is not reachable by IP and also by ssh. I receive a timeout error. What can be? CPU usage is under 20%

質問済み 9ヶ月前184ビュー
2回答
0
承認された回答

Hello.
Since it is a timeout error, a possible cause is that SSH is not allowed in Lightsail's firewall or is prevented by the OS firewall.
Is SSH allowed on the Lightsail firewall?
https://lightsail.aws.amazon.com/ls/docs/en_us/articles/understanding-firewall-and-port-mappings-in-amazon-lightsail

Another possible cause is that the SSH process on Lightsail has stopped for some reason.
In that case, running the following script in the startup script when restoring from a Lightsail snapshot may fix the problem.
https://repost.aws/knowledge-center/lightsail-resolve-ssh-console-errors

sudo ufw disable
sudo iptables -F
sudo mv /etc/hosts.deny /etc/hosts.deny_backup
sudo touch /etc/hosts.deny
sudo systemctl enable sshd
sudo systemctl restart sshd
profile picture
エキスパート
回答済み 9ヶ月前
profile pictureAWS
エキスパート
レビュー済み 9ヶ月前
0

Ensure that your Lightsail instance has the appropriate firewall rules configured to allow incoming SSH (port 22) and any other necessary traffic. Access the Lightsail console and check the system logs for any error messages or issues that might be causing the instance to become unresponsive. Look for any messages related to resource exhaustion or other system problems. Even though the CPU usage is under 20%, check the memory (RAM) usage and disk I/O as well. High memory or disk I/O usage could lead to unresponsiveness. Monitor the server's resources using tools like htop or top if you have access.

Waseem
回答済み 9ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ