Delete orphaned snapshots

0

I have been reading some posts on the internet about how to delete orphaned snapshots. It seems that orphaned snapshots are snapshots that they are not linked to any AWS resource.

If I want to delete these snapshots, the procedure would be:

  1. Get the list of snapshots not linked to any volume
  2. Get the list of snapshots not linked to any AMI
  3. Delete the volumes that are on both lists (not linked to a volume nor to an AMI)

Is this correct? It seems that in the internet they don't mention the 3rd step, and seem to suggest that you should delete first the snapshots not linked to any volume, and then the ones not linked to any AMI.

1개 답변
-1

Hi,

Please, follow this blog post; https://www.lightlytics.com/post/hands-on-guide-how-to-find-and-remove-orphaned-ebs-snapshots

It contains all details that you need to do it: very complete and detailled with hands-on explanations.

Best

Didier

profile pictureAWS
전문가
답변함 8달 전
  • Hi Didier,

    I had already seen the mentioned blog post. It defines orphaned snapshots as unreferenced snapshots, and it does not explain how to find and delete them (just how to find generic snapshots and delete them). I suppose they want you to buy the tool they are promoting in the article.

    I have found several blog posts that all say more or less the same. An example is the following: https://medium.com/@NickHystax/reduce-your-aws-bill-by-cleaning-orphaned-and-unused-disk-snapshots-c3142d6ab84. If the solution to deleting orphaned snapshots does not involve differentiating between AMI and volume snapshots then okay, but I would like to know why, and how to detect and delete them.

    Thanks in advance,

    Gabriel

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

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

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

관련 콘텐츠