Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Serverless 5 Takeaways

Serverless 5 Takeaways

First, an introduction to Serverless and then 5 key takeaways

Serhat Can

April 13, 2019
Tweet

More Decks by Serhat Can

Other Decks in Technology

Transcript

  1. @srhtcn Ahmet wrote an amazing “Hello world” application. He thinks

    it is helpful. He wants to put it live: • Rents a server • Install OS, language, configure server • Upload and run the app
  2. @srhtcn People start using the app and want more features!

    • Add more servers, avoid downtime • Build and manage VM images • Language, configuration updates • Logs should be stored somewhere • Add some Docker magic • Monitor, Scale, Rollback, optimize costs
  3. @srhtcn Ahmet needs a “DevOps engineer” • Code in Python,

    Java, shell • Expert in AWS • CI/CD pipelines, Jenkins • Linux master • Ansible, Chef, Puppet, Git, Bitbucket
  4. @srhtcn Ahmet needs a “DevOps engineer” • Code in Python,

    Java, shell • Expert in AWS • CI/CD pipelines, Jenkins • Linux master • Ansible, Chef, Puppet, Git, Bitbucket • Maaş: 5000-6000 TL
  5. @srhtcn Ahmet needs a “DevOps engineer” • Code in Python,

    Java, shell • Expert in AWS • CI/CD pipelines, Jenkins • Linux master • Ansible, Chef, Puppet, Git, Bitbucket • Maaş: 5000-6000 TL
  6. @srhtcn Bare metal IaaS (VMs) CaaS (containers) Cloud computing models

    PaaS (Heroku, Elasticbean stalk) FaaS (YAY! Serverless!) AWS Amplify?!
  7. @srhtcn Pay per use, really No charge when code is

    not running Create value Focus on what really matters, ship fast
  8. @srhtcn Serverless is a cloud model where you • pay

    only for the time your code is executed • focus on providing business value, not managing your cloud environment.
  9. @srhtcn Our experience at 2015 Writing custom integrations for our

    customers 2016 AWS Lambda for ops tasks on production 2017 A new customer facing feature on AWS Lambda 2018 A Spin Off: Thundra - Observability for AWS Lambda
  10. @srhtcn • Event driven everything! • Functions should be idempotent

    • Stateless with a twist • Choose additional tools wisely Serverless doesn’t remove the need for great engineers
  11. @srhtcn Serverless is LessOps, not NoOps • Build delivery pipeline

    and deployment strategy • Monitoring has to be a first-class citizen • Cold starts • Infinite scale but not really !?
  12. @srhtcn Serverless is usually cheaper, event at scale • Free

    tier and 100ms based pricing • Total cost of ownership • No initial investment (just code, less ops) • Less maintenance cost • Engineering workforce cost • You are probably not Spotify or Netflix, even they…
  13. @srhtcn Serverless isn’t just for a couple of use-cases •

    FaaS is great for connecting stuff on the cloud • If it is event-driven, it can be done with FaaS / Serverless • There is support for bring your own language • API Gateway has websocket support though! • Commonly used for data and stream processing, ETL jobs, building APIs…
  14. @srhtcn • Of course assess potential risks and impact •

    No big cloud vendor increased its prices, pick one • Building abstractions is time consuming and counter productive • Loss of opportunity costs more Vendor lock-in is often a myth
  15. @srhtcn Takeways 1. Still need great engineers. 2. LessOps, not

    NoOps 3. Cheaper, even at scale 4. Can do many use-cases 5. Vendor lock-in myth
  16. @srhtcn Serverless computing will become the default computing paradigm of

    the Cloud Era. https://www2.eecs.berkeley.edu/Pubs/TechRpts/2019/EECS-2019-3.pdf