Improve my Backup deletion script in AWS EC2 (AMI and Snapshots)

I have two existing bash scripts using AWS CLI that delete all snapshots and AMIs that are older than 14 days. It stopped working :(

Please use AMAZON EC2 CLI API [login to view URL] or Python SDK [login to view URL]

You MUST be testing with your own keys (Amazon has Free Tier).

You MUST send me a screencast of correctly running script or I will not test on my side (and my credentials).

I can provide broken scripts upon request if needed.


Skills: Python, Amazon Web Services, Bash Scripting

See more: aws ec2 instance console login, aws ec2 snapshot, aws snapshot vs backup, aws snapshot retention policy, aws delete unused snapshots, snapshot lifecycle policy, aws ec2 backup, aws delete snapshots older than 30 days, ec2 ami, ec2 ami setup, creating ec2 ami windows server, vmdk ec2 ami, vmdk ec2 ami conversion, backup database script, ec2 ami svn free, ec2 ami subversion, vmware ec2 ami, modify windows ec2 ami, bugzilla backup database script, switch backup config script

About the Employer:
( 195 reviews ) San Francisco, United States

Project ID: #20765232

Awarded to:


Hello, We've good experience in Python/Django/Flask. Some of our work can be seen here. [login to view URL] Also we’ve good experience in AWS [login to view URL]’ve created a setup for one of our m More

$25 USD in 7 days
(1 Review)

4 freelancers are bidding on average $25 for this job


Hello, I have read your project REQUIREMENT and UNDERSTOOD IT COMPLETELY. We deal with the ALL TYPE OF SERVER RELATED ISSUE as we have expert team for this. We will be able to do but we need proper details regarding y More

$20 USD in 7 days
(58 Reviews)

Hi. Here it is. $AWSAccount = "YOURS: 1234567890" $KeepSnapshotDays = 14 if ($[login to view URL] -gt 0) { ForEach ($Arg in $Args) { if ($Arg -eq "-Force") { $Force = $true } } } $AllSnapshots = Get-EC2Snapshot -OwnerId $AWSA More

$25 USD in 1 day
(0 Reviews)

AWS Certified Solution Architect Associate with 4+ years of experience specialising in AWS Cloud Infrastructure Automation, DevOps Tools Configuration Management, CI/CD using Jenkins, Linux Shell Scripting, Ansible, D More

$30 USD in 2 days
(1 Review)