Book Image

Docker for Serverless Applications

By : Chanwit Kaewkasi
Book Image

Docker for Serverless Applications

By: Chanwit Kaewkasi

Overview of this book

Serverless applications have gained a lot of popularity among developers and are currently the buzzwords in the tech market. Docker and serverless are two terms that go hand-in-hand. This book will start by explaining serverless and Function-as-a-Service (FaaS) concepts, and why they are important. Then, it will introduce the concepts of containerization and how Docker fits into the Serverless ideology. It will explore the architectures and components of three major Docker-based FaaS platforms, how to deploy and how to use their CLI. Then, this book will discuss how to set up and operate a production-grade Docker cluster. We will cover all concepts of FaaS frameworks with practical use cases, followed by deploying and orchestrating these serverless systems using Docker. Finally, we will also explore advanced topics and prototypes for FaaS architectures in the last chapter. By the end of this book, you will be in a position to build and deploy your own FaaS platform using Docker.
Table of Contents (15 chapters)
Title Page
Packt Upsell
Contributors
Preface
Index

The Serverless Framework


The Serverless Framework is an application development framework and tool for the serverless computing paradigm. The framework only shares the same name with serverless. Please do not be confused.

The authors of the Serverless Framework consider that a serverless application is the next evolution of application development in the cloud native ecosystem. And this kind of application needs a certain level of automation. This idea was the stem of the framework.

The design idea views managed services and functions as coupled entities. To make an application around them, a tool should provide build, test, and deploy commands to make the whole development life cycle fully automated.

There also should be a consistent way of building, testing, and deploying a serverless application to multiple cloud providers, while minimizing code changes. The framework should help configure the setting for each cloud provider based on the following:

  • The language runtime
  • The cloud provider selected...