Node.js to Serverless by Dror Arazi | SeaLights' Meetup | 17/1/17

Post on 10-Feb-2017

225 views 1 download

Transcript of Node.js to Serverless by Dror Arazi | SeaLights' Meetup | 17/1/17

Node js to Serverless

<whoami />

Trust me,I have a beard

dror@sealights.io

The first cloud-based, continuous testing platform

SeaLights

Node.js to serverless<evolution>

<effects><actors>

<AWS-lambda><frameworks>

<claudia.js><claudia.js-DEMO>

<monitoring><x-ray>

<x-ray-DEMO>

<evolution />

Evolution of compute | Public cloud

infrastructure

Application code

instances

infrastructure

Application code

instances

containers

Evolution of compute | Containers

Application code

Evolution of compute | Serverless

<effects />

Datacenter

SnowflakesDeploy in

monthsLive for years

Virtualized and Cloud

Deploy in minutes

Live for weeks

Container Deploymen

tsDeploy in secondsLive for

minutes/hours

AWS LambdaDeploy in

millisecondsLive for seconds

Life’s getting shorter

Monolith

Container

Container

Container

Function

Function

Function

Function

Breaking microservices

Client

Proxy/LB

Server

Database

ClientAuth Service API Gateway Web Delivery

Function A

Function B

Database Service

No “black box” architecture

<actors />

What’s all the FaaS?

Dror Arazi
IBM openwhisk
Dror Arazi
joyent manta
Dror Arazi
iron.io ironworker
Dror Arazi
beloved aws lambda
Dror Arazi
microsoft azure functions
Dror Arazi
google functions
Dror Arazi
we can crop this and leave only the blue function logo
Bar Kofman
we can't cause of the errow.
Dror Arazi
https://cloud.google.com/images/products/functions/open.png
Dror Arazi
easier here...
Dror Arazi
we need joyent manta logo
Dror Arazi
https://www.joyent.com/manta
Dror Arazi
here, transparent: https://www.drupal.org/files/project-images/backup_migrate_manta.png
Bar Kofman
למה החתול ים הזה כזה חשוב? סתם מתוך עניין :)

<AWS-lambda />

AWS Lambda | Capabilities

AWS API Gateway

quick low-cost scaleable

focus simple no-ops

Pros

multitenancy

lock-in overhead

cold start monitoring

short-lived

Cons

<frameworks />

Apex Sparta

Serverless (JAWS)Deepify

Claudia.jsShep

Chalice KappaZappa

LambdaFramework Funktion serverless-docker

Dror Arazi
docker & kubernetes
Bar Kofman
Can you link me to these too?

Howdy Claudia

EVENT-DRIVENMICROSERVICES

AUTO-SCALINGWEB APIS

MULTI-PLATFORMCHAT BOTS

Why use Claudia?

Claudia.jsDEMO

<monitoring />

X-Ray unlocks inner traces

X-RayDEMO

ARM Wrestling

Traditional

Topology detection

<summary />

Dror Arazidror@sealights.io@dror_arazidroraTag-Scraper-Lambda

SeaLight’s Interactive Demo