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

Serverless: Future Default of the Cloud

Serverless: Future Default of the Cloud

The interest among serverless has been increasing since its inception back in 2014. As one of the believers of this new paradigm, I claim that it will be the default for the cloud in a short time. In this session, I met with the senior students of the METU Computer Engineering Department to introduce serverless. I tried to convince them about the fact that serverless will be their default way of delivering software in their professional life.

Emrah Samdan

February 04, 2020
Tweet

More Decks by Emrah Samdan

Other Decks in Technology

Transcript

  1. @emrahsamdan Who am I? • Been here, sat there ◦

    BS. 2011 ◦ M.Sc. 2014 • Ex-developer • Product manager for 3 years • VP of Product for Thundra • Organizing committee of Cloud and Serverless Turkey
  2. @emrahsamdan What’s serverless Serverless computing is a cloud-computing execution model

    in which the cloud provider runs the server, and dynamically manages the allocation of machine resources. Pricing is based on the actual amount of resources consumed by an application, rather than on pre-purchased units of capacity. Wikipedia: https://en.wikipedia.org/wiki/Serverless_computing
  3. @emrahsamdan Agenda • What’s serverless, really? • Why will you

    need serverless as a fresh graduate? • Problems of serverless • What does Thundra do? • Q&A
  4. @emrahsamdan What’s serverless again? • You just submitted a code

    for an homework, right? • You didn’t think about how the assistant will run it but only motivated on the code (value) itself.
  5. @emrahsamdan What’s serverless again? • You just submitted a code

    for an homework, right? • You didn’t think about how the assistant will run it but only motivated on the code (value) itself. • This is serverless! • More or less..
  6. @emrahsamdan One last time: What’s serverless in real life? •

    Motivate on your business logic. Don’t think about the scalability, availability, security and management of servers. ◦ Give the code to the cloud vendor and take a sip from your coffee while it scales automatically to the sky.
  7. @emrahsamdan Let’s make something clear Serverless doesn’t mean that there

    is no server running behind. It means you don’t care who or how runs it.
  8. Focus on value to deliver to your customer not on

    the availability of your system.
  9. @emrahsamdan Serverless is best fit • If you expect a

    traffic with unexpected spikes and lows. • If you don’t want to worry about how to scale your services. • If you want compute as a variable cost. • If you’re short for hiring best ops people. • If you want to developer time for delivering value.
  10. @emrahsamdan Vacation Tracker • Started as a hackathon project •

    Slack Chatbot, Dashboards and Calendar Integration • 2 fulltime full-stack engineers (Front-end essence) • Design outsourced • No ops people. • Using Claudia.js • 3M invocations per month for Lambda
  11. ARR

  12. @emrahsamdan Why serverless is useful for a fresh graduate •

    Test your ideas fast. • Make your graduation project your startup • Come up with ideas in your first job
  13. @emrahsamdan Why is there such thing like Thundra? • Back

    in 2017. Opsgenie wanted to serverless some part of it. ◦ No observability solution around. ◦ Let’s build it ourselves. (January) ◦ Seems cool. Let’s build an UI for this. (September) ◦ Hey market, what do you think about this? (November) ◦ Let’s continue understanding other use cases (January 2018) ◦ It’s better we have a dedicated PM for that (March 2018) ◦ Let’s make this thing a seperate company (May 2018) ◦ Opsgenie sold. Welcome to new journey (September 2018)
  14. @emrahsamdan How does Thundra work? • Logs are ugly, let’s

    poll them to beautify them. • Cool but not enough, we need traces. • Instrument it (Not a music instrument) • If we instrument for monitoring, let’s use it to secure the application. • Not only for serverless.
  15. @emrahsamdan Don’t prefer serverless if • You require a longer

    duration times than 15 minutes. ◦ Data processing in big batches • You need more memory than 3GB. • Milliseconds are important for you. ◦ High frequency trading • Consistent traffic with no peaks
  16. @emrahsamdan Don’t own it • Stripe for payment • Auth0,

    Cognito for authentication • Thundra for observability. • Netlify for web-site • Apiary, Readme.io for documentation • And more.