- Newest
- Most votes
- Most comments
Hello,
To check the most recent state of your instance, choose the refresh icon in the Amazon EC2 console. Or, run the describe-instances command in the AWS Command Line Interface (AWS CLI), and please make sure that you’re using the most recent version of the AWS CLI. To check the recent state of your instance in the AWS CLI you can use the command 'aws ec2 describe-instances --instance-ids <instance-id> --output json'. You can then look at the State Code and Name in the JSON response to get the most recent state of your instance.
You may also be seeing the "Server.InternalError" message if your EBS volumes aren't attached to your instances correctly or if it is in an error state. The solutions for this can be found here: https://aws.amazon.com/premiumsupport/knowledge-center/ec2-client-internal-error/
If your instance is still showing as shutting down after following the above instructions, try either forcefully shutting it down via the Management Console or via the CLI with the command 'aws ec2 stop-instances --instance-ids <instance-id> --force'
You may also try creating an AMI of the stuck instance and try launching another EC2 with that AMI. Steps for these potential solutions are provided in this document: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesStopping.html
Relevant content
- asked 3 years ago
- asked 3 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago