0 votes
1 view
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.6k 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

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...