Cloud Run: Bringing serverless to containers

No comparison: How MoneySuperMarket is using Google Cloud to turn their data into competitive differentiators
May 19, 2019
GozNym Banking Malware: Gang Busted, But Is That The End?
May 20, 2019

Cloud Run is unique among serverless platforms, and brings a number of benefits:

  • Do less work with a fully managed solution: With Cloud Run, you can forget about provisioning or managing infrastructure–it does that for you. Cloud Run automatically and quickly scales up or down based on your incoming traffic, and even scales down to zero. In addition, each Cloud Run service gets a stable and secure HTTPS endpoint, and you can easily add your own custom domain for which we automatically provision an SSL certificate. And if you need an easy way to serve static content or cache responses, Cloud Run integrates with Firebase Hosting.

  • Pay exactly for what you use: Cloud Run charges you for the resources you use only when your containers are processing requests or events, billed to the nearest 100 milliseconds.

  • Serve web traffic, or process Pub/Sub events: Run publicly accessible web services or APIs, or securely push Pub/Sub events to private Cloud Run microservices.

  • Leverage the power of containers: Containers have become an industry standard for packaging and deploying code, and let you write your code in your favorite language, with whatever framework or binary library that works for you. If you’re not familiar with containers, don’t be scared; Cloud Run includes official base images for all the most popular languages, and there are examples of Dockerfiles in the documentation.

  • Enjoy the portability that comes with Knative: Cloud Run implements the Knative serving API, an open-source project to run serverless workloads on top of Kubernetes. That means you can deploy Cloud Run services anywhere Kubernetes runs. And if you need more control over your services (like access to GPU or more memory), you can also deploy these serverless containers in your own GKE cluster instead of using the fully managed environment.

On a run since Google Cloud Next’19
Since it launched in April, Cloud Run has gotten a terrific reception from developers. Early adopters tell us that deploying their favorite apps on Cloud Run “just works.”

“Cloud Run allows us to access, process and serve large amounts of imagery data stored in Google Cloud Storage, with the freedom to use our own custom toolchains and without having to worry about scaling the service to the real time load.” – Thomas Bonfort, R&D Earth Observation Software Engineer at Airbus, and Cloud Run alpha tester

Early Cloud Run alpha testers and then beta users have provided valuable feedback to help us shape and improve the product. Today, we are pleased to launch several new features to address your top requests:

Cloud SQL support
With one configuration change, you can now securely and privately connect your Cloud Run services to Cloud SQL instances. Read more in the documentation.

Metrics at a glance
As Cloud Run developers, you have been able to benefit from out-of-the-box integration with Stackdriver Logging and Monitoring. But you do not always need the full power of Stackdriver tools. Starting today, the Cloud Run user interface features several key performance indicators, such as:

  • Comparing the average number of requests per second in the Cloud Run service list
  • Observing request counts, request latencies, CPU and Memory allocation in a dedicated tab of the Cloud Run service view

Leave a Reply

Your email address will not be published. Required fields are marked *