AWS Lambda in Action

Event-Driven Serverless Applications

BOOK


This is the home page for the book
AWS Lambda in Action: Event-Driven Serverless Applications
available from Manning Publications.


AWS Lambda in Action is an example-driven tutorial that teaches you how to build applications that use an event-driven approach on the back end. You'll begin with an overview of how AWS Lambda works and move on to expose those functions as web API using Amazon API Gateway. After an introduction to how to approach security, you move on to common examples and patterns that you can easily reuse to call Lambda functions from a web page or a mobile app. The second part of the book puts all those smaller examples together to build larger applications. Learn also how AWS Lambda can be used to manage resources on AWS, react to notifications and alarms from other AWS services, and even use Lambda functions to deploy other Lambda functions, building a new kind of Continuous Integration.

By the end of this book, you'll be ready to use AWS Lambda to create applications that take advantage of the high availability, security, performance, and scalability of AWS.


Read Chapter 1 for Free Read Chapter 8 for Free View Some Code Get Your Copy

DEMO


Here are a few live demos taken from tutorials or exercises in the book.


An example of calling an AWS Lambda function from a web page via JavaScript.

A slightly more complex example of calling an AWS Lambda function with two parameters.

An example of calling an AWS Lambda function to apply face detection to a picture using OpenCV.

A simple dynamic website built using Amazon API Gateway, AWS Lambda and EJS templates.

A sample authentication service built with AWS Lambda, Amazon DynamoDB, Amazon SES, and integrated with Amazon Cognito as Developer Authenticated Identities.

TECHNOLOGY


AWS Lambda lets you quickly and easily build and run applications on the AWS cloud that automatically run code in response to events.


AWS Lambda makes back-end tasks like producing a thumbnail from a new image or processing requests from a mobile app simple to implement, ready for web-scale traffic, and free of the overhead of managing scalability and availability. With AWS Lambda, every interaction between resources is the potential source of an event that can be processed in near real-time by a function hosted by Lambda. This event-driven approach in the back end of your application lets you focus on developing unique features, freeing you from management of infrastructure. With AWS Lambda, the scope of your application is naturally divided in small functions, giving you a reactive architecture and the right approach to adopt microservices.


Expose functions as API and build a single serverless back end for everything: web, mobile, IoT and other services.

Design and build event-driven serverless applications: distribute the logic and react to changes in your resources.

AUTHOR


Hi, my name is Danilo Poccia. I work with startups and companies of any size to support their innovation.

In my role as Technical Evangelist at Amazon Web Services, I leverage my 20 years of experience to help people bringing their ideas to life, focusing on event-driven programming and serverless architectures, and on the technical and business impact of mobile platforms and data analytics.

Prior to joining AWS, I was working with Sun Microsystems and Oracle.

Some of my interests are IT, Simulation/Modeling, Artificial Intelligence, Machine Learning and Photography.

You can find some of the tools I shared in my GitHub Repository.

I have a personal blog that I randomly update.


CONTACT


For questions and feedback on the book, please use the Book Forum.

For anything else, the quickest way to reach me is on Twitter.