Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

meteatamel/cloudrun-tutorial

Open more actions menu

Repository files navigation

Cloud Run Tutorial

Serverless on Google Cloud

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.

Serverless with Cloud Run

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

Cloud Run Eventing

Other


This is not an official Google product.

About

A tutorial showing some of the features of Cloud Run

Topics

Resources

Contributing

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.