Technical Theory

The ultimate Cloud Run guide from zero to production demo walkthrough  |  Google Codelabs

Executive Summary

This codelab guides you through deploying a sample application to Cloud Run, covering essential aspects such as containerization, continuous integration/continuous deployment (CI/CD), and traffic management. It is designed to provide a comprehensive understanding of how to leverage Cloud Run for deploying scalable and reliable applications.

terminal
Interactive Lab

This codelab guides you through deploying a sample application to Cloud Run, covering essential aspects such as containerization, continuous integration/continuous deployment (CI/CD), and traffic management. It is designed to provide a comprehensive understanding of how to leverage Cloud Run for deploying scalable and reliable applications.

Launch Codelab —>

Technical Breakdown

Category Technology Experience Resources
Containerization Docker 3 / 5 Documentation
CI/CD Cloud Build 3 / 5 Documentation
Deployment Cloud Run 4 / 5 Documentation
Google Cloud CLI gcloud CLI 3 / 5 Documentation
Infrastructure as Code YAML 2 / 5 Documentation

Learning Objectives

  • Containerize a sample application using Docker.
  • Create a Cloud Build configuration file to automate the build and deployment process.
  • Deploy the application to Cloud Run using the gcloud CLI.
  • Implement traffic splitting between different revisions of the application.
  • Set up a service account with the necessary permissions to allow Cloud Build to deploy to Cloud Run.

Key Learning Points

  • Understand how to containerize an application using Docker.
  • Learn how to set up a CI/CD pipeline with Cloud Build for automated deployments to Cloud Run.
  • Discover how to manage traffic splitting between different revisions of your application on Cloud Run.
  • Gain insights into creating and managing service accounts for secure access to Google Cloud resources.

Core Skills Gained

  • Containerization
  • CI/CD
  • gcloud CLI
  • YAML

Next Topic