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년 전554회 조회
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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠