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?

已提问 2 年前551 查看次数
4 回答
0
已接受的回答

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.

已回答 2 年前
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
专家
已回答 2 年前
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?

已回答 2 年前
0

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

AWS
Yuxiang
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则