skip to Main Content

I have a few APIs written in NodeJs using Express, Which are hosted on AWS EC2, What can I do to get an email whenever my APIs go down? Can I use any service of AWS like CloudWatch to send an Email when my API crashes?

2

Answers


  1. Consider using CloudWatch’s synthetic monitoring to:

    create canaries, configurable scripts that run on a schedule, to monitor your endpoints and APIs. Canaries follow the same routes and perform the same actions as a customer, which makes it possible for you to continually verify your customer experience even when you don’t have any customer traffic on your applications. By using canaries, you can discover issues before your customers do.

    You can monitor canary events with EventBridge and send custom notifications, including email.

    Login or Signup to reply.
  2. I’m just a beginner, but isn’t SNS the solution you would want for this situation?

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search