Last updated on June 26, 2023
Google Cloud Run Cheat Sheet
- Is a managed compute platform that enables you to run stateless HTTP containers that are invokable via web requests or Pub/Sub events.
Features
- Cloud Run is serverless which means it abstracts away all the infrastructure management and maintenance so you can focus more on building your application.
- In Cloud Run, your application must be run in containers that contain everything that your software needs to run including code, runtime, and system libraries.
- It automatically scales up or down from zero to N depending on traffic.
- It is a regional service and is automatically replicated across multiple zones.
Cloud Run for Anthos
- Cloud Run for Anthos abstracts complex Kubernetes concepts to allow developers to leverage the benefits of Kubernetes and serverless together. It provides access to custom machine types, additional networking support, and Cloud Accelerators.
What images you can deploy
Cloud Run
You can deploy container images stored in Container Registry or Artifact Registry. The following are the types of container images that can be deployed on Cloud Run:
- Container images stored in the same project as the one you want to deploy to.
- Images are found on other Google Cloud Projects provided your account has the IAM permissions set.
- Public container images from Container Registry and Artifact Registry
Cloud Run for Anthos
- You can use container images stored from any container registry, like Dockerhub.
Pricing
- You can use the Google Cloud Platform Pricing Calculator to estimate the cost of using Cloud Run.
- Cloud Run (fully managed) charges you only for the resources you use, rounded up to the nearest 100 milliseconds.
- Cloud Run for Anthos on Google Cloud is an add-on for Google Kubernetes Engine. Workloads running in a cluster are included in Google Kubernetes Engine pricing.
Google Cloud Run Cheat Sheet References:
https://cloud.google.com/run
https://cloud.google.com/run/docs
https://cloud.google.com/kuberun/docs