The “serverless” buzzword was popularized thanks to FaaS platforms (Function-as-a-Service). However, serverless goes beyond just functions. Even traditional Platform-as-a-Service solutions also exhibit serverless characteristics (managed infrastructure, auto-scaling capabilities, pay for usage), when they’re letting developers push their apps as the unit of deployment. Similarly, a container is just another way to package your business logic. And that’s what Google Cloud Run is all about: you package your code in a container. You decide to use any language, runtime or library, as long as it runs in a container that can receive incoming HTTP requests. Cloud Run is a fully-managed product that scales your container images from 0 to n depending on traffic, and you pay proportionally to that usage. It can also run in Google’s managed Kubernetes clusters (GKE) giving you more control on the machines running your workloads. Last but not least, you’re not tied to the Google Cloud Platform at all, as Cloud Run builds atop the Knative serverless building blocks for Kubernetes. You can also deploy and scale your containers on other cloud providers or on-premises, thanks to the openness and portability brought by Knative. After an overview of Cloud Run, its developer experience, we’ll go through various demos to watch your serverless containers in action!
At Google, Guillaume Laforge is Developer Advocate for the Google Cloud Platform, where he spread the word about the rich set of products and services offered for developers wishing to take advantage of the cloud for their projects and businesses. Guillaume is a Java Champion, also well known for having co-founded the Apache Groovy programming language, and co-created the Cast Codeurs podcast.