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 how to build a completely serverless API from scratch. We have also learned how to add more resources and methods for the API, as well as how to deploy it successfully to multiple stages of development and how to add additional security settings such as authorization and API keys for authentication purposes.

We then learned how to associate a Lambda function with our API Gateway's API service for handling the computational tasks of our API.

In the next chapter, we will be learning about logging and monitoring serverless applications. In that chapter, we will learn about the logging and monitoring services of AWS such as CloudWatch Metrics, CloudWatch Logs, and CloudWatch Dashboards in detail, and try to set them up for our serverless applications. We will also learn how to create a logging and monitoring pipeline from AWS Lambda to...