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)

Configuring functions

In this section, we will go through the ways of configuring Lambda functions and understand all the settings in great detail. Like in the previous section, we will learn about each configuration and its settings, as follows:

  1. You can go to the page of AWS Lambda by selecting it from the drop-down menu that is present in the top-left corner of the AWS console. This can be done as follows:
  1. Once the Lambda option is selected, it redirects the user to the AWS Lambda console, which looks something like this:
  1. For creating a function, you need to click on the orange Create a function button on the right. This will open a console for the function creation. This looks something like this:
  1. Let's create a function from scratch in order to understand the configurations better. So, for doing that, click on the Author from scratch button on the top-right...