Samuel Than

Tech Brain D̶u̶m̶p̶ Upload

Finding Orphaned AWS snapshots or volumes

01 May 2018

Sometimes there is no straightforward way to find out which AWS snapshot belongs to which instance, especially if it’s not managed properly for a long time. Often, and instance may have been deleted but the snapshots got forgotten. Especially the ones that are created manually.

Goal: Create an excel/csv list of AWS snapshots and linked it to it’s AWS instance and Volume of origin

I’ve taken the liberty of putting together a few PowerShell to make this happen, some of this are modification from other contributors

  • ListProdEC2.ps1
  • ListProdEC2Snapshots.ps1
  • ListProdEC2Volumes.ps1
  • ListProdEC2InstancesDetails.ps1

Available reference at Github