Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
AWS Lambda
Search
Julian Kleinhans
June 09, 2017
Technology
1
95
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
240
AWS Lambda
kj187
1
64
Other Decks in Technology
See All in Technology
AI/MLのマルチテナント基盤を支えるコンテナ技術
pfn
PRO
5
770
技術以外の世界に『越境』しエンジニアとして進化を遂げる 〜Kotlinへの愛とDevHRとしての挑戦を添えて〜
subroh0508
1
260
M5UnifiedとPicoRubyで楽しむM5シリーズ
kishima
0
120
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
5
49k
32のキーワードで学ぶ はじめての耐量子暗号(PQC) / Getting Started with Post-Quantum Cryptography in 32 keywords
quiver
0
250
プロダクトマネジメントの分業が生む「デリバリーの渋滞」を解消するTPMの越境
recruitengineers
PRO
3
540
【AWS re:Invent 2025速報】AIビルダー向けアップデートをまとめて解説!
minorun365
3
350
タグ付きユニオン型を便利に使うテクニックとその注意点
uhyo
2
710
グレートファイアウォールを自宅に建てよう
ctes091x
0
130
オープンデータの内製化から分かったGISデータを巡る行政の課題
naokim84
2
1.4k
MS Ignite 2025で発表されたFoundry IQをRecap
satodayo
3
240
たかが特別な時間の終わり / It's Only the End of Special Time
watany
27
6.5k
Featured
See All Featured
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Facilitating Awesome Meetings
lara
57
6.7k
BBQ
matthewcrist
89
9.9k
[RailsConf 2023] Rails as a piece of cake
palkan
58
6.1k
Building Adaptive Systems
keathley
44
2.9k
Embracing the Ebb and Flow
colly
88
4.9k
The Art of Programming - Codeland 2020
erikaheidi
56
14k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
KATA
mclloyd
PRO
32
15k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.5k
A Modern Web Designer's Workflow
chriscoyier
697
190k
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!