Skip to content

Simple health checker lambda with ClojureScript, shadow-cljs and Serverless Framework

Notifications You must be signed in to change notification settings

vharmain/serverless-healthcheck

Repository files navigation

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.

About

Simple health checker lambda with ClojureScript, shadow-cljs and Serverless Framework

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published