View a markdown version of this page

Troubleshooting failed status checks on your Lightsail instance - Amazon Lightsail

Troubleshooting failed status checks on your Lightsail instance

When a status check fails, your instance might be unreachable even though its state is Running. The steps to fix it depend on which check failed. A failed system status check means there is a problem with the AWS infrastructure that your instance runs on. A failed instance status check means there is a problem inside your instance. For more information about what each check monitors, see Viewing status checks for your Lightsail instance.

Finding which status check failed

To find which status check failed
  1. Sign in to the Lightsail console.

  2. In the left navigation pane, choose Instances.

  3. Choose the name of the instance that shows Status check failed. On the Instances page, each instance card shows the instance state, such as Running. When either status check has failed, the card also shows Status check failed below the instance state.

  4. On the instance management page, check whether System status check, Instance status check, or both show Failed.

If the system status check failed, start with Fixing a failed system status check, even if the instance status check also failed. A failed system status check can cause the instance status check to fail, so fixing it can fix both. If only the instance status check failed, see Fixing a failed instance status check.

Note

The instance status check can report a failure during a reboot, until the instance becomes available again. If a check fails right after you reboot or start your instance, wait a few minutes and check again before you take action.

To find when a check started to fail, view the Status check failures metrics on the Metrics tab of the instance management page. A recent change to the instance around that time, such as an update or a configuration change, can point to the cause.

Fixing a failed system status check

A failed system status check means there is a problem with the AWS infrastructure that your instance runs on. Wait for AWS to fix the issue, or fix it yourself by stopping and then starting the instance. Stopping and starting the instance moves it to a new host in most cases.

On the instance management page of an instance with a failed system status check, Instance state shows Running, System status check shows Failed, and Instance status check shows Passed. When you choose the Tips icon next to System status check, the System status checks popover explains that the check monitors the AWS infrastructure that your instance runs on, and links to this topic with How to fix status check failures.

Note

Rebooting your instance does not move it to a new host, so a reboot does not fix a failed system status check. You must stop the instance and then start it.

Important

When you stop and start an instance, its public IP address changes unless you've attached a static IP address to it. Update any DNS records or applications that use the old public IP address. For more information about static IP addresses, see Create and attach a static IP to your Lightsail instance.

To stop and start the instance
  1. Sign in to the Lightsail console.

  2. In the left navigation pane, choose Instances.

  3. Choose the name of the instance that has the failed check.

  4. Choose Stop, and wait until the instance state is Stopped.

  5. Choose Start.

  6. After the instance is running, wait a few minutes for the status checks to complete, and then confirm that System status check shows Passed.

If the instance status check still shows Failed after the system status check passes, see Fixing a failed instance status check.

Fixing a failed instance status check

A failed instance status check means there is a problem inside your instance that you need to fix. Common causes include the following:

  • Incorrect networking or startup configuration

  • Exhausted memory

  • A corrupted file system

  • An incompatible kernel

On the instance management page of an instance with a failed instance status check, Instance state shows Running, System status check shows Passed, and Instance status check shows Failed. When you choose the Tips icon next to Instance status check, the Instance status checks popover explains that the check monitors the software and network configuration inside your instance, and links to this topic with How to fix status check failures.

To find and fix the cause of a failed instance status check
  1. If the system status check has also failed, fix it first. For more information, see Fixing a failed system status check.

  2. Reboot the instance. In the Lightsail console, choose the instance, and then choose Reboot.

  3. After the instance is running, wait a few minutes for the status checks to complete.

  4. If the check still fails, connect to your instance. For more information, see Connect to Linux or Unix instances on Lightsail or Connect to your Lightsail Windows instance using RDP. If you can't connect, see Troubleshooting instance connection issues.

  5. Check whether the instance is running out of memory, and review the system logs and any recent changes to the network or startup configuration. Fix the cause that you find, and then reboot the instance.

When the problem is fixed, Instance status check shows Passed.

Troubleshooting instance connection issues

A failed instance status check can prevent you from connecting to your instance. If you can't connect after you reboot the instance, try the following:

Next steps

There are a few additional tasks that you can perform for your instance: