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.

Serverless Applications

127 views

Published on

Slides used for the Technologies Web & Logiciels Libres Montreal Meetup, the 08 May 2018.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Serverless Applications

  1. 1. Document Confidentiel – Interdit à la reproduction Serverless Applications Reduce your costs, improve your architecture !1
  2. 2. Document Confidentiel – Interdit à la reproduction !2 • Two different but overlapping areas: ▪ Backend as a Service (BaaS) ▪ Function as a Service (FaaS) What is Serverless? Serverless
  3. 3. Document Confidentiel – Interdit à la reproduction !3 Backend as a Service Serverless Authorization Server Content Server
  4. 4. Document Confidentiel – Interdit à la reproduction !4 • Server-side logic written by the application developer • Run in stateless compute containers • Event-triggered • Ephemeral (one or more invocation) • Fully managed by a 3rd party Functions as a Service Serverless
  5. 5. Document Confidentiel – Interdit à la reproduction !5 Functions as a Service: Example Serverless https://aws.amazon.com/lambda/
  6. 6. Document Confidentiel – Interdit à la reproduction !6 Functions as a Service: Example Serverless https://aws.amazon.com/lambda/
  7. 7. Document Confidentiel – Interdit à la reproduction !7 Demo Serverless API Gateway Create game List games Get game Play DynamoDB
  8. 8. Document Confidentiel – Interdit à la reproduction !8 https://github.com/weber-gregoire/tic-tac-toe-serverless-demo
  9. 9. Document Confidentiel – Interdit à la reproduction !9 Language and Framework agnostic Serverless
  10. 10. Document Confidentiel – Interdit à la reproduction !10 FaaS pricing Serverless AWS Lambda Google Functions Azure Functions Requests $0.20 / million requests $0.40 / million requests $0.20 / million requests Duration $0.00001667 / GB-second $0.0000025 / GB-second $0.0000100 / GHz-second $0.000016 / GB-second Free Tier 1 million requests / month 400,000 GB-s / month 2 million requests / month 400,000 GB-s / month 200,000 GHz-s / month 1 million requests / month 400,000 GB-s / month
  11. 11. Document Confidentiel – Interdit à la reproduction !11 Serverless Architecture Serverless API Gateway Purchase Function Search Function Client (Browser) Authorization Service (Auth0) Product Database (Firebase) Purchase Database (Fauna)
  12. 12. Document Confidentiel – Interdit à la reproduction ON RECRUTE ! Venez boire une bière avec nous :-)

×