Serverless, AWS Lambda (Nodejs, Javascript), AWS SNS.
All services are independent, so you can spin up and test independently I use the Serverless framework so you can follow the included readme file on each service to run it
- Monitoring website performance by making GET requests every x of minute
- Publish the monitoring result into AWS SNS
- Consume the monitoring results as an event
- Save it into persistence storage (for simplicity now we use json file to save just the last result/visit)
- Show the result on HTTP GET request
- send email notification to the users if the webiste is down
This template does not include any kind of persistence (database). For more advanced examples, check out the serverless/examples repository which includes Typescript, Mongo, DynamoDB and other examples.