- Newest
- Most votes
- Most comments
It sounds like you're encountering some complex and persistent issues with your Amazon Lightsail instance. Even though it's challenging to diagnose the exact problem without accessing your AWS Account, I can suggest a few more avenues to explore.
-
Disk Space: Make sure you're not running out of disk space. Although you've mentioned that there are no server overloads, sometimes, running out of disk space might not be reflected in CPU usage or server load metrics.
-
Server Logs: Check the server logs for any abnormal behavior or error messages. If you can SSH into your server, you can check logs such as
/var/log/syslog
(system logs) or/var/log/auth.log
(authentication logs). The error messages in these logs might give you a clue as to what is going wrong. -
AWS Service Health Dashboard: Visit the AWS Service Health Dashboard to check if there are any ongoing issues in the AWS region where your Lightsail instance is hosted.
-
Network Issues: Check for network connectivity issues, specifically if your instance is unreachable, but its CPU usage is normal. These issues might arise from either AWS side or your own network. AWS provides tools like VPC Flow Logs to monitor network traffic.
-
Reach out to AWS Support: If your instance and all snapshots are showing the same symptoms and you've verified that there is no issue with your server setup or AWS services, it would be advisable to reach out to AWS Support. They have deeper visibility into the infrastructure and may be able to diagnose what's happening.
-
Other Wordpress and CentOS Checks: Ensure the WordPress and CentOS software are up-to-date and have the necessary permissions and configurations. Also, check the status of the Apache or Nginx and MySQL services. Make sure your firewall settings are correct and are not blocking necessary ports (like 22 for SSH).
The message "UPSTREAM_NOT_FOUND [519]" usually indicates a problem with the upstream server, which could mean a network issue, server issue, or even a problem with the service provider. All these checks should ideally help you pinpoint where the problem lies.
If the answer is helpful, please click "Accept Answer" and upvote it.
Finally Figured out the issue, by creating another instance & was trying to replicate my issue that is: "ssh: connect to host x.x.x.x port 22: Operation timed out". on my lightsail instance.
Why I am unable to connect to the instance via SSH is that I did turn on the UFW in my ubuntu instance by typing sudo ufw enable
, that is the main mistake I made, after doing this when I tried to connect my instance again via same steps, I was unable to connect.
The solution is, whenever we turn on the ufw, we must allow ufw with port 22, by running the command sudo ufw allow 22
Relevant content
- asked a year ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 15 days ago
- AWS OFFICIALUpdated 7 months ago
Very very helpful. Thank you.
I have checked that ram usage is %88-89. May be, it is time to upgrade the server.
I will check everything you mentioned and write an update about the problem.