Chapter 5. Understanding how Serverless Functions Work

If you have tried setting up an entire production server from scratch and deployed your custom application inside this server, you probably know that it takes a significant amount of time and effort to get all of these done correctly. If there’s a security vulnerability in the server that needs to be patched right away, you would have to stop working on the feature development tasks and spend a bit of time updating the servers and the installed application prerequisites.

Serverless functions allow developers to focus on writing code and worry less about managing the resources and environments where the code is running. Of course, behind the scenes, the code is just running in an environment managed by the cloud provider.

serverless functions shifting the focus
Figure 5-1. Serverless functions allow developers to ...

Get Learning Serverless Security 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.