35
THE SERVERLESS CLOUD BART BLOMMAERTS @DAGGIEBE

The Serverless Cloud @ JAX London 2016

Embed Size (px)

Citation preview

Page 1: The Serverless Cloud @ JAX London 2016

THE SERVERLESS CLOUDBART BLOMMAERTS@DAGGIEBE

Page 2: The Serverless Cloud @ JAX London 2016

THE SERVERLESS CLOUD

BART BLOMMAERTS

▸ Application Architect

▸ Ordina Belgium

▸ JWorks

▸ @DaggieBe

Page 3: The Serverless Cloud @ JAX London 2016

WHAT?SERVERLESS

Page 4: The Serverless Cloud @ JAX London 2016

IAAS

Page 5: The Serverless Cloud @ JAX London 2016

PAAS

Page 6: The Serverless Cloud @ JAX London 2016

▸ Not having a clue

CLUE - LESS

Page 7: The Serverless Cloud @ JAX London 2016

▸ Not having … servers?

SERVER - LESS

Page 8: The Serverless Cloud @ JAX London 2016

THE SERVERLESS CLOUD

NO MORE SERVERS ?

▸ Obviously not

▸ Existence of servers is hidden

▸ Applications need to run on something

▸ But …

Page 9: The Serverless Cloud @ JAX London 2016

THE SERVERLESS CLOUD

NO MORE WORRIES ?

▸ Well ..

▸ Less server management

▸ No worries about security updates, scalability, availability, …

Page 10: The Serverless Cloud @ JAX London 2016

THE SERVERLESS CLOUD

NO MORE OPS ?

▸ Well …

▸ Specialised, outsourced team

▸ Still need:

▸ Monitoring, deployment, security, networking, debugging support, memory management, scaling, configuration, …

▸ Opportunity for tooling!

Page 11: The Serverless Cloud @ JAX London 2016

FAAS

Page 12: The Serverless Cloud @ JAX London 2016

THE SERVERLESS CLOUD

EVENT-DRIVEN

▸ Can be triggered by many different event types

▸ Depends on cloud provider

Page 13: The Serverless Cloud @ JAX London 2016

THE SERVERLESS CLOUD

PAY PER EXECUTION

▸ No running servers

▸ Only consume server time, when executed

▸ Only pay when executed

▸ Small operational cost

Page 14: The Serverless Cloud @ JAX London 2016

THE SERVERLESS CLOUD

PAY PER EXECUTION - EXAMPLE (AWS)

REPORT RequestId: da9f321f-c5ff-4a6f-a84b-e469cbca197d Duration: 0.61 ms Billed Duration: 100 ms Memory Size: 128 MB Max Memory Used: 16 MB

Page 15: The Serverless Cloud @ JAX London 2016

THE SERVERLESS CLOUD

SEAMLESS SCALING

▸ No risk of under- or over provisioning

▸ Short-lived “compute containers”

▸ Isolated from other functions

▸ Resources provided from function configuration

▸ Containers can be reused, but do not depend on it. It’s the suppliers prerogative to create a new one

Page 16: The Serverless Cloud @ JAX London 2016

THE SERVERLESS CLOUD

STATELESS

▸ No state is stored between invocations

▸ To preserve state, use

▸ a database

▸ the file system

▸ cross-application cache

▸ …

Page 17: The Serverless Cloud @ JAX London 2016

THE SERVERLESS CLOUD

EASIER

▸ Well …

▸ If you want to :)

Page 18: The Serverless Cloud @ JAX London 2016

LESS SERVER MANAGEMENT EVENT-DRIVEN

PAY PER EXECUTION SEAMLESS SCALING

STATELESS EASIER

Page 19: The Serverless Cloud @ JAX London 2016

SUPPLIERSSERVERLESS

Page 20: The Serverless Cloud @ JAX London 2016

AWS LAMBDA

Page 21: The Serverless Cloud @ JAX London 2016

IBM BLUEMIX OPENWHISK

Page 22: The Serverless Cloud @ JAX London 2016

MICROSOFT AZURE CLOUD FUNCTIONS

Page 23: The Serverless Cloud @ JAX London 2016

GOOGLE CLOUD FUNCTIONS

Page 24: The Serverless Cloud @ JAX London 2016

AUTH0 WEBTASK

Page 25: The Serverless Cloud @ JAX London 2016

DEMOCOLLABORATIVE ECONOMY

Page 26: The Serverless Cloud @ JAX London 2016

THE SERVERLESS CLOUD

YOUR DATA

▸ Use your data

▸ Publish an API

▸ Enrich existing data

Page 27: The Serverless Cloud @ JAX London 2016

THE SERVERLESS CLOUD

YOUR IDEA

▸ Use someone else's data

▸ Combine data

▸ Use data differently

▸ Creativity adds value

Page 28: The Serverless Cloud @ JAX London 2016

SERVERLESS ENABLES

EXPERIMENTATION

Page 29: The Serverless Cloud @ JAX London 2016
Page 30: The Serverless Cloud @ JAX London 2016

THE SERVERLESS CLOUD

THE SERVERLESS FRAMEWORK

▸ CLI

▸ Scaffolding

▸ Best practices (grouping of functions)

▸ Lifecycle support (create, deploy, invoke, …)

▸ Soon to be supplier independent

▸ https://serverless.com

Page 31: The Serverless Cloud @ JAX London 2016

THE SERVERLESS CLOUD

COLLABORATIVE ECONOMY

▸ Code

▸ https://github.com/bart-blommaerts/serverless-demo

▸ IoT

▸ https://github.com/ordina-jworks/lora-iot-demo

Page 32: The Serverless Cloud @ JAX London 2016

BEST PRACTICESSERVERLESS

Page 33: The Serverless Cloud @ JAX London 2016

THE SERVERLESS CLOUD

SUPPLIER CHOICE

▸ Integration

▸ Offering

▸ Tooling

▸ Build and deploy

▸ Monitoring

▸ Execution time is limited

▸ SLA?

Page 34: The Serverless Cloud @ JAX London 2016

THE SERVERLESS CLOUD

CODE

▸ Initialize services outside of function

▸ eg. database connection

▸ Limit your function size

▸ Use an external editor

Page 35: The Serverless Cloud @ JAX London 2016

THANK YOU

@DAGGIEBE