Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/meteatamel/cloudrun-tutorial

A tutorial showing some of the features of Cloud Run
https://github.com/meteatamel/cloudrun-tutorial

cloud-run google-cloud google-cloud-run tutorial

Last synced: 18 days ago
JSON representation

A tutorial showing some of the features of Cloud Run

Lists

README

        

# Cloud Run Tutorial

![Serverless on Google Cloud](docs/images/serverless-on-google-cloud.png)

[Cloud Run](https://cloud.google.com/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](https://knative.dev/), 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](https://speakerdeck.com/meteatamel/serverless-containers-with-cloud-run) that accompanies the tutorial.


Serverless with Cloud Run

## Setup

[Cloud Run](https://cloud.google.com/run/) is a fully managed service, so
there's no setup other than enabling Cloud Run and Cloud Build.

[Cloud Run for
Anthos](https://cloud.google.com/run/docs/quickstarts/prebuilt-deploy-gke) runs
on GKE on Anthos platform.

Setup your project id and number that we'll need throughout samples:

```bash
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:

```bash
gcloud services enable --project ${PROJECT_ID} \
cloudbuild.googleapis.com \
run.googleapis.com
```

## Samples

Cloud Run Serving

* [Public service](docs/public.md)
* [Configure service](docs/configure.md)
* [Private service](docs/private.md)
* [Pub/Sub triggered service](docs/pubsub.md)
* [Storage triggered service](docs/storage.md)
* [Scheduled service](docs/scheduled.md)
* [Task triggered service](docs/tasks.md)
* [Service to service authentication](docs/auth.md)
* [Cloud Run Healthchecks](health-checks)

Cloud Run Eventing
* [Image processing pipeline v1 - Eventarc (AuditLog-Cloud Storage) + Cloud Run](https://github.com/GoogleCloudPlatform/eventarc-samples/tree/main/processing-pipelines/image-v1)
* [Image processing pipeline v2 - Eventarc (Cloud Storage) + Cloud Run + Workflows](https://github.com/GoogleCloudPlatform/eventarc-samples/blob/main/processing-pipelines/image-v2)
* [Image processing pipeline v3 - Eventarc (Cloud Storage) + Workflows](https://github.com/GoogleCloudPlatform/eventarc-samples/blob/main/processing-pipelines/image-v2)
* [Image processing pipeline v1 - Eventarc (AuditLog-Cloud Storage) + Cloud Run for Anthos](https://github.com/GoogleCloudPlatform/eventarc-samples/blob/main/processing-pipelines/image-v1/image-processing-pipeline-eventarc-crfa.md)
* [BigQuery processing pipeline - Eventarc + Cloud Run](https://github.com/GoogleCloudPlatform/eventarc-samples/tree/main/processing-pipelines/bigquery)
* [BigQuery processing pipeline - Eventarc + Cloud Run for Anthos](https://github.com/GoogleCloudPlatform/eventarc-samples/blob/main/processing-pipelines/bigquery/bigquery-processing-pipeline-eventarc-crfa.md)

Other

* [Scheduled dbt service with BigQuery](docs/scheduled-dbt-service-bigquery.md)
* [Scheduled dbt job with BigQuery](dbt-job)
* [Deploying from source code](docs/deploy-from-source.md)

-------

This is not an official Google product.