a serverless monitoring and alerting service built by Kira Hammond
Amazon recently announced AWS Solutions, a central catalog of well-designed, well-documented, CloudFormation templates that solve common problems, or create standard solution frameworks. My tweet about this announcement garnered more interest than I expected.
One common request was to have a way to be alerted when Amazon publishes new AWS Solutions to this catalog. Kira Hammond (yes relation) has used AWS to built and launched a public service that fills this need.
Kira’s “AWS Solutions Update Feed” monitors the AWS Solutions catalog and posts a message to an SNS topic whenever new solutions are added. The SNS topic is public, so anybody in the world can subscribe to receive these alerts through email, AWS Lambda, or SQS.
Here’s an architecture diagram showing how Kira constructed this monitoring and alerting service using serverless technologies on AWS:
The basic operation of the service includes:
A scheduled trigger from a CloudWatch Event Rule runs an AWS Lambda function every N hours.
The AWS Lambda function, written in Python, makes an HTTPS request to the AWS Solutions catalog to download the current list of solutions.
The function retrieves the last known list of solutions from an S3 bucket.
The function compares the previous list with the current list, generating a list of any new AWS Solutions.
If there are any new solutions, a message is posted to a public SNS topic, sending the message to all subscribers.
The current list of solutions is saved to S3 for comparison in the future runs.
If you want to receive alerts when Amazon adds entries to the AWS Solutions catalog, you can subscribe to this public SNS topic: