Skip to content
Notification of absence of an object in a defined timeframe on AWS S3
Branch: master
Clone or download
Latest commit 3a50b60 May 28, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore rewrite May 5, 2019
Makefile update May 6, 2019
README.md Update README.md May 28, 2019
handlers.py update May 6, 2019
requirements.txt requierements file and preparing for lambda Dec 23, 2018
sam.yml rewrite May 5, 2019
setup.cfg make it happen Apr 27, 2019

README.md

s3-nobackup-notifier

Alfred Backup Notifier intends to check the last object date in AWS S3 bucket, and if it's older than today, send alerting email via AWS Simple Email Service (SES).

I'm using this to monitor the effective backup of my home automation system and be alerted on any backup issue.

Technical details

  • Uses AWS Lambda function (Python)
  • Rely on AWS Lambda layer for boto3 and botocore
  • Scheduled Lambda (daily) with CloudWatch Events
  • Uses AWS Simple Email Service (SES) for Emails Notifications

Installation

Build

Build layer, and Lambda function package.

$ make layer
$ make package

Deploy

Deploy CloudFormation stack.

$ make deploy env=<your_env>

Cleaning

Remove unused folders and files after deploying the stack.

$ make cleaning
You can’t perform that action at this time.