AWS Lambda: A Guide to Serverless Microservices

AWS Lambda: A Guide to Serverless Microservices
By Matthew Fuller

Digital media products such as Amazon MP3s, Amazon Instant Videos, and Kindle content can only be purchased on
Buy at Amazon

Average customer review:
(37 customer reviews)

Product Description

AWS Lambda - A Guide to Serverless Microservices takes a comprehensive look at developing "serverless" workloads using the new Amazon Web Services Lambda service. Lambda enables users to develop code that executes in response to events - API calls, file uploads, schedules, etc - and upload it without worrying about managing traditional server metrics such as disk space, memory, or CPU usage. With its "per execution" cost model, Lambda can enable organizations to save hundreds or thousands of dollars on computing costs.

With in-depth walkthroughs, large screenshots, and complete code samples, the reader is guided through the step-by-step process of creating new functions, responding to infrastructure events, developing API backends, executing code at specified intervals, and much more.

Introduction to AWS Computing
Evolution of the Computing Workload
Lambda Background
The Internals
The Basics
Resource Allocation
Getting Set Up
Hello World
Uploading the Function
Working with Events
AWS Events
Custom Events
The Context Object
Roles and Permissions
Trust Relationships
Console Popups
Cross Account Access
Dependencies and Resources
Node Modules
OS Dependencies
OS Resources
OS Commands
Searching Logs
Testing Your Function
Lambda Console Tests
Third-Party Testing Libraries
Simulating Context
Hello S3 Object
The Bucket
The Role
The Code
The Event
The Trigger
When Lambda Isn’t the Answer
Host Access
Fine-Tuned Configuration
Long-Running Tasks
Where Lambda Excels
AWS Event-Driven Tasks
Scheduled Events (Cron)
Offloading Heavy Processing
API Endpoints
Infrequently Used Services
Real-World Use Cases
S3 Image Processing
Shutting Down Untagged Instances
Triggering CodeDeploy with New S3 Uploads
Processing Inbound Email
Enforcing Security Policies
Detecting Expiring Certificates
Utilizing the AWS API
Execution Environment
The Code Pipeline
Cold vs. Hot Execution
What is Saved in Memory
Scaling and Container Reuse
From Development to Deployment
Application Design
Development Patterns
Versioning and Aliasing
Short Executions
Long-Running Processes
High-Memory Applications
Free Tier
Calculating Pricing
Reusable Template with Minimum Permissions
Cross Account Access
CloudWatch Alerts
AWS API Gateway
API Gateway Event
Creating the Lambda Function
Creating a New API, Resource, and Method
Initial Configuration
Mapping Templates
Adding a Query String
Using HTTP Request Information Within Lambda
Deploying the API
Additional Use Cases
Lambda Competitors
Existing Cloud Providers
The Future of Lambda
More Resources

Product Details

  • Amazon Sales Rank: #24182 in eBooks
  • Published on: 2016-01-11
  • Released on: 2016-01-11
  • Format: Kindle eBook

Customer Reviews

Most helpful customer reviews

5 of 5 people found the following review helpful.
4Great Resource for Learning about AWS Lambda
By J. L. Pitney
As a whole, this is an excellent resource particularly for someone that is new to AWS Lambda. My only reason for not giving 5 stars was the lack of depth surrounding security (i.e. authorization/authentication of Lambda services). I would have given 4.5 if I could... The book is well written, easy to follow, and a perfect mix of coding tutorials and Lambda concepts. Highly recommend!

5 of 5 people found the following review helpful.
5This is a great little book to get you started with Lambda
By Carolina Road
This is a great little book to get you started with Lambda. You can get through it pretty quickly and it has the information you need to get you up and running. I found this book to be much easier to read than the AWS Lambda documentation, and it includes handy tips you won't find in the documentation.

2 of 2 people found the following review helpful.
4Good introduction to AWS Lambda
By Per Holst
A short and well written introduction to AWS Lambda. Helping me grasp what it is, where it could be used, where it falls short.

The book uses examples written in Node.js, and tells you how to test such functions locally before spending cheap yet valuable Lambda cycles. How to set up IAM roles and policies. How to log. How to monitor. With a brief look at AWS API Gateway - as this is one event generator, which fits perfectly with AWS Lambda.

See all 37 customer reviews...

Connect with defaultLogic
What We've Done
Led Digital Marketing Efforts of Top 500 e-Retailers.
Worked with Top Brands at Leading Agencies.
Successfully Managed Over $50 million in Digital Ad Spend.
Developed Strategies and Processes that Enabled Brands to Grow During an Economic Downturn.
Taught Advanced Internet Marketing Strategies at the graduate level.

Manage research, learning and skills at defaultLogic. Create an account using LinkedIn or facebook to manage and organize your IT knowledge. defaultLogic works like a shopping cart for information -- helping you to save, discuss and share.

  Contact Us