This is how I script my AWS Backup, creating snapshots of EC2 instances, and cleaning them up 3 days later.
Code on BitBucket
https://bitbucket.org/tomstechshow/aw...
How to support my channel
1 - Like videos
2 - Subscribe to my channel
3 - https://www.tomstechshow.com/contribute
4 - follow me on / toms_tech_show
5 - Check out the Facebook page https://fb.me/tomstechshow