Book Image

Building Serverless Applications with Python

Book Image

Building Serverless Applications with Python

Overview of this book

Serverless architectures allow you to build and run applications and services without having to manage the infrastructure. Many companies have adopted this architecture to save cost and improve scalability. This book will help you design serverless architectures for your applications with AWS and Python. The book is divided into three modules. The first module explains the fundamentals of serverless architecture and how AWS lambda functions work. In the next module, you will learn to build, release, and deploy your application to production. You will also learn to log and test your application. In the third module, we will take you through advanced topics such as building a serverless API for your application. You will also learn to troubleshoot and monitor your app and master AWS lambda programming concepts with API references. Moving on, you will also learn how to scale up serverless applications and handle distributed serverless systems in production. By the end of the book, you will be equipped with the knowledge required to build scalable and cost-efficient Python applications with a serverless framework.
Table of Contents (11 chapters)

Summary

In this chapter, we have learned a great deal about how various Lambda triggers work, and how to configure them, set up the triggers, and write Lambda function code to handle the data from them.

In the first task, we learned how S3 events work and how to understand and receive events from the S3 service to AWS Lambda. We have understood how to monitor S3 buckets for file details via their metrics in CloudWatch and then send that notification via AWS SNS to a Lambda functions.

We have also learned how to create SNS topics and how to use them as an intermediate route between several metrics of AWS services from CloudWatch to AWS Lambda.

We have learned briefly about how AWS CloudWatch works. We understood what the metrics of various AWS services, such as S3, SQS, and CloudWatch, look like. We also learned how to set thresholds for CloudWatch Alarms, and how to connect those...