henry_aker

AWS - Website Monitor

Simple, near-zero-cost website monitoring which sends email alerts when a website outage is detected or resolved.

This monitor runs a Lambda Python function using an HTTP request to check if the website is online. Lambda is triggered by EventBridge, which I configured to trigger every 5 minutes. When an outage is detected, it pushes a message to an SNS topic. It monitors multiple sites & their online status by querying a DynamoDB table.

Required Resources in AWS

Lambda Function

Lambda is the core of this tool and runs our Python script which checks the online status of websites and generates the alert message to be sent out by SNS. One environment variable needs to be configured so Lambda knows where the look for the website information: