Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

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


Published on

Presented at ServerlessConf NYC 2016.

A Cloud Guru is a completely serverless online learning platform that connects 50,000+ users in real-time, using AWS Lambda, Firebase and a huge array of 3rd party cloud services. We’ll tell the story of building a completely serverless company, and how this approach has literally fueled our business model, and enabled us to disrupt the training industry. We’ll explain the 5 principles you should following when adopting serverless architectures, and walk through real-world examples of each from our platform. Expect to hear about AWS Lambda, Firebase, Auth0, CloudSearch, Elastic Transcoder, S3, CloudFront CDN and lots of JavaScript!

Published in: Internet

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

  1. 1. Disrupting old business models: The story of a serverless startup
  2. 2. 2 Sam Kroonenburg Co-Founder & CTO Peter Sbarski, PhD VP Engineering A Cloud Guru @samkroon A Cloud Guru @sbarski
  3. 3. @samkroon @sbarski
  4. 4. 4 55,000+ engineers Across 117 countries @samkroon @sbarski
  5. 5. 5
  6. 6. 9 Benefits Rapid Time To Market Scale Effortlessly Disruptive Cost Model @samkroon @sbarski
  7. 7. Principles of Serverless Architecture 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
  8. 8. 1. Use a compute service to execute code on demand (aka don’t run a server).
  9. 9. API Gateway Lambda Function Simple Queue ServiceKinesis Client S3 Bucket (Storage) Compute as back end
  10. 10. Simple Notification Services S3 Bucket (Storage) Relational Database Service CloudSearch S3 Bucket (Storage) Simple Email Service Compute as glue
  11. 11. 14 Lambda is to compute, what S3 is to storage. @samkroon @sbarski
  12. 12. 2. Write single-purpose stateless funcGons
  13. 13. 16 A look at what we built Our Lambda Functions Submit Ques?on Submit Answer
  14. 14. 17 Vote Gurubot Take Payment Request Protected File
  15. 15. 3. Design push-based, event-driven pipelines
  16. 16. Encoding Media Peter uploads a file LambdaFirebase (Database) Source S3 Bucket Lambda Elastic Transcoder Destination S3SNS LambdaDestination S3 Lambda
  17. 17. 4. Create thicker, more powerful front ends
  18. 18. 01 User Interface 03 02 Client Side Model Binding Client Side Service Layer 06 Server Side DB Mapping 05 Server Side Model Binding 04 Server Side Service Layer 07 Database Storage
  19. 19. Angular JS App Running In The Browser Across All Devices S3 for Large File Upload/Download Credit Card Payments AuthenGcaGon Service Real Time Streaming Database Custom FuncGons Running in AWS Lambda AWS API Gateway for generaGng and sending beauGful templated emails based on system events AWS CloudSearch Customer AnalyGcs & Messaging
  20. 20. 01 User Interface 03 02 Client Side Model Binding Client Side Service Layer 04 Database Storage 05 Cloud FuncGons
  21. 21. 5. Use third party services
  22. 22. What’s next - Immutable architectures Produc?on Deployment 1 Produc?on Deployment 2 API GatewayUser’s Browser Version 1 Version 2
  23. 23. 26 How can you get started? •  Follow @acloudguru for serverlessconf videos •  hp:// - free lambda course for all aIendees. •  Book: “Serverless Architectures on AWS” hp:// 40% off for aIendees @samkroon @sbarski
  24. 24. Thanks ;-) @samkroon @sbarski