Book Image

Building Serverless Microservices in Python

By : Richard Takashi Freeman
Book Image

Building Serverless Microservices in Python

By: Richard Takashi Freeman

Overview of this book

Over the last few years, there has been a massive shift from monolithic architecture to microservices, thanks to their small and independent deployments that allow increased flexibility and agile delivery. Traditionally, virtual machines and containers were the principal mediums for deploying microservices, but they involved a lot of operational effort, configuration, and maintenance. More recently, serverless computing has gained popularity due to its built-in autoscaling abilities, reduced operational costs, and increased productivity. Building Serverless Microservices in Python begins by introducing you to serverless microservice structures. You will then learn how to create your first serverless data API and test your microservice. Moving on, you'll delve into data management and work with serverless patterns. Finally, the book introduces you to the importance of securing microservices. By the end of the book, you will have gained the skills you need to combine microservices with serverless computing, making their deployment much easier thanks to the cloud provider managing the servers and capacity planning.
Table of Contents (13 chapters)
Title Page
Dedication

Future work

This book has provided you with a solid foundation on which you can build and apply more advanced serverless use cases. These will be covered in another book by the same author, provisionally called Implementing Serverless Microservices Architecture Patterns in Python. The book will include a lot of original content, code, and configuration that has been created by the author, and will help you solve business problems and save time implementing scalable microservices. It will include serverless distributed data management patterns such as a full CRUD API on DynamoDB, MongoDB, and Lambda-less stacks, as well as serverless patterns for accessing VPC-based databases, including the newly introduced DocumentDB, RDS, and Aurora. The book will also look at implementing serverless query and messaging patterns, including the commonly used CQRS and event sourcing patterns. Finally, the book will cover different serverless monitoring and observability patterns and how you can use serverless microservices at scale in production.