Docker for Serverless Applications

Build applications and infrastructures that leverage Function-as-a-Service and Docker
Preview in Mapt

Docker for Serverless Applications

Chanwit Kaewkasi
New Release!

Build applications and infrastructures that leverage Function-as-a-Service and Docker
Mapt Subscription
FREE
$29.99/m after trial
eBook
$22.40
RRP $31.99
Save 29%
Print + eBook
$39.99
RRP $39.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
$22.40
$39.99
$29.99 p/m after trial
RRP $31.99
RRP $39.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Docker for Serverless Applications Book Cover
Docker for Serverless Applications
$ 31.99
$ 22.40
Designing and Implementing Linux Firewalls and QoS using netfilter, iproute2, NAT and l7-filter Book Cover
Designing and Implementing Linux Firewalls and QoS using netfilter, iproute2, NAT and l7-filter
$ 23.99
$ 16.80
Buy 2 for $34.30
Save $21.68
Add to Cart

Book Details

ISBN 139781788835268
Paperback250 pages

Book Description

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

Chapter 1: Serverless and Docker
What is serverless?
Common architecture of a serverless FaaS
Serverless/FaaS use cases
Hello world, the FaaS/Docker way
Exercise
Summary
Chapter 2: Docker and Swarm Clusters
What is a container?
What is Docker?
Docker Swarm clusters
Exercises
Summary
Chapter 3: Serverless Frameworks
AWS Lambda
Azure Functions
Google Cloud Functions
IBM Cloud Functions
The Serverless Framework
Exercise
Summary
Chapter 4: OpenFaaS on Docker
What is OpenFaaS?
Architecture
OpenFaaS components
Installing OpenFaaS
Preparing a function
Using the OpenFaaS CLI
The OpenFaaS dashboard
Exercises
Summary
Chapter 5: The Fn Project
The Fn Project
Fn's architecture
Using Fn CLI
Let's deploy a local function
Deploying Fn on Docker Swarm
Exercise
Summary
Chapter 6: OpenWhisk on Docker
What is OpenWhisk?
Components and architecture
Function preparation
Invoking functions
User interface
Exercises
Summary
Chapter 7: Operating FaaS Clusters
Stabilizing the configuration
Retry and circuit breaker
Preparing a production cluster
Logging
Scripting Docker with Golang
Exercises
Summary
Chapter 8: Putting Them All Together
A mobile payment scenario
A Parse platform as a backend
Preparing a WebHook in Fn
An event state machine with a blockchain
Wrapping a legacy with a function
A function as a Glue
A stream processor
Inter-FaaS platform networking
Exercises
Summary
Chapter 9: The Future of Serverless
FaaS and Docker reviews
Runtime for function containers
LinuxKit – immutable infrastructure for FaaS
Beyond serverless
Declarative containers
Exercises
Summary
References

What You Will Learn

  • Learn what Serverless and FaaS applications are
  • Get acquainted with the architectures of three major serverless systems
  • Explore how Docker technologies can help develop Serverless applications
  • Create and maintain FaaS infrastructures
  • Set up Docker infrastructures to serve as on-premises FaaS infrastructures
  • Define functions for Serverless applications with Docker containers

Authors

Table of Contents

Chapter 1: Serverless and Docker
What is serverless?
Common architecture of a serverless FaaS
Serverless/FaaS use cases
Hello world, the FaaS/Docker way
Exercise
Summary
Chapter 2: Docker and Swarm Clusters
What is a container?
What is Docker?
Docker Swarm clusters
Exercises
Summary
Chapter 3: Serverless Frameworks
AWS Lambda
Azure Functions
Google Cloud Functions
IBM Cloud Functions
The Serverless Framework
Exercise
Summary
Chapter 4: OpenFaaS on Docker
What is OpenFaaS?
Architecture
OpenFaaS components
Installing OpenFaaS
Preparing a function
Using the OpenFaaS CLI
The OpenFaaS dashboard
Exercises
Summary
Chapter 5: The Fn Project
The Fn Project
Fn's architecture
Using Fn CLI
Let's deploy a local function
Deploying Fn on Docker Swarm
Exercise
Summary
Chapter 6: OpenWhisk on Docker
What is OpenWhisk?
Components and architecture
Function preparation
Invoking functions
User interface
Exercises
Summary
Chapter 7: Operating FaaS Clusters
Stabilizing the configuration
Retry and circuit breaker
Preparing a production cluster
Logging
Scripting Docker with Golang
Exercises
Summary
Chapter 8: Putting Them All Together
A mobile payment scenario
A Parse platform as a backend
Preparing a WebHook in Fn
An event state machine with a blockchain
Wrapping a legacy with a function
A function as a Glue
A stream processor
Inter-FaaS platform networking
Exercises
Summary
Chapter 9: The Future of Serverless
FaaS and Docker reviews
Runtime for function containers
LinuxKit – immutable infrastructure for FaaS
Beyond serverless
Declarative containers
Exercises
Summary
References

Book Details

ISBN 139781788835268
Paperback250 pages
Read More

Read More Reviews

Recommended for You

Designing and Implementing Linux Firewalls and QoS using netfilter, iproute2, NAT and l7-filter Book Cover
Designing and Implementing Linux Firewalls and QoS using netfilter, iproute2, NAT and l7-filter
$ 23.99
$ 16.80
Google Cloud Platform for Developers Book Cover
Google Cloud Platform for Developers
$ 35.99
$ 25.20
Hands-On Networking with Azure Book Cover
Hands-On Networking with Azure
$ 31.99
$ 22.40
Hands-On Docker for Microservices [Video] Book Cover
Hands-On Docker for Microservices [Video]
$ 124.99
$ 106.25
Mastering Docker (2017) the DevOps way by School of Devops® [Video] Book Cover
Mastering Docker (2017) the DevOps way by School of Devops® [Video]
$ 90.99
$ 77.35
Docker for the Absolute Beginner - Hands-On [Video] Book Cover
Docker for the Absolute Beginner - Hands-On [Video]
$ 63.99
$ 54.40