EC2 Instance stuck in Shutting-down

0

I have an instance that has been struck in Shutting-down for over 8 hours.

I have tried issuing aws ec2 stop-instances --instance-ids i-0860e9accdd3873fc --force

however its not helping

{ "StoppingInstances": [ { "CurrentState": { "Code": 32, "Name": "shutting-down" }, "InstanceId": "i-0860e9accdd3873fc", "PreviousState": { "Code": 32, "Name": "shutting-down" } } ] }

Part of the issue is that I have a disk that is attempting detachment form the instance but its struck :

aws ec2 detach-volume --volume-id vol-0acdc490f819ee592 --instance-id i-0860e9accdd3873fc --device xvdd

An error occurred (IncorrectInstanceState) when calling the DetachVolume operation: Unable to detach volume 'vol-0acdc490f819ee592' from instance 'i-0860e9accdd3873fc'. The instance is not in a state in which volumes can be detached.

TaleNYC
질문됨 9달 전210회 조회
2개 답변
0

Have you tried force stopping it?

profile picture
전문가
답변함 9달 전
0

Yes that's what aws ec2 stop-instances --instance-ids i-0860e9accdd3873fc --force does

TaleNYC
답변함 8달 전

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

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

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

관련 콘텐츠