serverless as a collaborative economy enabler

41
SERVERLESS AS A COLLABORATIVE ECONOMY ENABLER BART BLOMMAERTS @DAGGIEBE

Upload: bart-blommaerts

Post on 13-Feb-2017

105 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Serverless as a Collaborative Economy Enabler

SERVERLESS AS A COLLABORATIVE ECONOMY

ENABLERBART BLOMMAERTS@DAGGIEBE

Page 2: Serverless as a Collaborative Economy Enabler

SERVERLESS AS A COLLABORATIVE ECONOMY ENABLER

BART BLOMMAERTS

▸ Application Architect

▸ Ordina Belgium

▸ JWorks

▸ @DaggieBe

Page 3: Serverless as a Collaborative Economy Enabler

WHAT?SERVERLESS

Page 4: Serverless as a Collaborative Economy Enabler

IAAS

Page 5: Serverless as a Collaborative Economy Enabler

PAAS

Page 6: Serverless as a Collaborative Economy Enabler

▸ Not having a clue

CLUE - LESS

Page 7: Serverless as a Collaborative Economy Enabler

▸ Not having … servers?

SERVER - LESS

Page 8: Serverless as a Collaborative Economy Enabler

SERVERLESS AS A COLLABORATIVE ECONOMY ENABLER

NO MORE SERVERS ?

▸ Obviously not

▸ Existence of servers is hidden

▸ Applications need to run on something

▸ But …

Page 9: Serverless as a Collaborative Economy Enabler

SERVERLESS AS A COLLABORATIVE ECONOMY ENABLER

NO MORE WORRIES ?

▸ Well ..

▸ Less server management

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

Page 10: Serverless as a Collaborative Economy Enabler

SERVERLESS AS A COLLABORATIVE ECONOMY ENABLER

NO MORE OPS ?

▸ Well …

▸ Specialised, outsourced team

▸ Still need:

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

▸ Opportunity for tooling!

Page 11: Serverless as a Collaborative Economy Enabler

SERVERLESS AS A COLLABORATIVE ECONOMY ENABLER

NO MORE OPS ?

▸ Opportunity for tooling

▸ https://github.com/anaibol/awesome-serverless#frameworks

Page 12: Serverless as a Collaborative Economy Enabler

SERVERLESS AS A COLLABORATIVE ECONOMY ENABLER

NO MORE OPS ?

▸ Managing servers

▸ Takes a lot of time

▸ Is error-prone

▸ Is difficult

Page 13: Serverless as a Collaborative Economy Enabler

FAAS

Page 14: Serverless as a Collaborative Economy Enabler

SERVERLESS AS A COLLABORATIVE ECONOMY ENABLER

EVENT-DRIVEN

▸ Can be triggered by many different event types

▸ Depends on cloud provider

Page 15: Serverless as a Collaborative Economy Enabler

SERVERLESS AS A COLLABORATIVE ECONOMY ENABLER

PAY PER EXECUTION

▸ No running servers

▸ Only consume server time, when executed

▸ Only pay when executed

▸ Small operational cost

Page 16: Serverless as a Collaborative Economy Enabler

SERVERLESS AS A COLLABORATIVE ECONOMY ENABLER

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 17: Serverless as a Collaborative Economy Enabler

SERVERLESS AS A COLLABORATIVE ECONOMY ENABLER

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 18: Serverless as a Collaborative Economy Enabler

SERVERLESS AS A COLLABORATIVE ECONOMY ENABLER

STATELESS

▸ No state is stored between invocations

▸ To preserve state, use

▸ a database

▸ the file system

▸ cross-application cache

▸ …

Page 19: Serverless as a Collaborative Economy Enabler

SERVERLESS AS A COLLABORATIVE ECONOMY ENABLER

EASIER

▸ Well …

▸ If you want to :)

Page 20: Serverless as a Collaborative Economy Enabler

LESS SERVER MANAGEMENT EVENT-DRIVEN

PAY PER EXECUTION SEAMLESS SCALING

STATELESS EASIER

Page 21: Serverless as a Collaborative Economy Enabler

SUPPLIERSSERVERLESS

Page 22: Serverless as a Collaborative Economy Enabler

AWS LAMBDA

Page 23: Serverless as a Collaborative Economy Enabler

IBM BLUEMIX OPENWHISK

Page 24: Serverless as a Collaborative Economy Enabler

MICROSOFT AZURE CLOUD FUNCTIONS

Page 25: Serverless as a Collaborative Economy Enabler

GOOGLE CLOUD FUNCTIONS

Page 26: Serverless as a Collaborative Economy Enabler

AUTH0 WEBTASK

Page 27: Serverless as a Collaborative Economy Enabler

DEMOCOLLABORATIVE ECONOMY

Page 28: Serverless as a Collaborative Economy Enabler

SHARING ECONOMY INCLUDES THE SHARED CREATION, PRODUCTION, DISTRIBUTION, TRADE AND CONSUMPTION OF GOODS AND SERVICES BY DIFFERENT PEOPLE AND ORGANISATIONS.

BENITA MATOFSKA

Page 29: Serverless as a Collaborative Economy Enabler

SHARING ECONOMY INCLUDES THE SHARED CREATION, PRODUCTION, DISTRIBUTION, TRADE AND CONSUMPTION OF GOODS AND SERVICES BY DIFFERENT PEOPLE AND ORGANISATIONS.

BENITA MATOFSKA

Page 30: Serverless as a Collaborative Economy Enabler

SERVERLESS AS A COLLABORATIVE ECONOMY ENABLER

5 LAYERS OF COLLABORATIVE ECONOMY

1.Shareable resources - awareness of idle capacity

2.Device & Application - capability to access resources

3.Developer - connection of multiple systems

▸ SDK’s, API’s

4.Trust - rapid distribution among strangers

5.Data

Page 31: Serverless as a Collaborative Economy Enabler

SERVERLESS AS A COLLABORATIVE ECONOMY ENABLER

YOUR DATA

▸ Use your data

▸ Publish an API

▸ Enrich existing data

Page 32: Serverless as a Collaborative Economy Enabler

SERVERLESS AS A COLLABORATIVE ECONOMY ENABLER

YOUR IDEA

▸ Use someone else's data

▸ Combine data

▸ Use data differently

▸ Creativity adds value

Page 33: Serverless as a Collaborative Economy Enabler

SERVERLESS AS A COLLABORATIVE ECONOMY ENABLER

YOUR PARTNERS

▸ Share data and ideas

▸ To generate new services

▸ Specific / new API’s

Page 34: Serverless as a Collaborative Economy Enabler

SERVERLESS ENABLES

EXPERIMENTATION

Page 35: Serverless as a Collaborative Economy Enabler
Page 36: Serverless as a Collaborative Economy Enabler

SERVERLESS AS A COLLABORATIVE ECONOMY ENABLER

THE SERVERLESS FRAMEWORK

▸ CLI

▸ Scaffolding

▸ Best practices (grouping of functions)

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

▸ Soon to be supplier independent

▸ https://serverless.com

Page 37: Serverless as a Collaborative Economy Enabler

SERVERLESS AS A COLLABORATIVE ECONOMY ENABLER

COLLABORATIVE ECONOMY

▸ Code

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

▸ IoT

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

Page 38: Serverless as a Collaborative Economy Enabler

BEST PRACTICESSERVERLESS

Page 39: Serverless as a Collaborative Economy Enabler

SERVERLESS AS A COLLABORATIVE ECONOMY ENABLER

SUPPLIER CHOICE

▸ Integration

▸ Offering

▸ Tooling

▸ Build and deploy

▸ Monitoring

▸ Execution time is limited

▸ SLA?

Page 40: Serverless as a Collaborative Economy Enabler

SERVERLESS AS A COLLABORATIVE ECONOMY ENABLER

CODE

▸ Initialize services outside of function

▸ eg. database connection

▸ Limit your function size

▸ Use an external editor

Page 41: Serverless as a Collaborative Economy Enabler

THANK YOU

@DAGGIEBE