Effective Cloud Run Deployment Strategies

ADVANCED
175 minutes
5 tasks

In this lab, you will explore advanced deployment strategies with Cloud Run, focusing on concurrency management, scaling, and traffic splitting. You'll learn how to set up a CI/CD pipeline using Cloud Build, and monitor deployments with Google Cloud Console, which ensures that your applications are deployed efficiently and securely in a production environment.

Scenario

XYZ Corp is transitioning from a monolithic application to microservices to improve scalability and maintainability. They require an architecture that supports efficient deployment strategies and allows for quick rollbacks to previous versions if necessary. The target throughput must support 1000 requests per second, with a latency below 200ms.

Learning Objectives

  • Understand advanced deployment strategies with Cloud Run
  • Implement CI/CD pipelines with Cloud Build
  • Configure traffic splitting and manage rollbacks
  • Monitor and optimize application performance

tasks (5)

task 1: Set up a Cloud Run service with concurrency control

30 min

task 2: Set up a CI/CD pipeline using Cloud Build

45 min

task 3: Implement traffic splitting for canary releases

40 min

task 4: Monitor your deployment with Cloud Monitoring

65 min

task 5: Perform quick rollback using Cloud Run service versioning

25 min

Prerequisites

  • Basic understanding of Cloud Run and its deployment configurations
  • Familiarity with Cloud Build and containerization concepts
  • Experience with application monitoring and logging on GCP

Skills Tested

Understand advanced deployment strategies with Cloud RunImplement CI/CD pipelines with Cloud BuildConfigure traffic splitting and manage rollbacksMonitor and optimize application performance