Awesome
Cloud Run Tutorial
Cloud Run is a managed serverless platform that enables you to run stateless containers invocable via HTTP requests on Google Cloud.
Cloud Run is built from open-source Knative, letting you choose to run your containers either fully managed with Cloud Run, or in your Google Kubernetes Engine cluster with Cloud Run on Anthos, or use Knative on any Kubernetes cluster running anywhere.
Slides
There's a presentation that accompanies the tutorial.
<a href="https://speakerdeck.com/meteatamel/serverless-containers-with-cloud-run"> <img alt="Serverless with Cloud Run" src="docs/images/serverless-containers-with-cloud-run.png" width="50%" height="50%"> </a>Setup
Cloud Run is a fully managed service, so there's no setup other than enabling Cloud Run and Cloud Build.
Cloud Run for Anthos runs on GKE on Anthos platform.
Setup your project id and number that we'll need throughout samples:
export PROJECT_ID="$(gcloud config get-value core/project)"
export PROJECT_NUMBER="$(gcloud projects list --filter=${PROJECT_ID} --format='value(PROJECT_NUMBER)')"
Enable Cloud Build and Cloud Run:
gcloud services enable --project ${PROJECT_ID} \
cloudbuild.googleapis.com \
run.googleapis.com
Samples
Cloud Run Serving
- Public service
- Configure service
- Private service
- Pub/Sub triggered service
- Storage triggered service
- Scheduled service
- Task triggered service
- Service to service authentication
- Cloud Run Healthchecks
Cloud Run Eventing
- Image processing pipeline v1 - Eventarc (AuditLog-Cloud Storage) + Cloud Run
- Image processing pipeline v2 - Eventarc (Cloud Storage) + Cloud Run + Workflows
- Image processing pipeline v3 - Eventarc (Cloud Storage) + Workflows
- Image processing pipeline v1 - Eventarc (AuditLog-Cloud Storage) + Cloud Run for Anthos
- BigQuery processing pipeline - Eventarc + Cloud Run
- BigQuery processing pipeline - Eventarc + Cloud Run for Anthos
Other
This is not an official Google product.