Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in AWS by (12.9k points)
edited by

I'd expect this to be fairly routine, but cannot find a simple approach for creating an managing EBS snapshots automatically.

Was hoping there'd be a scheduler in the AWS console.. alas not yet.

Would appreciate any suggestions as to how best to do this on from Ubuntu.

Thanks

1 Answer

0 votes
by (18.2k points)

You can script something to implement what you are trying to achieve and call this script whenever you need to.

Try the following steps:

1. Setup your EC2 command line API tools

2. To use API tools, set up EC2_CERT and also the EC2_PRIVATE_KEY 

3. Parse the result of ec2-describe-snapshots

4. Delete the snapshots of your choice using the following command:

ec2-delete-snapshot snap-xxxxxxxx

Related questions

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

0 votes
1 answer
0 votes
1 answer

Browse Categories

...