Slide 1

Slide 1 text

Cloudless with CloudRun

Slide 2

Slide 2 text

GCP Free Tier? Kubernetes? Knative?

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

Containers • Any Language • Any Library • Any Binary • Ecosystem of base images .js .rb .go .py .sh … 0 1 0 1 0 0 1 1 1

Slide 5

Slide 5 text

CLOUD SHELL CLOUD CODE DOCKER GCR PUB/SUB CLOUD STORAGE CLOUD SQL CLOUD SCHEDULER CLOUD BUILD CLOUD TASKS

Slide 6

Slide 6 text

Use cases Public • Status page • API endpoint Private • Monitoring checks • Asynchronous tasks • Reporting backend • Chatbot webhook • Internal API • Data transformation

Slide 7

Slide 7 text

Operational Model Programming Model No Infra Management Managed Security Pay only for usage Service-based Event-driven Open What is Serverless

Slide 8

Slide 8 text

Introducing Cloud Run

Slide 9

Slide 9 text

Cloud Run Same code deployed in seconds Scales to zero, based on request Metrics in UI

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

CloudRun deployment format is container

Slide 12

Slide 12 text

No content

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

Community in Slack Tutorial Meetup demo

Slide 15

Slide 15 text

Serverless containers, where you want them Cloud Run • Fully serverless • No cluster to manage (no VMs) • Pay for what you use Cloud Run on GKE • Serverless developer experience • Knative runs in your GKE cluster • Access same resources as GKE

Slide 16

Slide 16 text

Cloud Run: Pay-per-use CPU / Memory / Requests 100ms • https://cloud.google.com/products/calculator • https://cloud.google.com/run/pricing

Slide 17

Slide 17 text

Cloud Run: limits ● beta ● stateless ● 64bit linux containers ● max timeout 15 minutes ● 4 minutes to first http response timeout ● 2GB max RAM (min 256 MB) ● 2GB max filesystem size ● 32MB max response/request size ● 80 concurrent requests ● one $PORT supported ● min cold start time is near 4 seconds Cloud Run is now available in ● IOWA (us-central1) ● SOUTH CAROLINA (us-east1) ● BELGIUM (europe-west1) ● TOKYO (asia-northeast1) What is coming: ● traffic control: betas and blue/green deployments ● more GCP resource triggers ● events support ● gRPC support ● websocket support • https://cloud.google.com/about/locations • https://cloud.google.com/run/docs/issues

Slide 18

Slide 18 text

https://cloud.google.com/community/tutorials/ Get started!

Slide 19

Slide 19 text

THANK YOU

Slide 20

Slide 20 text

No content

Slide 21

Slide 21 text

Cloud Run FAQ google-cloud-run

Slide 22

Slide 22 text

John Hanley ☁ for Bioinformatics by Lynn Langit