Slide 1

Slide 1 text

COMPUTING (WITH INFRASTRUCTURE) Niko Köbler So ware-Architect, Developer & Trainer | | SERVERLESS AWS [email protected] www.n-k.de @dasniko

Slide 2

Slide 2 text

@dasniko

Slide 3

Slide 3 text

http://www.jug-da.de @JUG_DA

Slide 4

Slide 4 text

DISCLAIMER This is silver bullet, no standard, but opinionated! NO

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

This is what actually means... serverless

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

Serverless is about the of servers. Build and run applications servers. management without thinking about

Slide 12

Slide 12 text

OF COMPUTING Physical Servers in datacenters Virtual Machines in datacenters Virtual Machines in Cloud Containers on Virtual Machines Serverless as the unit of compute EVOLUTION

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

COMPUTE Functions are the unit of deployment and scaling. No machines, VMs, or containers visible in the programming model. Permanent storage lives elsewhere. Scales per request; Users cannot over- or under-provision capacity. Never pay for idle (no cold servers/containers or their costs). Implicitly fault-tolerant because functions can run anywhere. BYOC - Bring Your Own Code. Metrics and logging are a universal right. SERVERLESS MANIFESTO

Slide 16

Slide 16 text

? Unit of deployment and scale! PaaS FaaS is as DevOps NoOps PAAS vs. vs.

Slide 17

Slide 17 text

No content

Slide 18

Slide 18 text

AWS Event Driven JVM-based languages (Java 8), JavaScript (Node.js), Python, C#, (more to come) Versions, Encrypted Environment Variables, Step Functions Pay as you use - in 100ms blocks (e.g. 100ms w/ 128MB memory = USD 0.000000208) LAMBDA

Slide 19

Slide 19 text

No content

Slide 20

Slide 20 text

AWS EVENTS S3 Cloud Watch Config AWS IoT Cognito SES API Gateway (no complete list) LAMBDA DynamoDB Cloud Formation Kinesis Code Commit SNS Echo / Alexa Cron

Slide 21

Slide 21 text

No content

Slide 22

Slide 22 text

GATEWAY "Reverse Proxy" hides possible multiple service calls (aka "service composition", ESB?) distributes requests to proper service instances "Mock" services Authentication / Authorization Caching, Throttling, DDoS attack protection, etc. API

Slide 23

Slide 23 text

No content

Slide 24

Slide 24 text

DYNAMO Fully Managed NoSQL Data Store Schemaless Data Model DynamoDB Streams Record TTL Seamless Scalabiltiy, "no limits" Pay by Read-/Write-Capacity-Units and used storage, not by time DB

Slide 25

Slide 25 text

No content

Slide 26

Slide 26 text

Example CASES USE

Slide 27

Slide 27 text

SERVERLESS ARCHITECTURE WEB

Slide 28

Slide 28 text

No content

Slide 29

Slide 29 text

No content

Slide 30

Slide 30 text

API Gateway with , Push and SNS SQS

Slide 31

Slide 31 text

SKILLS BOTS (CHAT/VOICE) ALEXA

Slide 32

Slide 32 text

COMPETITORS?

Slide 33

Slide 33 text

Provider since Environment AWS Lambda 2014 JavaScript, Python, Java, C# Microso AzureFunctions 2016 JavaScript, Python, Java, C#, PHP Google CloudFunctions 2016 JavaScript IBM Bluemix w/ OpenWhisk* 2014 JavaScript, Python, Swi * Apache OpenWhisk is also available for on-premise usage as OSS under ASL2 COMPETITORS

Slide 34

Slide 34 text

THE FRAMEWORK Manages all the Cloud-Resources and Deployment. SERVERLESS serverless.com

Slide 35

Slide 35 text

BUT POWERFUL No need to run/manage Application Servers Fast results, minimal effort, minimal TTM(!) Low costs, minimal financial risk Automatic Scalabiltiy and Availability "out-of-the-box" SERVERLESS

Slide 36

Slide 36 text

No content

Slide 37

Slide 37 text

# BUCH / entwickler. / ~ summer 2017 SERVERLESS serverlessbuch.de @serverlessbuch press

Slide 38

Slide 38 text

THANK ! ANY ? Slides: Niko Köbler So ware-Architect, Developer & Trainer | | YOU QUESTIONS http://bit.ly/serverless-javaland [email protected] www.n-k.de @dasniko

Slide 39

Slide 39 text

LINKS AWS Lambda: Amazon API Gateway: Amazon DynamoDB: Google Cloud Functions: Microso Azure Functions: IBM OpenWhisk: Apache OpenWhisk: Serverless Framework: https://aws.amazon.com/lambda https://aws.amazon.com/api- gateway https://aws.amazon.com/dynamodb https://cloud.google.com/functions https://azure.microso .com/services/functions https://developer.ibm.com/openwhisk https://github.com/openwhisk http://serverless.com