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달 전260회 조회
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.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠