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

DevOps in a Serverless World, best practices and tools

DevOps in a Serverless World, best practices and tools

You might think that moving to Serverless is going to hinder your ability to manage your apps but instead if you adopt the right approach, implement the right objectives, Serverless can instead be a wonderful opportunity to align business goals and development agility.

The presentation covers some SRE (Site Reliabity Engineering) practices such as SLOs and error budget and discusses how Google Cloud Functions, App Engine, and Cloud Run offer both the productivity of Serverless and the observability for proper DevOps.

Alexis MP

May 17, 2019
Tweet

Other Decks in Technology

Transcript

  1. @alexismp Serverless Operational Model No Server Management Fully Managed Security

    Pay only for usage Programming Model Service-based Open Auto-scale Event-driven
  2. @alexismp Survey ! Serverless is about deploying : 1/ Functions,

    obviously! 2/ Applications, otherwise it’s just glue code... 3/ Containers ! (because Kubernetes)
  3. @alexismp cloud.google.com Functions Cloud Functions Cloud Services Emit events Writes

    back Invokes other services Other Services Containers Applications
  4. S ervice L evel I ndicator SLO SLA Does this

    impact my customer, my business?
  5. @alexismp cloud.google.com Application Version Service Version Instance Instance Service Version

    Version Instance Instance Functions Containers Applications App Engine
  6. @alexismp Event-driven logic Data storage User facing Frontend Web +

    API Admin app Picture files Picture metadata & most frequent tags Vision API annotations: Labels, color, filtering Via Pub/sub Compute most popular tags pic-a-daily.appspot.com
  7. @alexismp cloud.google.com Containers Everything at Google runs in containers •

    Gmail, Web Search, Maps, ... • MapReduce, batch, ... • GFS, Colossus, ... • Even GCP’s VMs run in containers! 2 billion containers per week
  8. @alexismp cloud.google.com Functions Container to production in seconds One DevX

    Fully-managed or GKE Containers (can too be serverless) Applications Cloud Run Natively serverless
  9. @alexismp Serverless Compute on Google Cloud App Engine Apps Cloud

    Run Containers Cloud Functions Functions NEW!
  10. @alexismp cloud.google.com Serverless Compute on Google Cloud App Engine Cloud

    Functions Cloud Run Apps Functions Containers NEW! Cloud Scheduler Cloud Pub/Sub Cloud Tasks
  11. @alexismp Survey ! Serverless is about deploying : 1/ Functions,

    obviously! 2/ Applications, otherwise it’s just glue code... 3/ Containers ! (because Kubernetes)
  12. @alexismp Logging Distributed tracing across services Analysis reports Continuous profiling

    CPU and memory costs down to the function level Real-time Log Analysis Centralized and fully-managed Traces Profiler
  13. @alexismp Error Reporting Real-time exception monitoring & alerting Understand application

    errors Inspect state of running application Live snapshots Logpoints Debugger
  14. @alexismp Recap NoOps is no better term vs. Serverless Serverless

    and microservices come with unique Ops challenges Class SRE implements DevOps Tools require opinionated runtimes @alexismp