AWS Lambda:
back-end for
front-enders
Brandon Westcott
2017/06/26
Agenda
What is lambda
How it works
Do it live
What is Lambda?
A serverless compute service that runs your code in
response to events and automatically manages the
underlying compute resources for you.
No Servers
AWS Lambda handles
• Capacity
• Scaling
• Deployment
• Monitoring
• Logging
• Web service front end
• Security patching
Automatic
Scaling
AWS Lambda handles
• Lambda scales to match the
event rate
• Don’t worry about over or
under provisioning
• Pay only for what you use
• New app or successful app,
Lambda matches your scale
Pay for Use
Pay only for what you use:
● Charged in 100ms increments
● Low request charge
● No hourly, daily or monthly
minimums
● No per-device fees
● Never pay for idle!
Lambda is Lambda isn’t
● Magic backend genie
● WYSIWYG code generator
● GUI backend toolset
● An extremely simple way to
run your backend code
● An AWS tool which allows you
to leverage the rest of the
AWS ecosystem easily
How it works
Triggers Lambda
Function
The Code
● Node.js (JavaScript)
● Python
● Java (Java 8 compatible)
● C# (.NET Core)
Demos
● API Gateway w/ swagger
● Claudia
● S3 Image Resizing
S3 Image Resize on Lambda
Resources
https://github.com/claudiajs/claudia
https://github.com/awslabs/chalice
https://github.com/awslabs/serverless-application-model
https://s3.amazonaws.com/lambda-tools/pricing-calculator.html
https://github.com/serverless/serverless

Front End Orlando - AWS Lambda