Slide 1

Slide 1 text

Serverless Containers Jaana B. Dogan [email protected] @rakyll

Slide 2

Slide 2 text

@rakyll +

Slide 3

Slide 3 text

@rakyll

Slide 4

Slide 4 text

@rakyll $ supervisor

Slide 5

Slide 5 text

@rakyll $ supervisor

Slide 6

Slide 6 text

@rakyll More managed and abstract Options... IaaS Infrastructure as a Service Networking, storage, physical servers and virtualization are provided as a service. You manage the middlewares, runtime, applications and data. PaaS Platform as a Service Networking, storage, virtualization, security, runtime, middlewares are provided as a service. You manage your applications and data. On-prem On-premises Nothing is managed on behalf of you. You manage the networking, storage, servers, virtualization, middlewares, runtime, your applications and data.

Slide 7

Slide 7 text

@rakyll

Slide 8

Slide 8 text

@rakyll

Slide 9

Slide 9 text

@rakyll “VMs can be great for traditional workloads.”

Slide 10

Slide 10 text

@rakyll “Container orchestration is complex.”

Slide 11

Slide 11 text

@rakyll “Container orchestration is complex.”

Slide 12

Slide 12 text

@rakyll “How can I focus more on my code?” - Developers

Slide 13

Slide 13 text

@rakyll “How can I focus more on my code?” - Developers

Slide 14

Slide 14 text

01 Pay for usage Scaling down to zero Charging based on usage 02 Autoscaling Scaling based on traffic Scaling up or down fastly 04 Networking Naming SSL support Custom domains Policies 03 Observability Out-of-the-box signals Integration with observability tools

Slide 15

Slide 15 text

@rakyll Cloud Run cloud.google.com/run

Slide 16

Slide 16 text

Cloud Run at a glance ● Autoscales based on traffic ● Runs in gVisor sandbox ● Supports various languages and runtimes service4 service3 service2 service1 users container3 container1 container2 USERS SERVICES CONTAINERS

Slide 17

Slide 17 text

@rakyll Cloud Run Kubernetes CLI or API Cloud Run on GKE One more thing...

Slide 18

Slide 18 text

@rakyll $ gcloud beta run deploy \ --image grpc.io/jblabs/hello \ --cluster gke-cluster-name $ gcloud beta run deploy \ --image grpc.io/jblabs/hello Cloud Run Cloud Run on GKE

Slide 19

Slide 19 text

@rakyll

Slide 20

Slide 20 text

@rakyll

Slide 21

Slide 21 text

@rakyll ● Optimized for request based workloads ● Optimized for stateless containers ● Not optimized for very long running processes ● Building block is not a function but a service ● gRPC support is in the future ● Events and trigger support is in the future Goals and limitations...

Slide 22

Slide 22 text

@rakyll +

Slide 23

Slide 23 text

Thank you Jaana B. Dogan Google [email protected] cloud.google.com/run