Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
AWS Lambda
Search
Julian Kleinhans
June 09, 2017
Technology
1
87
AWS Lambda
Serverless, event-driven compute service
Julian Kleinhans
June 09, 2017
Tweet
Share
More Decks by Julian Kleinhans
See All by Julian Kleinhans
AWS Kinesis
kj187
2
230
AWS Lambda
kj187
1
59
Other Decks in Technology
See All in Technology
コンパウンド組織のCRE #cre_meetup
layerx
PRO
1
260
マルチエージェントのチームビルディング_2025-10-25
shinoyamada
0
150
クラウドとリアルの融合により、製造業はどう変わるのか?〜クラスメソッドの製造業への取組と共に〜
hamadakoji
0
420
入院医療費算定業務をAIで支援する:包括医療費支払い制度とDPCコーディング (公開版)
hagino3000
0
110
SQLAlchemy の select(User).where(User.id =="123") を理解してみる/sqlalchemy deep dive
3l4l5
3
350
初めてのDatabricks Apps開発
taka_aki
1
380
混合雲環境整合異質工作流程工具運行關鍵業務 Job 的經驗分享
yaosiang
0
180
AI時代の開発を加速する組織づくり - ブログでは書けなかったリアル
hiro8ma
1
310
パフォーマンスチューニングのために普段からできること/Performance Tuning: Daily Practices
fujiwara3
2
110
オブザーバビリティが育むシステム理解と好奇心
maruloop
2
1.1k
SOTA競争から人間を超える画像認識へ
shinya7y
0
360
AI駆動で進める依存ライブラリ更新 ─ Vue プロジェクトの品質向上と開発スピード改善の実践録
sayn0
1
300
Featured
See All Featured
Become a Pro
speakerdeck
PRO
29
5.6k
For a Future-Friendly Web
brad_frost
180
10k
How to Think Like a Performance Engineer
csswizardry
27
2.1k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
22k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Music & Morning Musume
bryan
46
6.9k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
Facilitating Awesome Meetings
lara
57
6.6k
jQuery: Nuts, Bolts and Bling
dougneiner
65
7.9k
Documentation Writing (for coders)
carmenintech
75
5.1k
GraphQLとの向き合い方2022年版
quramy
49
14k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.7k
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!