Viewing status checks for your Lightsail instance
Amazon Lightsail runs status checks on your instance to detect problems that can prevent it from running your applications. You can see the current result of these checks on the instance management page, with Instance state. When a check fails, the check that failed tells you where the problem is. The problem can be with the AWS infrastructure that your instance runs on, or with the software and configuration inside your instance.
Status checks are different from the instance state. The instance state shows where the instance is in its lifecycle, such as running, stopped, or pending. Status checks show whether a running instance is reachable. An instance can be in the running state even if one of its status checks has failed.
Topics
Types of status checks
Each status check is a reachability check that runs automatically every minute as long as your instance is running. You don't need to turn the checks on, and you can't turn them off.
Lightsail reports the following two status checks for each instance:
-
System status check – Monitors the AWS infrastructure that your instance runs on. A failure means there is a problem with the underlying host that needs AWS involvement to repair. Examples include a loss of network connectivity, a loss of system power, or a hardware or software issue on the physical host.
-
Instance status check – Monitors the software and network configuration inside your instance. A failure means there is a problem that you need to fix from within the instance. Examples include incorrect networking or startup configuration, exhausted memory, a corrupted file system, or an incompatible kernel. A failed system status check can also cause the instance status check to fail.
Status check results
Each status check shows one of the following results:
-
Passed – The check is passing. The instance is reachable and operating normally. The console shows this result with a success icon.
-
Failed – The check has failed. The instance has a problem that needs attention. The console shows this result with an error icon. For the steps to take, see Troubleshooting failed status checks on your Lightsail instance.
-
Initializing – The instance was recently started or restarted, and the check is still in progress. This typically resolves within a few minutes. The console shows this result with a warning icon.
-
Insufficient data – There is not yet enough data to determine the result. This can occur briefly after the instance starts. The console shows this result with a warning icon.
-
Not applicable – The check does not apply to the instance at this time. The console shows this result with a stopped icon.
Viewing status checks using the Lightsail console
View the status checks when your instance or its applications are unreachable, to find out whether the problem is with the AWS infrastructure or with your instance. Before you begin, you need a running instance.
To view status checks for an instance
-
Sign in to the Lightsail console
. -
In the left navigation pane, choose Instances.
-
Choose the name of the instance for which you want to view status checks.
-
On the instance management page, find System status check and Instance status check, which appear with Instance state.
-
(Optional) To see what a check monitors, choose the Tips icon next to it. To open the steps for fixing a failed check, choose How to fix status check failures in the popover.
On the Instances page, the card for each instance shows Status check failed with the instance state when either status check has failed. The card does not show anything extra when both checks are passing.
Viewing status check history and getting notified
The status checks on the instance management page show only the current result. To see how the results changed over time, use the Status check failures, Instance status check failures, and System status check failures metrics on the Metrics tab of the instance management page. For more information about these metrics, see Monitor Lightsail instance performance with metrics.
To be notified when a status check fails, create an alarm on one of these metrics. For more information, see Configuring status check alarms for your Lightsail instance.
Next steps
For more information about status checks, see the following resources:
-
If a status check has failed, see Troubleshooting failed status checks on your Lightsail instance.
-
To learn how status checks work on the underlying Amazon EC2 instance, see Status checks for Amazon EC2 instances in the Amazon EC2 documentation.
-
To get status checks programmatically, set
includeHealthStatustotruewhen you call GetInstance or GetInstances. For the response fields, see the Lightsail API Reference.