An error occured adding a product to your cart, you may only have 100 items in your cart.

Building Serverless Applications with Python

Building efficient Python applications at minimal cost by adopting serverless architectures
Preview in Mapt
Code Files

Building Serverless Applications with Python

Jalem Raj Rohit
New Release!

Building efficient Python applications at minimal cost by adopting serverless architectures
Mapt Subscription
FREE
€29.98/m after trial
eBook
€9.81
RRP €39.58
Save 75%
Print + eBook
€40.99
RRP €40.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
€0.00
€9.81
€40.99
€29.99 p/m after trial
RRP €39.58
RRP €40.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Building Serverless Applications with Python Book Cover
Building Serverless Applications with Python
€ 39.58
€ 9.81
Isomorphic Go Book Cover
Isomorphic Go
€ 45.58
€ 9.81
Buy 2 for €19.62
Save €54.62
Add to Cart

Book Details

ISBN 139781787288676
Paperback272 pages

Book Description

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

Chapter 1: The Serverless Paradigm
Understanding serverless architectures
Understanding microservices
Serverless architectures don't have to be real-time only
Pros and cons of serverless
Summary
Chapter 2: Building a Serverless Application in AWS
Triggers in AWS Lambda
Lambda functions
Functions as containers
Configuring functions
Testing Lambda functions
Versioning Lambda functions
Creating deployment packages
Summary
Chapter 3: Setting Up Serverless Architectures
S3 trigger
SNS trigger
SQS trigger
CloudWatch trigger
Summary
Chapter 4: Deploying Serverless APIs
API methods and resources
Setting up integration
Deploying the Lambda function for API execution
Handling authentication and user controls
Summary
Chapter 5: Logging and Monitoring
Understanding CloudWatch
Understanding CloudTrail 
Lambda’s metrics in CloudWatch
Lambda's logs in CloudWatch
Logging statements in Lambda
Summary
Chapter 6: Scaling Up Serverless Architectures
Third-party orchestration tools
The creation and termination of servers
Security best practices
Identifying and handling difficulties in scaling
Summary
Chapter 7: Security in AWS Lambda
Understanding AWS Virtual Private Clouds (VPCs)
Understanding subnets in VPCs
Securing Lambda inside private subnets
Controlling access to Lambda functions
Using STS inside Lambda for secure session-based execution
Summary
Chapter 8: Deploying a Lambda Function with SAM
Introduction to SAM
CloudFormation for serverless services
Deploying with SAM
Understanding security in SAM
Summary
Chapter 9: Introduction to Microsoft Azure Functions
Introduction to Microsoft Azure Functions
Creating your first Azure Function
Understanding triggers
Understanding logging and monitoring in Azures Functions
Best practices for writing Azure Functions
Summary

What You Will Learn

  • Understand how AWS Lambda and Microsoft Azure functions work and use them to create an application
  • Explore various triggers and how to select them, based on the problem statement
  • Build deployment packages for Lambda functions
  • Master the finer details about building Lambda functions and versioning
  • Log and monitor serverless applications
  • Learn about security in AWS and Lambda functions
  • Scale up serverless applications to handle huge workloads and serverless distributed systems in production
  • Understand SAM model deployment in AWS Lambda

Authors

Table of Contents

Chapter 1: The Serverless Paradigm
Understanding serverless architectures
Understanding microservices
Serverless architectures don't have to be real-time only
Pros and cons of serverless
Summary
Chapter 2: Building a Serverless Application in AWS
Triggers in AWS Lambda
Lambda functions
Functions as containers
Configuring functions
Testing Lambda functions
Versioning Lambda functions
Creating deployment packages
Summary
Chapter 3: Setting Up Serverless Architectures
S3 trigger
SNS trigger
SQS trigger
CloudWatch trigger
Summary
Chapter 4: Deploying Serverless APIs
API methods and resources
Setting up integration
Deploying the Lambda function for API execution
Handling authentication and user controls
Summary
Chapter 5: Logging and Monitoring
Understanding CloudWatch
Understanding CloudTrail 
Lambda’s metrics in CloudWatch
Lambda's logs in CloudWatch
Logging statements in Lambda
Summary
Chapter 6: Scaling Up Serverless Architectures
Third-party orchestration tools
The creation and termination of servers
Security best practices
Identifying and handling difficulties in scaling
Summary
Chapter 7: Security in AWS Lambda
Understanding AWS Virtual Private Clouds (VPCs)
Understanding subnets in VPCs
Securing Lambda inside private subnets
Controlling access to Lambda functions
Using STS inside Lambda for secure session-based execution
Summary
Chapter 8: Deploying a Lambda Function with SAM
Introduction to SAM
CloudFormation for serverless services
Deploying with SAM
Understanding security in SAM
Summary
Chapter 9: Introduction to Microsoft Azure Functions
Introduction to Microsoft Azure Functions
Creating your first Azure Function
Understanding triggers
Understanding logging and monitoring in Azures Functions
Best practices for writing Azure Functions
Summary

Book Details

ISBN 139781787288676
Paperback272 pages
Read More

Read More Reviews

Recommended for You

Isomorphic Go Book Cover
Isomorphic Go
€ 45.58
€ 9.81
Natural Language Processing with Python Cookbook Book Cover
Natural Language Processing with Python Cookbook
€ 37.18
€ 9.81
Understanding Software Book Cover
Understanding Software
€ 27.58
€ 9.81
Understanding Software Book Cover
Understanding Software
€ 27.58
€ 9.81
Serverless Web Applications with React and Firebase Book Cover
Serverless Web Applications with React and Firebase
€ 32.38
€ 9.81
Docker for Serverless Applications Book Cover
Docker for Serverless Applications
€ 31.18
€ 9.81