Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions,
see Getting Started with Amazon Web Services in China
(PDF).
View status checks for Amazon EC2 instances
If your instance has a failed status check, you typically must
address the problem yourself (for example, by rebooting the
instance or by making instance configuration changes). To troubleshoot system or instance status check
failures yourself, see Troubleshoot Amazon EC2 Linux instances with failed status checks.
- Console
-
To view status checks
-
Open the Amazon EC2 console at
https://console.amazonaws.cn/ec2/.
-
In the navigation pane, choose
Instances.
-
On the Instances page, the
Status check column lists the
operational status of each instance.
-
To view the status of a specific instance, select the
instance, and then choose the Status and
alarms tab.
-
To review the CloudWatch metrics for status checks, on the
Status and alarms tab, expand
Metrics to see the graphs for the
following metrics:
-
Status check failed for
system
-
Status check failed for
instance
-
Status check failed for attached
EBS
For more information, see Status check metrics.
- Amazon CLI
-
To view status checks
Use the describe-instance-status command.
Example: Get the status of all running instances
aws ec2 describe-instance-status
Example: Get the status of all instances
aws ec2 describe-instance-status --include-all-instances
Example: Get the status of a single running instance
aws ec2 describe-instance-status --instance-ids i-1234567890abcdef0
Example: Get all instances with a status of impaired
aws ec2 describe-instance-status \
--filters Name=instance-status.status,Values=impaired
- PowerShell
-
To view status checks
Use the Get-EC2InstanceStatus command.
Example: Get the status of all running instances
Get-EC2InstanceStatus
Example: Get the status of all instances
Get-EC2InstanceStatus -IncludeAllInstance $true
Example: Get the status of a single running instance
Get-EC2InstanceStatus -InstanceId i-1234567890abcdef0
Example: Get all instances with a status of impaired
Get-EC2InstanceStatus \
-Filter @{Name="instance-status.status"; Values="impaired"}