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

Serverless Mythbusters

Farrah
December 08, 2020

Serverless Mythbusters

Serverless is a new paradigm for many organizations. But even organizations that are well into their serverless journey can have preconceived notions of varying veracity. In this talk, Farrah and Danielle will share their first-hand experiences and separate the preconceptions from the misconceptions. We’ll cover some topics such:

*Cold starts
*Vendor lock-in
*Does serverless replace containers?
*Is serverless good for legacy apps?
*...and more

Our goal is to share our learnings and discuss further with a wide variety of serverless users, everyone from those just getting started with serverless, to those steeped in the serverless application development community. This talk will be focused on specific techniques and is meant to apply to a broad range of serverless and modernization efforts.

Farrah

December 08, 2020
Tweet

More Decks by Farrah

Other Decks in Technology

Transcript

  1. Disclaimer The content in this presentation contains many anecdotes about

    our experiences with serverless that ultimately shaped our opinions — your experience and/or opinions might be different
  2. Why Serverless? • Scales for you when needed • Lower

    liabilities: AWS operates the underlying infrastructure for you. • You can ship faster with fewer people.
  3. Cold Starts - Anatomy of a Cold Start Load up

    code and modules Setup the function execution environment API call to invoke the function Run code
  4. Cold Starts - Why is this a problem? • An

    API endpoint that needs to be “always on” to receive requests • Slow website
  5. Cold Start - Mitigation • Improved VPC Lambda networking •

    Provisioned concurrency • Have smaller package sizes • Provision more memory
  6. Lock In A. Purchase a product or service B. You’re

    stuck using them because everything you do is centered around vendor specific things
  7. Lock - In Worries A. Vendor specific knowledge on the

    team B. What if cloud xyz all of a sudden decides to charge me more for using their managed services C. More difficult to switch to another cloud
  8. Containers/Serverless — Comparison Container Services • Always on • Multi-platform

    • Developer responsible for patching/updates • Can run long processes Serverless Function • Ephemeral • Cloud provider specific • Cloud provider does patching/updates • Limited execution time
  9. Containers/Serverless - Working Together • Cloud Run • Fargate •

    Container image support for Lambda • AWS SAM local invoke uses containers under the hood
  10. Legacy Migration Success MasterStream • Modernizing applications into serverless architectures

    will reduce cost and unlock a range of cloud benefits. • Drive a 90% reduction in the costs associated with managing traditional infrastructure required for monolithic applications. • Increase engineering velocity by 60x in order to out-pace competitors.
  11. Legacy Migration Success The business went from large queues of

    batch processes to real-time and from running on an AS/400 and Z-Series Mainframe to running a modern application using AWS Lambda and ECS.
  12. More Stories of Legacy success Register of Scotland - 400

    years of land deeds - reinvent talk 2020 Mphasis rearchitects a legacy application to a serverless cloud-native architecture on AWS Cedrus: Migrating a Legacy Application to a Serverless Ecosystem
  13. What We Covered • Cold Starts • Vendor Lock In

    • Containers and Serverless • Serverless Application Success Stories