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
PART 1: FIRST STEPS
Chapter 1. Running functions in the cloud
Chapter 1. Introducing AWS Lambda
Chapter 1. Functions as your back end
Chapter 1. Event-driven applications
Chapter 1. Calling functions from a client
Chapter 2. Your first Lambda function
Chapter 2. Writing the function
Chapter 2. Testing the function
Chapter 2. Executing the function through the Lambda API
Chapter 3. Your function as a web API
Chapter 3. Creating the API
Chapter 3. Testing the integration
Chapter 3. Using resource paths as parameters
Chapter 3. Using the API Gateway context
Chapter 3. Summary
PART 2: BUILDING EVENT-DRIVEN APPLICATIONS
Chapter 4. Managing security
Chapter 4. Understanding policies
Chapter 4. Using policy variables
Chapter 5. Using standalone functions
Chapter 5. Subscribing functions to events
Chapter 5. Configuring permissions
Chapter 5. Creating the function
Chapter 5. Using binaries with your function
Chapter 5. Implementing the function
Chapter 5. Scheduling function execution
Chapter 5. Summary
Chapter 6. Managing identities
Chapter 6. External identity providers
Chapter 6. Using policy variables with Amazon Cognito
Chapter 7. Calling functions from a client
Chapter 7. Giving permissions to the Lambda function
Chapter 7. Calling functions from a mobile app
Chapter 7. Calling functions from a web browser
Chapter 8. Designing an authentication service
Chapter 8. The event-driven architecture
Chapter 8. Working with Amazon Cognito
Chapter 8. Encrypting passwords
Chapter 9. Implementing an authentication service
Chapter 9. Automating initialization and deployment
Chapter 9. Signing up new users
Chapter 10. Adding more features to the authentication service
Chapter 10. Changing passwords
Chapter 11. Building a media-sharing application
Chapter 11. Consolidating functions
Chapter 11. Defining an object namespace for Amazon S3
Chapter 11. The client application
Chapter 11. Reacting to content updates
Chapter 12. Why event-driven?
Chapter 12. Starting from the front end
Chapter 12. What about the back end?
Chapter 12. Reactive programming
Chapter 12. The path to microservices
Chapter 12. Scalability of the platform
Chapter 12. Estimating costs
Chapter 12. Summary
PART 3: FROM DEVELOPMENT TO PRODUCTION
Chapter 13. Improving development and testing
Chapter 13. Logging and debugging
Chapter 13. Using function versioning
Chapter 13. Development tools and frameworks
Chapter 13. Apex serverless architecture
Chapter 13. Simple serverless testing
Chapter 14. Automating deployment
Chapter 14. Event-driven serverless continuous deployment
Chapter 14. Deploying with AWS CloudFormation
Chapter 14. Multiregion deployments
Chapter 15. Automating infrastructure management
Chapter 15. Reacting to events
Chapter 15. Multiregion architectures and data synchronization
PART 4: USING EXTERNAL SERVICES
Chapter 16. Calling external services
Chapter 16. Using IFTTT Maker Channel
Chapter 16. Sending messages to a Slack team
Chapter 17. Receiving events from other services
Chapter 17. Handling events from Slack
Chapter 17. Handling events from Twilio