Google Developers Codelabs provide a guided, tutorial, hands-on coding experience. Most codelabs will step you through the process of building a small application, or adding a new feature to an existing application. They cover a wide range of topics such as Android Wear, Google Compute Engine, ARCore, and Google APIs on iOS.
Codelab tools on GitHubCodelab - Build a contextual Yoga Poses recommender app with Firestore, Vector Search, Langchain and Gemini (Python version)
2 hours
Updated February 12, 2025
This codelab guides you through creating a knowledge-driven Yoga pose recommender app. The app answers user questions by suggesting matching yoga poses. You’ll learn to build a Firestore Collection of yoga poses from a Hugging Face dataset, set up Firestore Vector Search, and integrate everything into a Flask application.
Codelab - Build a contextual Yoga Poses recommender app with Firestore, Vector Search, Langchain and Gemini (Node.js version)
2 hours
Updated February 6, 2025
This codelab guides you through creating a knowledge-driven Yoga pose recommender app. The app answers user questions by suggesting matching yoga poses. You’ll learn to build a Firestore Collection of yoga poses from a Hugging Face dataset, set up Firestore Vector Search, and integrate everything into a Node.js application.
How to Schedule a Cloud Run Job within a VPC Service Controls perimeter
Updated January 18, 2025
Learn how to run a Cloud Run Job on a schedule inside a VPC SC perimeter using Cloud Scheduler and a Cloud Run service
Code Customization with Gemini Code Assist Enterprise
48 minutes
Updated November 1, 2024
Learn what’s new with Gemini Code Assist Enterprise, and how it can help your organization build with Google Cloud.
How to Run Transformers.js on Cloud Run GPUs
Updated October 22, 2024
Learn how to run stable diffusion on a Cloud Run GPU
Django CMS on Cloud Run
28 minutes
Updated October 15, 2024
In this codelab, you’ll learn how to deploy Django CMS using serverless components: Cloud Run for the web engine, Cloud SQL for the database, and Cloud Build for the media assets.
Django on Cloud Run
30 minutes
Updated October 15, 2024
In this codelab, you’ll learn how to deploy Django using serverless components: Cloud Run for the web engine, Cloud SQL for the database, and Cloud Build for the media assets.
Wagtail on Cloud Run
27 minutes
Updated October 14, 2024
In this codelab, you’ll learn how to deploy Wagtail using serverless components: Cloud Run for the web engine, Cloud SQL for the database, and Cloud Build for the media assets.
Using revisions in Cloud Run functions for Traffic Splitting, Gradual Rollouts, and Rollbacks
Updated October 1, 2024
Learn how to use revisions in Cloud Run functions to do traffic splitting, gradual rollouts, and rollbacks.
How to Run TorchServe and Stable Diffusion on Cloud Run GPUs
Updated September 16, 2024
Learn how to run stable diffusion on a Cloud Run GPU
How to use Ollama as a sidecar with Cloud Run GPUs and Open WebUI as a frontend ingress container
Updated September 4, 2024
Learn how to use Ollama as a sidecar with Cloud Run GPUs and Open WebUI as a frontend ingress container
How to use Cloud Run functions and Gemini to summarize a text file uploaded to a Cloud Storage bucket
Updated August 30, 2024
how to get started with event-driven Cloud Run functions
Getting Started with Event-driven Cloud Run functions
Updated August 23, 2024
how to get started with event-driven Cloud Run functions
Getting Started with Cloud Run functions (HTTP)
Updated August 23, 2024
Learn how to getting started with Cloud Run functions
How to run LLM inference on Cloud Run GPUs with vLLM and the OpenAI Python SDK
Updated August 21, 2024
Learn how to run LLM inference on Cloud Run GPUs with vLLM and the OpenAI Python SDK
Build a Google Workspace Add-on with Node.js and Cloud Run
44 minutes
Updated June 3, 2024
In this codelab, you’ll learn how to build a Google Workspace Add-on using Node.js and Cloud Run.
How to Use Cloud Run with Gemini Function Calling
Updated May 9, 2024
How to use Cloud Run as an endpoint for Gemini Function Calling.
How to Deploy a Gemini-powered chat app on Cloud Run
Updated May 9, 2024
Learn how to deploy a Gemini-powered chat on Cloud Run using express.js, htmx, and tailwindCSS.
How to configure a Cloud Run service to access an internal Cloud Run service using direct VPC egress
Updated May 3, 2024
Learn how to configure a Cloud Run service to access an internal Cloud Run service using direct VPC egress.
How to deploy all the JavaScript frameworks to Cloud Run
Updated May 2, 2024
Learn how to deploy JavaScript frameworks like Angular, Nuxt.js, and Next.js to Cloud Run.
Bookshelf Analytics: Use Gemini to build a Java Cloud Run Application that takes BigQuery data to the web
Updated April 16, 2024
We’ll use Gemini to help us create a bookshelf summarization application that simply takes BigQuery data to the web and is deployed on Cloud Run.
Build a Quiz Generator with GenAI and Cloud Run
1 hour 16 minutes
Updated April 11, 2024
In this codelab, you’ll use Vertex AI to generate a trivia quiz according to some provided specifications. You’ll test your quiz generator in a cloud hosted developer environment, and then make it publicly available by deploying it to Google Cloud Run. At the end of the lab, you’ll integrate your quiz generator with a complete app.
How to Use Cloud Run Jobs & Video Intelligence APIs to process videos
Updated April 8, 2024
Learn how to create a Cloud Run job that describes the image in every scene in a video using Vertex AI and the Video Intelligence API.
How to automatically deploy your changes from GitHub to Cloud Run using Cloud Build
Updated April 5, 2024
How to automatically deploy your changes from GitHub to Cloud Run using Cloud Build
Hello Cloud Run with Python
8 minutes
Updated March 27, 2024
In this tutorial, you’ll learn how to get started with Cloud Run by deploying and running a stateless container serverless-ly (with the infrastructure abstracted away). Cloud Run offers a fully-managed option as well as the ability to run on top of a GKE cluster.
Configure a Cloud Run service to access both an internal Cloud Run service and public Internet
Updated February 14, 2024
Learn how to access an internal-only ingress Cloud Run service using direct VPC egress while retaining public Internet access
Create a Cloud Run service with a sidecar
Updated January 25, 2024
Learn how to create a Cloud Run service that communicates with a sidecar using a localhost port and a volume mount.
Create a video scene-by-scene image description service using Cloud Run, Video Intelligence API, and Vertex AI
Updated January 10, 2024
Learn how to create a Cloud Run service that describes the image in every scene in a video using Vertex AI and the Video Intelligence API.
Use Vertex AI Search on PDFs (unstructured data) in Cloud Storage from a Cloud Run service
Updated November 3, 2023
Learn how to make a query to Vertex AI Search from a Cloud Run service.
Chat App with PaLM API on Cloud Run
Updated October 30, 2023
Develop a chat application by using Python Flask framework and Vertex AI PaLM API model.
Pic-a-daily: Lab 1—Store and analyze pictures (Native Java)
1 hour
Updated October 11, 2023
In this code lab, you create a Java service leveraging Google’s Support for Native Java Client Libraries and deploy it to Cloud Run. The service runs image analysis using Vision API in response to Cloud Storage events and saves the analysis results in a Firestore collection.
Computer Vision Made Easy: Vision AI on Spring Boot and Java
Updated June 16, 2023
We’ll create a Computer Vision application using Spring Boot and Java, enabling you to unlock the potential of image recognition and analysis in your projects.
Trigger Cloud Run with Eventarc events
37 minutes
Updated April 12, 2023
In this codelab, you will learn about the main features of Eventarc.
Pic-a-daily: Store and Analyze Pictures with Google Native Java Client Libraries
1 hour
Updated October 13, 2022
In this code lab, you create a Java service leveraging Google’s Support for Native Java Client Libraries and deploy it to Cloud Run. The service runs image analysis using Vision API in response to Cloud Storage events and saves the analysis results in a Firestore collection.