Created
September 4, 2018 11:13
-
-
Save mamun67/79ee5a607b3f46255828a6fdfcd41dbb to your computer and use it in GitHub Desktop.
EC2 Troubleshooting Commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| To view the status of all instances, use the following command: | |
| aws ec2 describe-instance-status | |
| To get the status of all instances with a instance status of impaired: | |
| aws ec2 describe-instance-status --filters Name=instance-status.status,Values=impaired | |
| To get the status of a single instance, use the following command: | |
| aws ec2 describe-instance-status --instance-ids i-1234567890abcdef0 | |
| System Status Check | |
| The following are examples of problems that can cause system status checks to fail: | |
| Loss of network connectivity | |
| Loss of system power | |
| Software issues on the physical host | |
| Hardware issues on the physical host that impact network reachability | |
| Instance Status Check | |
| The following are examples of problems that can cause system status checks to fail: | |
| Loss of network connectivity | |
| Loss of system power | |
| Software issues on the physical host | |
| Hardware issues on the physical host that impact network reachability | |
| Instance Metrics | |
| https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/viewing_metrics_with_cloudwatch.html | |
| CloudWatch Monitoring Scripts | |
| https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/mon-scripts.html | |
| Ec2-Rescue | |
| https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Linux-Server-EC2Rescue.html | |
| TroubleShoot Link | |
| https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstances.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment