Serverless and IoT - Philipp Muns

Post on 15-Apr-2017

216 views 2 download

transcript

Serverless and IoT

Agenda

1. About me

2. What is Serverless?

3. What is the Serverless Framework?

4. Live coding

5. IoT examples

6. How do I get started?

7. Q & A

About me

About me

- Philipp Müns (27) from Paderborn, Germany

- Web development since ~2000 (“Frontpage era”)

- Studied computer science in Mannheim (Bachelor) and Paderborn (Master)

- Professional web development as a consultant (Ruby on Rails, Meteor, Node.js)

- Saw the Serverless Framework (previously JAWS) on HackerNews

- “Just Serverless” Blog / Agency, “Learn Serverless” book, learning materials

- Joined Serverless, Inc. as a Full-Time Core Developer / Maintainer

What is Serverless?

Client (HTTP)Server

Request

Response

Client (HTTP)Server

Request

Response

Client (HTTP)

ServerRequest

Response

Server

...

LB

Client (HTTP)

ServerRequest

Response

Server

...

LB

Client (HTTP)

ServerRequest

Response

Server

...

LB

$

$

$

Client (HTTP)

Request

Response

Black Box

Client (HTTP)

Request

Response

λ

Client (HTTP)

Request

Response

λ

λ

λ

λ

Client (HTTP)

Request

Response

λ

λ

λ

λ

λ

λ

λ

λ

λ

λ

λ

λ

Client (HTTP)

Request

Response

16000 req. / Day (200ms avg. res. time)

2 Servers $2.97 / Day

Serverless $0.05 / Day

Was ist Serverless?

Image (raw)

Image (thumbnail)

λ

Push notification

E-Mail

λ

“Scheduled”

E-Mail

λ

IoT device

Store data in DB

λ

λ

“Do something”

“Event comes in”

What is the Serverless Framework?

What is the Serverless Framework?

What is the Serverless Framework?

What is the Serverless Framework?

Event driven

“Pay per execution”

Scales automatically

No maintenance costs

Low total cost of ownership

Was ist Serverless?

Focus on code

Serverless teams

Live coding

IoT examples

https://github.com/garden-aid

How do I get started?

https://serverless.com/framework/docs/providers/aws/guide/intro/

Q & A

Thank you for your attention!