Skip to content

why my lightsail instance was stopped without any notice?

1

I setup a wordpress site, I just realise that my websites was shut down, at first I thought it was the domain that had expired but not the domain is fine then checked on semrush and notice I lost all of my traffic

Enter image description here

why my instance was stop without any notice ?

I'm only using 4GB still have 15GB, just why stopped my instance? Enter image description here

so frustrating, I've been charged for nothing

is there anything that I can do to avoid this situation?

asked 3 years ago746 views

1 Answer
0

Greeting

Hi re:Post User!

Thanks for reaching out with your question! I understand how frustrating it is to have your Lightsail instance stop unexpectedly, especially when you’re actively monitoring your domain and disk usage. Let’s explore the potential reasons for this issue and find ways to prevent it in the future.


Clarifying the Issue

From what you’ve shared, your WordPress site went offline, and you initially suspected a domain issue. However, your domain seems fine, and your disk usage is only at 22%, which rules out storage overuse. It’s frustrating because you’re being charged for the instance without it being functional, and there was no notice from AWS. Let’s dive into why this could happen and how you can avoid similar situations moving forward.


Why This Matters

Unexpected instance downtime can lead to website unavailability, resulting in lost traffic, reduced user trust, and potential financial loss. Understanding the root cause and implementing safeguards ensures your WordPress site stays online reliably.


Key Terms

  • Amazon Lightsail: A simple virtual private server (VPS) offering from AWS.
  • Instance Health Check: An automatic process that AWS uses to monitor the health of an instance.
  • Billing Status: A status indicator for unpaid charges or resource-related actions.

The Solution (Our Recipe)

Steps at a Glance:

  1. Check billing status and pending payments.
  2. Review AWS notifications for instance-related alerts.
  3. Investigate instance health and logs.
  4. Set up monitoring and backups.

Step-by-Step Guide:

  1. Check Billing Status
    Log into your AWS account and navigate to the Billing Dashboard. Check for any unpaid invoices or issues with your payment method. Lightsail instances can stop if there’s an unpaid balance.
    aws lightsail get-instances
    This command lists all instances and their statuses.

  1. Review AWS Notifications
    Go to the Notifications section in the AWS Management Console. AWS sends alerts for instance-related issues, including stopping instances due to health or security concerns.

  1. Investigate Instance Health and Logs
    Access the Lightsail Console and check the status of your instance. Use the terminal to review logs for potential issues.
    Example to view system logs:
    sudo cat /var/log/syslog | tail -n 50
    Look for errors related to resource usage, application issues, or failed updates.

  1. Set Up Monitoring and Backups
    Enable Lightsail monitoring to get insights into CPU, memory, and disk usage. Regular snapshots provide a fallback plan in case of downtime.

    Enable monitoring:

    aws lightsail start-instance --instance-name "InstanceName"

    Replace InstanceName with your actual instance name.


Closing Thoughts

Preventing such issues involves proactive monitoring and keeping an eye on AWS notifications and billing. Here are some useful links:

Let me know if you need help with any of these steps! 😊


Cheers,

Aaron 😊

answered 2 years 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.