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 - Lunch&Learn CleverToday - Mars 2017

353 views

Published on

What is Serverless? What is BaaS and FaaS? That presentation give an introduction to those concepts and explains what are there benefits and drawbacks.

Published in: Technology
  • Be the first to comment

Serverless - Lunch&Learn CleverToday - Mars 2017

  1. 1. CleverToday Serverless Architecture
  2. 2. CleverToday
  3. 3. CleverToday Cloud Computing - Reminders
  4. 4. CleverToday What is the Cloud? “Cloud computing is on-demand access to virtualized IT resources that are housed outside of your own data center, shared by others, simple to use, paid for via subscription, and accessed over the Web.” - John Foley, Information Week IaaS
  5. 5. CleverToday What is the Cloud? “Cloud computing is on-demand access to virtualized IT resources that are housed outside of your own data center, shared by others, simple to use, paid for via subscription, and accessed over the Web.” - John Foley, Information Week IaaS
  6. 6. CleverToday Different types of Cloud
  7. 7. CleverToday Serverless
  8. 8. CleverToday Hot topic
  9. 9. CleverToday What is Serverless? • Two different but overlapping areas: • Backend as a Service (BaaS) • Function as a Service (FaaS)
  10. 10. CleverToday Backend as a Service • 3rd party applications / services in the cloud to manage server-side logic and state • Application using them were the first called Serverless • Rich client applications (SPA or mobile apps)
  11. 11. CleverToday (Mobile) Backend as a Service: Example
  12. 12. CleverToday Backend as a Service: Example
  13. 13. CleverToday Functions as a Service • 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
  14. 14. CleverToday Functions as a Service: Example https://aws.amazon.com/lambda/
  15. 15. CleverToday Functions as a Service: Example https://aws.amazon.com/lambda/
  16. 16. CleverToday Functions as a Service: Example https://aws.amazon.com/lambda/
  17. 17. CleverToday Language and Framework agnostic
  18. 18. CleverToday FaaS vs PaaS
  19. 19. CleverToday FaaS vs PaaS
  20. 20. CleverToday FaaS pricing 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
  21. 21. CleverToday Traditional 3-tier client-oriented architecture Client (Browser) PetStore Server Database
  22. 22. CleverToday Traditional 3-tier client-oriented architecture Client (Browser) PetStore Server Database
  23. 23. CleverToday Serverless Architecture API Gateway Purchase Function Search Function Client (Browser) Authorization Service (Auth0) Product Database (Firebase) Purchase Database (Fauna)
  24. 24. CleverToday #NoOps? • Serverless might mean ‘No internal Sys Admin’ • But ops are still recommended for: • Monitoring • Deployments • Security • And everything they never have time to focus on :-)
  25. 25. CleverToday Benefits
  26. 26. CleverToday Reduced operational cost • Economy of scale • BaaS: • Less development • Less infrastructure • Less ops • FaaS: • Only pay for the compute that you need!
  27. 27. CleverToday Easier Operational Management • Scaling benefits • Reduced packaging and deployment complexity • Time to market / experimentation
  28. 28. CleverToday Drawbacks
  29. 29. CleverToday The inherent ones • Vendor control • Multitenancy problems • Vendor lock-in • Security concerns • FaaS are stateless
  30. 30. CleverToday The implementation ones • Execution duration • Testing • Monitoring / Debugging • Lack of tools and experience
  31. 31. CleverToday Serverless Framework • Command-line tool providing: • Scaffolding • Workflow automation • Plugin system • Easy deployment to most of the FaaS services
  32. 32. CleverToday Conclusion
  33. 33. CleverToday Conclusion • Serverless systems are still in their infancy • Push a better thinking of the architecture • Micro-services! • Reduce time-to-market • Ready for production? • Apache OpenWhisk (by IBM)!
  34. 34. CleverToday Thank you!

×