Serverless architectures are different enough that techniques and best practices need to be thought through and evaluated to be successful. Many traditional methods for debugging, application development, monitoring, and so on are still applicable in a server-based architecture. However, many tried-and-tested techniques that you may rely on when working with virtual machines or real hardware will not necessarily work with serverless systems. When building on top of a FaaS platform, then, you need to keep these differences in mind and have a plan for monitoring, debugging, testing, and developing your serverless application.
In this chapter, we'll review common best practices that will help you to focus on building your application rather than getting stuck in the details of organization or deployment. We'll also cover the tools and methods available for keeping your serverless application secure, easy to develop locally, and observable. We'll...