Keep Your Hands OFF !

Going "Serverless" with GCP... and G Suite

By Weiyuan Liu @ Rakuten Viki

What is "Serverless"

"Serverless" is NOT a replacement for DevOps (culture)


Basic DevOps culture is needed


"Serverless" are more than functions

"Serverless" is NOT
one size fit all


Find the tool that best suit your needs!

Why "Serverless"

Once upon a time...


There were sysadmins!

"You build it, you run it" - Werner Vogels, CTO, Amazon

DevOps - infra, tools and culture


Developers - develop and deploy


Not suitable for small to medium sized orgs ?

DevOps - culture


Cloud Provider - infra and tools


Developers - develop and deploy

"Serverless" with GCP ?



  • Compute Engine

  • Kubernetes Engine

  • App Engine (Standard)

  • App Engine (Flexible)

  • Cloud Functions

  • App Maker (from G Suite)

  • Cloud Run (in beta)

Infrastructure as a Service (IaaS)

Google Compute Engine (GCE)

  • Virtual Machines

Google Kubernetes Engine (GKE)

  • Cluster of nodes / VMs (orchestration)

Serverless 🤔 ?

Why IaaS?

  • For larger organisations, economies of scale

Function as a Service (FaaS)

Cloud Functions

  • Function triggered by events (e.g. HTTP)

  • Limited Runtimes but lightweight

Serverless 😊 !

Why FaaS?

  • Solving singular problems that are decoupled from other applications

  • May not be for frontend development

Software as a Service (SaaS)

App Maker

  • GUI to make applications

Serverless 🤢

Platform as a Service (PaaS)

Google App Engine (GAE)

  • Standard vs Flexible

Standard VS Flexible

  • Flexible - No restrictions on runtimes

  • Standard - deployed in sandbox - faster

Serverless 😇

Why PaaS?

  • Balance between all tools

  • Good for frontend development

Cloud Run

The new kid around the block (*beta)

Cloud Run

  • Runs on a Dockerfile schematic

  • Managed or run alongside GKE

Cloud Run vs
App Engine Flexible

Let's make a CICD pipeline with "Serverless" infrastructure !


http://bit.ly/cloud-build-demo

References | Qwiklabs


TopicsLink
Compute Engine Creating a Virtual Machine
Cloud RunHello Cloud Run
KubernetesKubernetes in the Google Cloud
App Engine (Flexible)Deploy Node.js Express Application in App Engine
App MakerBuild a Complete Database Web App with App Maker

Questions ?


Linkedin / Github : bit.ly/weiyuan