Book Image

Mastering AWS Lambda

By : Yohan Wadia, Udita Gupta
Book Image

Mastering AWS Lambda

By: Yohan Wadia, Udita Gupta

Overview of this book

AWS is recognized as one of the biggest market leaders for cloud computing and why not? It has evolved a lot since the time it started out by providing just basic services such as EC2 and S3 and today; they go all the way from IoT to Machine Learning, Image recognition, Chatbot Frameworks, and much more! One of those recent services that is also gaining a lot of traction is AWS Lambda! Although seemingly simple and easy to use, Lambda is a highly effective and scalable compute service that provides developers with a powerful platform to design and develop Serverless event-driven systems and applications. The book begins with a high-level introduction into the world of Serverless computing and its advantages and use cases, followed by a deep dive into AWS Lambda! You’ll learn what services AWS Lambda provides to developers; how to design, write, and test Lambda functions; as well as monitor and troubleshoot them. The book is designed and accompanied with a vast variety of real-world examples, use cases, and code samples that will enable you to get started on your Serverless applications quickly. By the end of the book, you will have gained all the skills required to work with AWS Lambda services!
Table of Contents (11 chapters)

Introducing AWS step functions

Working with Lambda functions so far has been really great for us and I hope it's been a similar experience for you as well! But there's a slight hitch that the Lambda service alone cannot help solve: how do you effectively coordinate and orchestrate Lambda functions so that they form a backbone for some really distributed applications that rely on complex workflows for execution? For most of you, working with AWS for a long time, the obvious answer would be to use something like AWS Simple Workflow Service (SWF) or maybe even create a single Lambda function that acts as an orchestrator for some other worker functions, but both these techniques have their own sets of pros and cons. To solve this, AWS unfolded the Step Functions web service during the AWS re:Invent 2016 event!

AWS Step Functions is basically an orchestration service for...