Cloud Run - bobbae/gcp GitHub Wiki

Cloud Run is a serverless managed compute platform that enables you to run stateless containers that can be invoked via web requests or Pub/Sub events.

It is built from Knative, letting you choose to run your containers either fully managed with Cloud Run, in your Google Kubernetes Engine cluster, or in workloads on-premises with Cloud Run for Anthos.

https://ahmet.im/blog/cloud-run-is-a-knative/

Timeout

https://cloud.google.com/run/docs/configuring/request-timeout

Cloud Run for Anthos

https://cloud.google.com/anthos/run/docs/architecture-overview

Cloud Run Emulator

https://medium.com/dsckiet/a-guide-for-cloud-run-deployment-locally-using-visual-studio-code-8eb6688679f0

https://medium.com/google-cloud/developing-and-deploying-containers-with-cloud-code-on-google-cloud-run-4d8dfd88af48

Hosting Cloud Run on Firebase

Pair Cloud Run with Firebase Hosting to generate and serve your dynamic content or build REST APIs as microservices.

https://firebase.google.com/docs/hosting/cloud-run

FAQ

https://github.com/ahmetb/cloud-run-faq

Always-on

https://cloud.google.com/blog/products/serverless/cloud-run-gets-always-on-cpu-allocation

Quickstarts

https://cloud.google.com/run/docs/quickstarts

https://towardsdatascience.com/serverless-on-gcp-with-cloud-run-b3dab7a60e63

CPU Allocation controls

https://cloud.google.com/blog/products/serverless/cloud-run-gets-always-on-cpu-allocation

Session affinity

https://cloud.google.com/blog/topics/developers-practitioners/improve-responsiveness-session-affinity-cloud-run

Cloud Seed

https://docs.gitlab.com/ee/cloud_seed/index.html

Use Cases

Learn how to deploy serverless containers in 3 environments using Cloud Run and Knative.

https://www.youtube.com/watch?v=nhwYc4StHIc

A video on migrating kubernetes apps to serverless with Cloud Run on Anthos.

https://www.youtube.com/watch?v=0T5UliS9j8A

Stateless

Cloud Run is for stateless applications. To store state you can use external cloud based storage.

https://medium.com/google-cloud/3-great-options-for-persistent-storage-with-cloud-run-f1581ee05164

Mounting a file as volume in Cloud Run

https://medium.com/google-cloud/mount-a-file-as-a-volume-in-cloud-run-facc74c02cc6

Cloud Run "always-on" CPU allocation for background work

https://cloud.google.com/blog/topics/developers-practitioners/use-cloud-run-always-cpu-allocation-background-work

Django on Cloud Run

https://medium.com/@rahulxsharma/django-on-google-cloud-run-3f2f93ae0917

Wagtail on Cloud Run

https://codelabs.developers.google.com/codelabs/cloud-run-wagtail

Cloud Run Continous Deployment and Domain Mapping

https://faun.pub/cloudrun-continous-deployment-and-domain-mapping-f83c703b88b1

Running Bokeh on Cloud Run with Domain mapping

https://yogesh.replnotes.com/posts/deploy-bokeh-cloud-run

Cloud Run Release Manager Canary releases

https://medium.com/google-cloud/automatic-release-propagation-for-canary-releases-with-cloud-run-1ccc2ec74c7f

Pre-Heating Applications running on Google Cloud Run

https://medium.com/google-cloud/pre-heating-cloud-run-apps-for-crisp-ux-d13c341e0a29

Deploy a coloring page generator with Cloud Run

https://cloud.google.com/blog/topics/developers-practitioners/deploy-coloring-page-generator-minutes-cloud-run

knative minscale

https://medium.com/google-cloud/pre-heating-cloud-run-apps-for-crisp-ux-d13c341e0a29

Simple scheduled workloads

https://betterprogramming.pub/simple-scheduled-workloads-using-google-cloud-b23448a027ff

Deployment of MEAN stack w/ MongoDB Atlas, Cloud Run, and HashiCorp Terraform

https://cloud.google.com/blog/topics/developers-practitioners/easy-deployment-mean-stack-w-mongodb-atlas-cloud-run-and-hashicorp-terraform