cannot detach volumes

0

I have 2 volumes, not attached to any instance, neither of which I can delete. detach, force detach do nothing. I have no instances of any type, am closing down my aws setup as it is no longer required. apart from these 2 resources, everything else has been released/terminated.

vol-321dc85b vol-7a8d5913

both in eu-west-1a

질문됨 2년 전860회 조회
2개 답변
0

The status on both volumes is "in use" except there are no attached instances displayed. I have no snapshots or machine images. I have no instances either for that matter. Baffled as to why it claims in use yet attached to nothing. All I have now is these two volumes.

답변함 2년 전
  • does the command aws ec2 describe-volumes --volume-id <volume-id> show an instanceId under the attachments section? If nothing is shown, the status on the console might be inaccurate. If that's the case, I would recommend opening a support case with the Account and billing team, as your main objective is to close down the account.

    Sign in to the AWS Management Console at https://console.aws.amazon.com/

    In the upper-right corner, choose Support, and then choose Support Center.

    Choose Create case.

    Choose Account and billing support

0

Hello! I would recommend taking a look at the column "Volume State" shown in the Volumes console :

https://console.aws.amazon.com/ec2/v2/home?region=eu-west-1a#VolumeDetails:volumeId=vol-321dc85b

In order for the volume to be deleted, the Volume State must be "Available". If you notice that the current state is "Available" and still can't delete it, ensure that your account has the IAM permission ec2:DeleteVolume, which you can read more on this link https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DeleteVolume.html

If you use the AWS command line interface (CLI), you can attempt to delete the volume via the CLI and take note of the output message you receive, which will be helpful to troubleshoot. For example:

aws ec2 delete-volume --volume-id <volume id>

For more information on how to use the CLI, please visit https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html

Sometimes, volumes are associated to an Amazon Machine Image (AMI) or to a snapshot. Please check if you have an AMI taken as a backup from any instance, and also if you have any snapshots taken.

To view the snapshots, go to https://console.aws.amazon.com/ec2/v2/home?region=eu-west-1a#Snapshots:

To view Amazon Machine Images, go to https://console.aws.amazon.com/ec2/v2/home?region=eu-west-1a#Images:visibility=owned-by-me

I hope the information above was helpful. Please let me know if you have any additional questions.

AWS
지원 엔지니어
답변함 2년 전

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

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

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

관련 콘텐츠