Running Serverless: Introduction to AWS Lambda and the Serverless Application Model

Running Serverless: Introduction to AWS Lambda and the Serverless Application Model


View All Available Formats & Editions
Choose Expedited Shipping at checkout for delivery by Monday, May 24


This book will help you get started with AWS Lambda and the Serverless Application Model (SAM). Lambda is Amazon's engine for running event-driven functions, and SAM is an open-source toolkit that greatly simplifies configuring and deploying Lambda services. Together, they make it easy to create auto-scaling APIs and cloud services designed for serverless deployments. You'll learn how to:

  • Design applications that get the most out of serverless architecture
  • Create auto-scaling web APIs
  • Handle background tasks and messaging workflows
  • Set up a deployment pipeline for effective team collaboration
  • Test and troubleshoot code designed for AWS Lambda
  • Inspect and monitor serverless applications

Running Serverless is a technical tutorial book. It will be useful for two groups of software developers and architects: people who have no previous experience working with serverless applications and are interested in learning about emerging cloud architectural patterns, and people who already work with Lambda using other deployment frameworks and want to learn about AWS SAM, the Serverless Application Model.

The contents of this book are based on author's experiences with MindMup, a collaborative mind-mapping system that was one of the early adopters of AWS Lambda. MindMup moved to a serverless model from an application hosting service throughout 2016, in order to benefit from on-demand scaling. We reduced operational costs by about two-thirds while significantly increasing application capacity, speeding up development and reducing time to market for new features.

This book is structured as a walk-through for building a practical application. We start from a simple static API and gradually grow it into an online image-resizing service, ready for millions of users, with all the supporting operational and infrastructural capabilities. The application closely resembles real-world systems that many of you will develop in your jobs. This will give you a good structure for your own work, and you will be able to almost copy parts to get a head start. As you discover how to create and deploy different parts of the application, you will also learn about key aspects of Lambda and related services, important tips, techniques and tools for running serverless.

The tutorial evolved from dozens of conference workshops and code camps. Gojko and his colleagues have used the exercises from this book to teach hundreds of developers about serverless architectures, improving the examples through feedback into a great way to gradually introduce important concepts.

Product Details

ISBN-13: 9780993088155
Publisher: Neuri Consulting Llp
Publication date: 07/01/2019
Pages: 226
Product dimensions: 7.50(w) x 9.25(h) x 0.61(d)

Table of Contents


About the author

Thanks to everyone who helped

Learn about updates


1 Serverless in five minutes

2 Set up tools for local development

3 Create a web service

4 Development and troubleshooting

5 Safe deployments

6 Handling HTTP requests

7 Using external storage

8 Cheaper, faster, serverless

9 Handling platform events

10 Using application components

11 Managing sessions and user workflows

12 Designing robust applications

13 Deployment options

Where next?

Customer Reviews