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

Introduction to serverless - workshop

Sara Gerion
November 26, 2019

Introduction to serverless - workshop

Serverless has become a very hot topic over the last years, and rightly so. Not only does it make web apps and services incredibly easy to build and maintain, but also comes with great inherent scalability.

During this workshop, you will learn more about serverless computing, how simple yet powerful it is, and how it supports a great part of DAZN's streaming platform.

Sara Gerion

November 26, 2019
Tweet

More Decks by Sara Gerion

Other Decks in Technology

Transcript

  1. 1 INTRODUCTION TO SERVERLESS Based on examples featuring Serena Williams

    Sara Gerion, Raquel Carvalho, Fernanda Machado
  2. 4 ▪ Understand what serverless means ▪ The pros and

    cons of serverless ▪ Use cases for serverless architectures Goals
  3. 5 ▪ Understand what serverless means ▪ The pros and

    cons of serverless ▪ Use cases for serverless architectures ▪ Gain insights over serverless AWS services Goals
  4. 6 ▪ Understand what serverless means ▪ The pros and

    cons of serverless ▪ Use cases for serverless architectures ▪ Gain insights over serverless AWS services ▪ Learn how to create an API using serverless services Goals
  5. 7

  6. 8

  7. 12 So if you want to start a business... You

    now are able to choose between
  8. 15

  9. 18 The word serverless is “misleading”. There are actual servers

    powering your services. But you don’t need to care about them.
  10. 19 ▪ It’s basically a code runner ▪ Your code

    is a function ▪ Cloud providers take care of almost everything else. You just need to provide the code! ▪ Examples: AWS Lambda, Google Cloud Function, Azure function Function as a Services (FaaS) pattern
  11. 20 ▪ Lambda - a “code runner” ▪ API Gateway

    - AWS HTTP proxy ▪ S3 - AWS storage ▪ DynamoDB - AWS NoSQL database ▪ SQS - AWS queueing system ▪ SNS - AWS messenger Notable serverless AWS services
  12. 29 What we will do today? We will build a

    scalable, resilient web app in very few steps. Using only serverless services.
  13. 31 ▪ Get your laptop, feel free to use the

    conference’s WiFi: WiFi name: EWIT2019 WiFi password: wintechseries ▪ Go to: https://github.com/sgdazn/introduction-to-serverless-workshop ▪ Follow the instructions in the readme located in the folder: 01_Console Let’s start!
  14. 34 ▪ It is useful to build scalable, resilient services

    ▪ It’s cost effective (when applied smartly) ▪ It’s faster when you want to focus on the business logic only ▪ AWS takes care of a lot of things, but read the documentation! What did we just learn about serverless?
  15. 35 ▪ Provisioning (CloudFormation, Terraform) ▪ Deploying (CI/CD pipelines) ▪

    Being familiar with other useful services: DynamoDB, S3, SQS, SNS... What is next to learn?
  16. 36 ▪ AWS documentation https://docs.aws.amazon.com ▪ AWS serverless repositories https://serverlessrepo.aws.amazon.com/applications

    ▪ Related subreddits https://www.reddit.com/r/aws https://www.reddit.com/r/devops Useful resources