In this Lab we will:
You completed this lab if you:
Why is this important?
When using serverless components from AWS you leave big part of the heavy lifting to Amazon. This gives you the advantage of not having to worry about monitoring your servers anymore.
Despite that, there are still things that could go wrong:
With Cloudwatch Alarms it is fairly easy to create alarms alongside your function definition. These alarms utilize Cloudwatch metrics to decide if they have to trigger. The metrics can be used in two different ways:
Errors / Invocationsto alert based on error rate.
Steps to take in this lab:
time.Sleep()or let it error on certain inputs)