EC2 instance failure, wont start

0

I got an email : "EC2 has detected degradation of the underlying hardware hosting your Amazon EC2 instance (instance-ID: i-0b0da3b7135256146) associated with your AWS account (AWS Account ID: ***********) in the us-gov-west-1 region. Due to this degradation your instance could already be unreachable. We will stop your instance after 2022-01-27."

I tried to stop it. Didn't work. I force stopped it. It finally stopped the next day.

I tried to start it per this : "We recommend that you stop and start the instance which will migrate the instance to a new host." Instance state remains "Stopped".

How can I get this instance running ASAP?

asked 2 years ago522 views
4 Answers
0
Accepted Answer

This is what I get :

$ aws ec2 start-instances --instance-ids i-0b0da3b7135256146

{ "StartingInstances": [ { "InstanceId": "i-0b0da3b7135256146", "CurrentState": { "Code": 16, "Name": "running" }, "PreviousState": { "Code": 16, "Name": "running" } } ] }

Instance state is till "Stopped" and I still cannot access.

answered 2 years ago
0

You should just be able to start the instance via the AWS Console or CLI, at which point, it should start again. If it fails to start via the Console, you may be able to see more useful diagnostic information by running the following command at the CLI:

aws ec2 start-instances --instance-ids <instance-id>
AWS
EXPERT
answered 2 years ago
0

The cli return is telling the truth, the console - not so much. I had to get out and back into the console to see it running.

a related question : I see where people stop and start their ec2 somewhat regularly. Does this practice somehow help with "underlying" problems?

answered 2 years ago
0

What about taking a snapshot from the EBS and start a new instance with this snapshot?

AWS
Yuxiang
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions