Skip to content

Latest commit

 

History

History
41 lines (24 loc) · 1.22 KB

README.md

File metadata and controls

41 lines (24 loc) · 1.22 KB

serverless-healthcheck

Simple health checker lambda with ClojureScript, shadow-cljs and Serverless Framework. Can alert via email or SMS using AWS Simple Notification Service.

Screenshot of alert SMS message

Prerequisites

On a Mac you can install node easily with Homebrew.

$ brew install node

Install dependencies

$ npm install

Deploy

$ npm run deploy

Configuration

See serverless.yml for configuration options.

SES email setup

You need to verify sender and recipient email addresses in order to send email through SES. If you want to send emails to non-verified recipients you need to move out of the sandbox.

SES setup is not required if sms delivery method is used instead of email.

Set invoke schedule

See AWS Lambda docs on cron and rate syntax and edit trigger in serverless.yml accordingly.