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)

Understanding CloudTrail

CloudTrail is another monitoring service of AWS where you can look at all of the events and trails that have happened in your AWS account. This service is a bit more detailed than the CloudWatch service in how it records and stores the events and trails.

So, we shall explore and learn about this service in the following steps:

  1. The AWS CloudTrail's dashboard can be accessed at console.aws.amazon.com/cloudtrail/:
  1. The list of events in your AWS account can be seen on the left-hand side of the CloudTrail menu when you click on the Event history button. The Event history page looks like this:
  1. The third functionality of CloudTrail is the trails. The user can set up trails for their AWS services, such as Lambda. The trails that have been set up can be found on the Trails dashboard. This can be accessed by going to the Trails console by clicking...