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 年前檢視次數 531 次
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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南