Sam Kroonenburg and Pete Sbarski - The Story of a Serverless Startup

27
Disrupting old business models: The story of a serverless startup

Transcript of Sam Kroonenburg and Pete Sbarski - The Story of a Serverless Startup

Disrupting old business models: The story of a serverless startup

2

Sam Kroonenburg Co-Founder&CTO

Peter Sbarski, PhD VPEngineering

ACloudGuru

@samkroon

ACloudGuru

@sbarski

@samkroon@sbarski

4

55,000+ engineers Across 117 countries

@samkroon@sbarski

5

9

Benefits

Rapid Time To Market Scale Effortlessly Disruptive Cost Model

@samkroon@sbarski

PrinciplesofServerlessArchitecture

Illustrated with A Cloud Guru Examples

Use a compute service to execute code on demand

Write single-purpose stateless functions

Design push-based, event-driven pipelines

Create thicker, more powerful front ends

Embrace third party services

1.Useacomputeservicetoexecutecodeondemand(akadon’truna

server).

API Gateway

Lambda Function

Simple Queue Service Kinesis

Client

S3 Bucket (Storage)

Computeasbackend

Simple Notification Services

S3 Bucket (Storage)

Relational Database Service

CloudSearch

S3 Bucket (Storage)

Simple Email Service

Computeasglue

14

Lambda is to compute, what S3 is to storage.

@samkroon@sbarski

2.Writesingle-purposestatelessfuncGons

16

A look at what we built

Our Lambda Functions

SubmitQues?on

Submit Answer

17

Vote

Gurubot

Take Payment

Request Protected File

3.Designpush-based,event-drivenpipelines

EncodingMedia

Peter uploads a file

Lambda Firebase (Database)

Source S3 Bucket Lambda Elastic Transcoder

Destination S3 SNS

Lambda Destination S3 Lambda

4.Createthicker,morepowerfulfrontends

01 UserInterface

0302 ClientSideModelBinding

ClientSideServiceLayer

06 ServerSideDBMapping

05 ServerSideModelBinding

04 ServerSideServiceLayer

07 DatabaseStorage

Angular JS App Running In The Browser Across All Devices

S3forLargeFileUpload/Download

CreditCardPayments

AuthenGcaGonService

RealTimeStreamingDatabase

CustomFuncGonsRunninginAWSLambda

AWSAPIGateway

forgeneraGngandsendingbeauGfultemplatedemailsbasedonsystemevents

AWSCloudSearch

CustomerAnalyGcs

&Messaging

01 UserInterface

0302 ClientSideModelBinding

ClientSideServiceLayer

04 DatabaseStorage 05 CloudFuncGons

5.Usethirdpartyservices

What’s next - Immutable architectures

Produc?onDeployment1

Produc?onDeployment2

API Gateway User’s Browser

Version 1

Version 2

26

How can you get started?

•  Follow@acloudguruforserverlessconfvideos

•  h\p://acloud.guru-freelambdacourseforallaIendees.

•  Book:“ServerlessArchitecturesonAWS”h\p://serverless.acloud.guru40%offforaIendees

@samkroon@sbarski

Thanks ;-)

http://acloud.guru @samkroon @sbarski