Monitor your website and get alerted of outages.
This application will continually check your website and send you an email when it detects a problem. Optionally, configure it to send a message to an SNS Topic which you can then use a Lambda Function to perform other notifications (e.g send a messag to a Slack room; page your oncall).
- Navigate to aws-serverless-website-canary on the Serverless Applications Repository and click Deploy
- Specify parameters:
AlarmNotificationEmail
- Optional. Must specify either this orAlarmNotificationTopic
. If you want to be notified via email, simply enter your email address here.AlarmNotificationTopic
- Optional. Must specify either this orAlarmNotificationEmail
. If you want to be notified via some other means, specify an SNS Topic ARN and set up a Lambda Function with your notification logic.PuppeteerTestSchedule
- How frequently to run tests. Defaults to every minute. See documentation for valid expressionsWaitForSelector
- Specify a DOM/CSS selector to wait for before the website is considered to be healthy. If the website loads dynamic data, it's a good idea to specify a DOM element that loads as a result of that data being successfully loaded.WebsiteUrl
- The URL of the website you wish to monitor.
- Click Deploy and wait for Creation to complete.
- Optional Navigate to the Lambda Console's Application view to see metrics.
npm run setup
ALARM_NOTIFICATION_EMAIL=your.email@example.com STACK_NAME=aws-website-canary npm run package-deploy