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

已提问 10 个月前258 查看次数
1 回答
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
专家
已回答 10 个月前
  • 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.

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

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

回答问题的准则