Can't connect to Lightsail SSH UPSTREAM ERROR 515

0

Hi, I uploaded an app that took my Lightsail instance into the boostable zone at 40% (normally 0.75%, sustainable limit ~10%) for a moment until I deleted the app. Now I'm getting the UPSTREAM ERROR 515 when I try to SSH into my instance. It has been this way for ~24 hours. The instance is still running and my other apps/websites (DNS etc.) are still running.

I have no attached storage or snapshots. If I take a snapshot now, will this error persist into a new instance based on that snapshot?

chris
已提問 2 年前檢視次數 722 次
2 個答案
1

Hello,
Thank you for using Lightsail.

The error code 515 tells us the instance is unreachable from our SSH service. It sounds like you've checked that your instance is within burst capacity. Did you make any changes to the open ports on your instance? Port 22 must be open to allow SSH connections.

There are additional suggestions in this archived forum post

If the issue is with the SSH key installed on the instance, creating a new instance from snapshot could resolve your connection issue.

Regards, Gabriel

AWS
管理員
已回答 2 年前
0

Hi there!

I have found out the article that might help you with troubleshooting 515 error on Lightsail:

https://aws.amazon.com/premiumsupport/knowledge-center/lightsail-resolve-ssh-console-errors/

There are many reasons that may result in 515 error, so you can try to get more details regarding that:

  • 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.
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南