35
Look Ma! No Servers! Erwin van der Koogh Principal Consultant @evanderkoogh How serverless architectures are going to change the world of software development

Look Ma! No Servers! - Introduction to Serverless Architectures

Embed Size (px)

Citation preview

Page 1: Look Ma! No Servers! - Introduction to Serverless Architectures

Look Ma! No Servers!

Erwin van der Koogh Principal Consultant @evanderkoogh

How serverless architectures are going to change the world

of software development

Page 2: Look Ma! No Servers! - Introduction to Serverless Architectures

think sharp evanderkoogh

“Soon deploying applications will be as out-dated as manual memory management for exactly the same reasons.. “

- 2 year younger me

Page 3: Look Ma! No Servers! - Introduction to Serverless Architectures

think sharp evanderkoogh

Page 4: Look Ma! No Servers! - Introduction to Serverless Architectures

think sharp

Example

Page 5: Look Ma! No Servers! - Introduction to Serverless Architectures

think sharp evanderkoogh

2 DynamoDB Tables: Threads & Posts

Page 6: Look Ma! No Servers! - Introduction to Serverless Architectures

think sharp evanderkoogh

Lambda: GetThreads

Page 7: Look Ma! No Servers! - Introduction to Serverless Architectures

think sharp evanderkoogh

Lambda: GetPosts

Page 8: Look Ma! No Servers! - Introduction to Serverless Architectures

think sharp evanderkoogh

Lambda: newPosts

Page 9: Look Ma! No Servers! - Introduction to Serverless Architectures

think sharp evanderkoogh

Lambda: Authorise

Page 10: Look Ma! No Servers! - Introduction to Serverless Architectures

think sharp evanderkoogh

Lambda: updateLastPost

Page 11: Look Ma! No Servers! - Introduction to Serverless Architectures

think sharp evanderkoogh

Host SPA on S3 & Cloudfront

Page 12: Look Ma! No Servers! - Introduction to Serverless Architectures

think sharp

Consequences

Page 13: Look Ma! No Servers! - Introduction to Serverless Architectures

think sharp evanderkoogh

Microservices all the way down

Page 14: Look Ma! No Servers! - Introduction to Serverless Architectures

think sharp evanderkoogh

CQRS / Event Sourcing

Page 15: Look Ma! No Servers! - Introduction to Serverless Architectures

think sharp

Beware of the Dragons..

Page 16: Look Ma! No Servers! - Introduction to Serverless Architectures

think sharp evanderkoogh

Distributed Computing

is hard..

Page 17: Look Ma! No Servers! - Introduction to Serverless Architectures

think sharp evanderkoogh

Debugging distributed systems

is harder

Page 18: Look Ma! No Servers! - Introduction to Serverless Architectures

think sharp evanderkoogh

updateLastPost did it

In the Query

With a TimeOut

Page 19: Look Ma! No Servers! - Introduction to Serverless Architectures

think sharp evanderkoogh

Tools don’t support scaling

Yet?

Page 20: Look Ma! No Servers! - Introduction to Serverless Architectures

think sharp evanderkoogh

Page 21: Look Ma! No Servers! - Introduction to Serverless Architectures

think sharp

But there is also treasure

Page 22: Look Ma! No Servers! - Introduction to Serverless Architectures

think sharp evanderkoogh

“Our architecture does not include servers for the same reason it does not include electricity”

- Chris Turner (@bestfriendchris)

Page 23: Look Ma! No Servers! - Introduction to Serverless Architectures

think sharp evanderkoogh

2 x M3.Large EC2 + ELB?

$1645

Page 24: Look Ma! No Servers! - Introduction to Serverless Architectures

think sharp evanderkoogh

1 million typical API-Gateway / Lambda requests?

$5-8

Page 25: Look Ma! No Servers! - Introduction to Serverless Architectures

think sharp evanderkoogh

Not worrying about servers?

Priceless..

Page 26: Look Ma! No Servers! - Introduction to Serverless Architectures

think sharp evanderkoogh

Page 27: Look Ma! No Servers! - Introduction to Serverless Architectures

think sharp evanderkoogh

‘Immutable’ services

Page 28: Look Ma! No Servers! - Introduction to Serverless Architectures

think sharp evanderkoogh

Done services

Page 29: Look Ma! No Servers! - Introduction to Serverless Architectures

think sharp evanderkoogh

Page 30: Look Ma! No Servers! - Introduction to Serverless Architectures

think sharp evanderkoogh

Page 31: Look Ma! No Servers! - Introduction to Serverless Architectures

think sharp evanderkoogh

Email Thread Watchers

Page 32: Look Ma! No Servers! - Introduction to Serverless Architectures

think sharp evanderkoogh

Moderation

Page 33: Look Ma! No Servers! - Introduction to Serverless Architectures

think sharp evanderkoogh

Cloud Search

Page 34: Look Ma! No Servers! - Introduction to Serverless Architectures

think sharp evanderkoogh

Page 35: Look Ma! No Servers! - Introduction to Serverless Architectures

think sharp evanderkoogh