O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

AWS Lambda in Action (Event-driven serverless applications) Video Edition

Video Description

"Clear and concise...the code samples are as well structured as the writing."
From the Foreword by James Governor, RedMonk

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. Starting with an overview of AWS Lambda, the author moves on to show you common examples and patterns that you can use to call Lambda functions from a web page or a mobile app. The second part puts these smaller examples together to build larger applications. By the end, you'll be ready to create applications that take advantage of the high availability, security, performance, and scalability of AWS.

With AWS Lambda, you write your code and upload it to the AWS cloud. AWS Lambda responds to the events triggered by your application or your users, and automatically manages the underlying computer resources for you. Back-end tasks like analyzing a new document or processing requests from a mobile app are easy to implement. Your application is divided into small functions, leading naturally to a reactive architecture and the adoption of microservices.

Inside:
  • Create a simple API
  • Create an event-driven media-sharing application
  • Secure access to your application in the cloud
  • Use functions from different clients like web pages or mobile apps
  • Connect your application with external services
Requires basic knowledge of JavaScript. Some examples are also provided in Python. No AWS experience is assumed.

Danilo Poccia is a technical evangelist at Amazon Web Services and a frequent speaker at public events and workshops.

A superb guide to an important aspect of AWS.
Ben Leibert, VillageReach

Step-by-step examples and clear prose make this the go-to book for AWS Lambda!
Dan Kacenjar, Wolters Kluwer

Like Lambda itself, this book is easy to follow, concise, and very functional.
Christopher Haupt, New Relic

Table of Contents

  1. PART 1: FIRST STEPS
    1. Chapter 1. Running functions in the cloud 00:07:53
    2. Chapter 1. Introducing AWS Lambda 00:10:41
    3. Chapter 1. Functions as your back end 00:09:36
    4. Chapter 1. Event-driven applications 00:11:13
    5. Chapter 1. Calling functions from a client 00:08:25
    6. Chapter 2. Your first Lambda function 00:07:08
    7. Chapter 2. Writing the function 00:09:11
    8. Chapter 2. Testing the function 00:03:52
    9. Chapter 2. Executing the function through the Lambda API 00:08:24
    10. Chapter 3. Your function as a web API 00:05:45
    11. Chapter 3. Creating the API 00:09:33
    12. Chapter 3. Testing the integration 00:10:46
    13. Chapter 3. Using resource paths as parameters 00:05:03
    14. Chapter 3. Using the API Gateway context 00:08:53
    15. Chapter 3. Summary 00:04:55
  2. PART 2: BUILDING EVENT-DRIVEN APPLICATIONS
    1. Chapter 4. Managing security 00:09:43
    2. Chapter 4. Understanding policies 00:09:32
    3. Chapter 4. Using policy variables 00:07:10
    4. Chapter 5. Using standalone functions 00:06:26
    5. Chapter 5. Subscribing functions to events 00:07:09
    6. Chapter 5. Configuring permissions 00:03:14
    7. Chapter 5. Creating the function 00:07:41
    8. Chapter 5. Using binaries with your function 00:04:44
    9. Chapter 5. Implementing the function 00:06:16
    10. Chapter 5. Scheduling function execution 00:04:32
    11. Chapter 5. Summary 00:05:04
    12. Chapter 6. Managing identities 00:07:24
    13. Chapter 6. External identity providers 00:08:50
    14. Chapter 6. Using policy variables with Amazon Cognito 00:06:29
    15. Chapter 7. Calling functions from a client 00:07:21
    16. Chapter 7. Giving permissions to the Lambda function 00:07:16
    17. Chapter 7. Calling functions from a mobile app 00:05:59
    18. Chapter 7. Calling functions from a web browser 00:09:54
    19. Chapter 8. Designing an authentication service 00:07:16
    20. Chapter 8. The event-driven architecture 00:08:42
    21. Chapter 8. Working with Amazon Cognito 00:04:31
    22. Chapter 8. Encrypting passwords 00:05:52
    23. Chapter 9. Implementing an authentication service 00:05:25
    24. Chapter 9. Automating initialization and deployment 00:06:47
    25. Chapter 9. Signing up new users 00:05:31
    26. Chapter 10. Adding more features to the authentication service 00:06:24
    27. Chapter 10. Changing passwords 00:04:14
    28. Chapter 11. Building a media-sharing application 00:09:41
    29. Chapter 11. Consolidating functions 00:04:46
    30. Chapter 11. Defining an object namespace for Amazon S3 00:06:09
    31. Chapter 11. The client application 00:05:57
    32. Chapter 11. Reacting to content updates 00:07:39
    33. Chapter 12. Why event-driven? 00:07:16
    34. Chapter 12. Starting from the front end 00:03:06
    35. Chapter 12. What about the back end? 00:09:05
    36. Chapter 12. Reactive programming 00:07:14
    37. Chapter 12. The path to microservices 00:07:57
    38. Chapter 12. Scalability of the platform 00:08:05
    39. Chapter 12. Estimating costs 00:09:12
    40. Chapter 12. Summary 00:03:40
  3. PART 3: FROM DEVELOPMENT TO PRODUCTION
    1. Chapter 13. Improving development and testing 00:07:10
    2. Chapter 13. Logging and debugging 00:04:16
    3. Chapter 13. Using function versioning 00:05:48
    4. Chapter 13. Development tools and frameworks 00:07:43
    5. Chapter 13. Apex serverless architecture 00:05:29
    6. Chapter 13. Simple serverless testing 00:07:25
    7. Chapter 14. Automating deployment 00:07:02
    8. Chapter 14. Event-driven serverless continuous deployment 00:03:51
    9. Chapter 14. Deploying with AWS CloudFormation 00:11:23
    10. Chapter 14. Multiregion deployments 00:05:23
    11. Chapter 15. Automating infrastructure management 00:10:00
    12. Chapter 15. Reacting to events 00:06:17
    13. Chapter 15. Multiregion architectures and data synchronization 00:06:58
  4. PART 4: USING EXTERNAL SERVICES
    1. Chapter 16. Calling external services 00:07:11
    2. Chapter 16. Using IFTTT Maker Channel 00:05:34
    3. Chapter 16. Sending messages to a Slack team 00:07:44
    4. Chapter 17. Receiving events from other services 00:06:47
    5. Chapter 17. Handling events from Slack 00:07:51
    6. Chapter 17. Handling events from Twilio 00:08:27