How to clean orphaned ec2 snapshots

The simple script for deleting EBS snapshots without linked AMI

  1. Link to my GitHub with script source
  2. Configure aws credentials on machine which will run the script OR you can use AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY for establishing the session
  3. Enjoy

P.S. I hope you have the python3 onboard with boto3 package installed (pip install boto3). Anyway you can leave all your questions in comments. cya


AskDevops —>

Добавить комментарий

Ваш e-mail не будет опубликован. Обязательные поля помечены *