Post on 22-Jan-2018
#WISSENTEILENLars Röwekamp | CIO New Technologies | open knowledge GmbH
#WISSENTEILEN@_openKnowledge
@mobileLarson
ServerlessWer braucht schon einen Server?
ÜBER MICH
Wer bin ich - und wenn ja, wie viele?
• CIO New Technologies • Enterprise & Mobile • Autor, Speaker, Coach & Mentor
• Snowboard & MTB Enthusiast• Mehrfacher Vater, einfacher Ehemann
Lars Röwekamp (a.k.a. @mobileLarson)
#WISSENTEILEN
LR
#WISSENTEILEN
#Servers:#Customer:
#Traffic:#Security:
Quantity? OS? Storage? CPU? Memory?
Start small! Grow fast! Die faster?
Moderate but peeks!
OS? Patches? Access Control?
#WISSENTEILEN
#LaborCost:#Risk:
#ResourceCost:#Scaling:
#LeadTime:
No not need to DIY
Don‘t have to care about the technical stack
Don‘t pay idle
Reduce to the max
Right here, right now
„Kein Server ist einfacher zu
verwalten, als kein Server.“
(Werner Vogels, CTO Amazon)
out-of-the-box self-scaling
out-of-the-boxself-scaling
cloud-basedsuper-backend
I had a dream ...
#WISSENTEILEN
Road to less Server
“Run your code highly-availablein the cloud
in response to eventsand scale without any servers
to manage.“
#WISSENTEILEN
Main Player
AWS Lambda
MicrosoftAzure Functions
OracleProject FN***)
ApacheOpenWhisk**)
Google CloudFunctions*)
#WISSENTEILEN
How does it work?
S3 Bucket
DynamoDB
Kinesis
EVENT
EVENT
INVOKE
Stateless Code(a.k.a. AWS Lambda)
#WISSENTEILEN
How does it work?
S3 Bucket
DynamoDB
Kinesis
INVOKE
INVOKE
RETURN
Stateless Code(Node, Python, Java, C#)
#WISSENTEILEN
Subscribe to ...
Amazon S3
Amazon DynamoDB
Amazon Kinesis
AWS CloudFormation
AWS CloudTrail
Amazon CloudWatch
Amazon SNS
AmazonSES
AmazonAPI GatewayAmazon
Cognito
AWSIoT
AmazonAlexa
CronEvents
DATA STORES ENDPOINTS
REPOSITORIES EVENT/MESSAGE SERVICES
Amazon Config
#WISSENTEILEN
Anatomy
Handler Function
Lambda Function
</>
„...“
Event Object
Context Object
...{IAM Role
#WISSENTEILEN
Anatomy
Handler Function
Lambda Function
</>
„...“
Event Object
Context Object
...{IAM Role
Return Object*
#WISSENTEILEN
Anatomy
Lambda Function
1. Number of Calls**2. Memory Usage***{IAM Role
Return Object*(**first 1 million for free, ***first 400.000 sec free for 1 GB memory)
/* super advanced lambda function */public class HelloWorld {
public String handle(String name, Context ctx) {
return “Hello“ + name;}
}
#WISSENTEILEN
FaaS @work
FaaS @Work: Hello World
Kontakt
LARS RÖWEKAMPCIO NEW TECHNOLOGIES
lars.roewekamp@openknowledge.de+49 (0)441 4082 – 101
@mobileLarson@_openknowledge
OFFENKUNDIGGUT
#WISSENTEILEN
Bildnachweise
#1: © taw4 – shutterstock.com#4: © RichVintage – istockphoto.com#10: © foxaon1978 – shutterstock.com#11: © Guido van Nispen – wikipedia.com#14: © vasakna – fotolia.com#30: © pathdoc - fotolia.com#67: © tomer_turjeman – fotolia.com
All other pictures inside this presentation orginate from pixabay.com.
#WISSENTEILEN