UPSTREAM_NOT_FOUND [519] and Ubuntu 20.04.5 LTS

0

Hi, I have a lightsail server with Ubuntu 20.04.5 LTS It works fine and i could entry via ssh browser and using a ssh client. I did a reboot of the server and since then i can't entry via ssh.

  • I tried to entry via ssh browser and using a ssh client in order to change /etc/ssh/sshd_config that apparently is the error, but i can't entry.
  • I tried to solve it by restoring the last 3 instances by creating a new instance, but i can't entry in any of them
  • I also saw that maybe i could move to ec2 but i see no option. Please i have data there that i need to get. How can i do I need help please
asked a year ago219 views
1 Answer
0

Hello,

Thanks for reaching out, I am happy to help. I understand that you are unable to connect to your Ubuntu 20.04.5 Lightsail server after a reboot.

As you may already know, this error is very generic and can be the result of many different issues within Ubuntu [1]. This general error simply indicates that there was an issue connecting over SSH to your Lightsail instance. As detailed, this could be the result of:

•     Instance boot failures, instance status check failures. or resource over-utilization on the instance.
•     An OS-level firewall is blocking SSH port access.
•     The default SSH port (22) is changed to a different one.
•     The SSH service is down.

If you have no access to this instance over SSH using any method at this point, you may attempt to use launch scripts [2] to run commands at server start to disable the firewall or modify SSH configuration during boot. For an example of this in action, see step 6 under "An OS-level firewall is blocking SSH port access" in this guide [1]. You may also see some of the other suggested actions in the same article for troubleshooting the SSH service.

If you are still unable to connect after troubleshooting, you should attempt to export to EC2 as you've suggested already [3] [4]. This must be done from your snapshots tab where there will be an option to "Export to Amazon EC2". Once exported, you can then use our EC2 documentation [5] to learn more about using this service to either continue production or recover your data.

If you're still unable to export to EC2 or encounter other problems, please let us know and include your steps taken and any errors faced. Thanks!

References:

  1. https://repost.aws/knowledge-center/lightsail-resolve-ssh-console-errors
  2. https://lightsail.aws.amazon.com/ls/docs/en_us/articles/lightsail-how-to-configure-server-additional-data-shell-script
  3. https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-exporting-snapshots-to-amazon-ec2
  4. https://repost.aws/knowledge-center/lightsail-export-linux-instance-ec2
  5. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/concepts.html
  6. https://repost.aws/knowledge-center/lightsail-export-linux-instance-ec2o
AWS
SUPPORT ENGINEER
answered a year ago

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