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
80
Other Decks in Technology
See All in Technology
[JAWS-UG彩の国埼玉#12]そろそろ準備する?re:Invent2026をやさしく解説 / reinvent2026-sainokuni
sh_fk2
1
210
Loop Engineering これくらいでいい
mikanichinose
0
240
⾮構造化データを価値に変える AI エージェント基盤とその組織
ivry_presentationmaterials
0
160
使いこなすために知っておきたい Azure SRE Agent アンチパターン
torumakabe
2
500
サブエージェントと Claude Mods で作る独自 Advisor ツールの話
kenichiodo
2
140
大型犬好きによるPugの紹介
yamanoku
1
150
メルペイ 会計システム概要と歴史
mewuto
1
220
Conditional PED-ANOVA: Hyperparameter Importance in Hierarchical & Dynamic Search Spaces
pfn
PRO
0
120
LocalStack を使ったサーバーレスアプリケーション開発 / Serverless Development with LocalStack
kakakakakku
1
440
ブラウザとサーバーから考えるAI時代のフロントエンド監視
shogo4131
3
890
転んだ話が背中を預ける理由になる / A_story_about_falling_down_gives_you_a_reason_to_watch_each_other_s_backs.pdf
pauli
3
370
Persisting Massive Data with Rails ~Designing for 60 billion rows, and fighting the bottlenecks~ Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
0
600
Featured
See All Featured
Building a Scalable Design System with Sketch
lauravandoore
464
34k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
540
Thoughts on Productivity
jonyablonski
76
5.4k
How to train your dragon (web standard)
notwaldorf
96
6.9k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
Rails Girls Zürich Keynote
gr2m
96
14k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
Done Done
chrislema
187
17k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
460
A Modern Web Designer's Workflow
chriscoyier
699
190k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
620
Building AI with AI
inesmontani
PRO
1
1.3k
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!