Search code examples
amazon-web-serviceshealth-monitoring

how to monitor a website's health using AWS


I have a quick question to ask. Suppose I have a website (the website itself is not necessarily hosted by AWS). If I want to check the health of the website for say, every 5 minutes, by making a simple get request to the root of the website. How do I achieve this by using AWS services? What services should I use? How should the work flow look like? Thank you very much!


Solution

  • Based on the comments.

    One way would be to use CloudWatch scheduled events to trigger lambda function every 5 minutes. Lambda will request your url and if the request fails it will notify you.

    For the notifications you could setup SNS with email subscriptions.