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%

preguntada hace 9 meses184 visualizaciones
2 Respuestas
0
Respuesta aceptada

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
EXPERTO
respondido hace 9 meses
profile pictureAWS
EXPERTO
revisado hace 9 meses
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
respondido hace 9 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas