Skip to content

Instantly share code, notes, and snippets.

View milangm89's full-sized avatar
🎯
Focusing

Milan George milangm89

🎯
Focusing
View GitHub Profile

Keybase proof

I hereby claim:

  • I am milangm89 on github.
  • I am milangm89 (https://keybase.io/milangm89) on keybase.
  • I have a public key whose fingerprint is FD81 48F8 3BA2 6244 1B84 3FC1 DAA4 C887 EAB9 853E

To claim this, I am signing this object:

@milangm89
milangm89 / lambdaAMIBackups.py
Created July 19, 2018 06:34 — forked from bkozora/lambdaAMIBackups.py
AWS Lambda AMI Backups
# Automated AMI Backups
#
# @author Robert Kozora <[email protected]>
#
# This script will search for all instances having a tag with "Backup" or "backup"
# on it. As soon as we have the instances list, we loop through each instance
# and create an AMI of it. Also, it will look for a "Retention" tag key which
# will be used as a retention policy number in days. If there is no tag with
# that name, it will use a 7 days default value for each AMI.
#