Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
AWS Lambda
Search
Julian Kleinhans
June 09, 2017
Technology
110
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
AWS Lambda
Serverless, event-driven compute service
Julian Kleinhans
June 09, 2017
More Decks by Julian Kleinhans
See All by Julian Kleinhans
AWS Kinesis
kj187
2
260
AWS Lambda
kj187
1
79
Other Decks in Technology
See All in Technology
品質と信頼性を地続きにする
grimoh
0
380
AI時代、データエンジニアが一番おもろい
genshun9
0
590
幾何アルゴリズムで なめらかなピン操作を / iOSDC Japan 2026 / smoothpin
kazumanagano
0
350
アプリをもっと"iOSアプリっぽく"する小さな工夫 / Small Touches That Make Your App Feel More Like an iOS App
matsuji
1
890
The Agent Builder Loop from Daily Work to OSS
minorun365
PRO
3
200
現場で役立つ技術負債の効果的な返済方法
masuda220
PRO
8
4k
日経電子版を支えていく Kasane Design System/fec_fukuoka
nikkei_engineer_recruiting
0
1.5k
【技術的負債conf】事業成長に伴う技術的負債の説明責任とAIによるモニタリング、認知的負債について
i35_267
2
1.6k
目の前の楽しいが人生を変える - コミュニティの螺旋の歩き方と楽しむコツ / change your life
soudai
PRO
4
600
HHKBエバンジェリストになる方法
941
0
100
aws-iot-platform-architecture-use-cases.pdf
ma2shita
0
120
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
12k
Featured
See All Featured
Practical Orchestrator
shlominoach
191
12k
Darren the Foodie - Storyboard
khoart
PRO
4
3.9k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
350
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
320
Heart Work Chapter 1 - Part 1
lfama
PRO
10
36k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.9k
Producing Creativity
orderedlist
PRO
348
41k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
The browser strikes back
jonoalderson
0
1.7k
Navigating Team Friction
lara
192
16k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
520
Transcript
1 09.06.17 AWS Lambda Serverless, event-driven compute service 09.06.2017, AOE
Internal Meetup, Julian Kleinhans
2 09.06.17 Julian Kleinhans Software Architect @ AOE GmbH Standort
Krefeld, NRW @kj187
3 09.06.17 What is AWS Lambda Serverless compute service Introduced
by Amazon in November 2014
4 09.06.17 What means serverless Serverless = no servers ?
5 09.06.17 What means serverless NO, there are servers But
someone else is responsible Cloud Provider
6 09.06.17 Goal behind serverless Primarily focus on code Not
infrastructure Capacity, Scaling, Monitoring, Logging, Security Patching ...
7 09.06.17 Replace serverless with ... FaaS Function as a
service CoD Code on demand
8 09.06.17 Flow Changes in data state Request to endpoints
Changes in resource state Event source Function Services (anything) Change/Add data state Trigger AWS resource Call HTTP endpoint Your Code
9 09.06.17 Events Event Sources Event sources that trigger AWS
Lambda • Amazon S3 • Amazon DynamoDb • Amazon Kinesis • Amazon API Gateway (REST API) • On Demand via SDK • ... approx. 16-17 services
10 09.06.17 Function Write single-purpose stateless functions single responsibility principle
11 09.06.17 Function Runtimes NodeJS 4.3 & 6.10 Java 8
Python 2.7 C#
12 09.06.17 Function ZIP Package handler-xyz.js node_modules/* Terraform example resource
"aws_lambda_function" "lambda_nodejs_example" { filename = “directory/example-nodejs-lambda.zip" function_name = "example_nodejs_lambda" handler = ”handler-xyz.handler" runtime = "nodejs6.10" }
13 09.06.17 Use Case 1 2 3 4 Store image
in S3 Lambda Event Trigger Create thumbnail Store thumbnail in S3
14 09.06.17 Use Case E-Mail DeskPro Middleware TargetProcess API Gateway
Create bug ticket Close ticket Create ticket Webhook Event source Lambda DeskPro -> TargetProcess (fully automated)
15 09.06.17 Limits Maximum execution duration per request => 300
seconds Alternative S3 Storage Lambda function deployment package size (.zip/.jar file) => 50 MB 100 concurrent executions 1.000 invokes per second Increases available via AWS customer service
16 09.06.17 Costs 1 million requests and 400,000 GB-second of
compute time every month, every customer for free $0.20 per 1 million requests ($0.0000002 per request) Never pay for idle
17 09.06.17 Demo DEMO https://github.com/kj187/aws_terraform_templates
18 09.06.17 Alternatives Azure Functions Microsoft Google Cloud Functions Google,
beta OpenWhisk IBM
19 09.06.17 Thank You!