Setting up a Route53 health check
We defined serverless applications as highly available applications because-within the SLA- there are always some servers that are available for your functions and they are even scaling up and down according to the capacity you need. On the other hand, it is always good idea to set up a automized health checks, so you can always monitor the health of your application and also you can monitor the latency, so you can make sure that all your endpoints are working properly.
Starting off with the setup
In this section, we will first see how to set up a health check for one of our endpoints with latency graphs. First, we will do this using AWS Console; then we will write a CloudFormation block to produce the same thing.
Let's start our set up by navigating to Route53 AWS Console and clicking Health Checks
link on the left. It will takes us to a list where all health checks can be seen, which is empty in our case.
You can click the Create Health Check
button to open...