There is no way to access the Lightsail instance, such as ssh, http, etc be not accessible by any means "UPSTREAM_NOT_FOUND [519]"

0

I was using Lightsail to deploy a simple discord bot, but my discord bot policy changed, so I haven't maintained it for a while (about a year) I tried accessing the instance because I wanted to save the discord bot for the first time in a while, but all the methods failed. Below are the methods I tried.

  1. Access to webssh provided by Lightsail - Failed 여기에 이미지 설명 입력

  2. Take the most recent snapshot and create a new instance - Failed

  3. Access the IP directly from the browser - Failed

I tried these three methods, but I couldn't access them all As far as I'm concerned, the instance itself is not running.

I'd appreciate it if you could tell me how to solve it

asked 9 months ago253 views
1 Answer
0

Are ssh and http packets allowed in the Lightsail firewall?
Also, do you get any error messages when you access the site?
https://lightsail.aws.amazon.com/ls/docs/en_us/articles/understanding-firewall-and-port-mappings-in-amazon-lightsail

profile picture
EXPERT
answered 9 months ago
  • Network settings are set to allow all ports. Also, when accessing with a browser, you cannot access the IP itself I corrected the error picture in the question

  • Thanks for the reply. The following document provides general troubleshooting instructions when that error message occurs. https://repost.aws/knowledge-center/lightsail-resolve-ssh-console-errors
    Perhaps the SSH service is down. So, please set the following command in the launch script when restoring from a snapshot.

    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
    

    Please check the above document once for other troubleshooting methods.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions