Summary

In this chapter, we covered general best practices when deploying serverless applications and error tracking. We looked at examples of how to integrate Rollbar and Sentry, two error tracking and reporting services, in AWS Lambda functions so that unexpected errors do not go unnoticed. We also discussed some strategies regarding application logging and methods to ensure you get the metrics and telemetry you need. We also addressed the issue of cold starts in cloud functions, and we discussed ways of working around them. From there, we walked through some techniques to help you with local testing and setting up serverless functions and systems. Finally, we reviewed the management of different environments or stacks using environment ...

Get Serverless Design Patterns and Best Practices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.