Google Cloud Run: Hands-On Technical Deep Dive
Published 9/2023
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
Language: English | Size: 2.50 GB | Duration: 5h 45m
Published 9/2023
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
Language: English | Size: 2.50 GB | Duration: 5h 45m
Learn How To Create, Deploy, and Manage Cloud Run Services And Jobs In This Comprehensive Hands-On Technical Deep Dive
What you'll learn
Create, manage, and deploy Google Cloud Run Services and Jobs
Creating Images using Cloud Build with Buildpacks and Docker
Creating, managing, and attaching Service Accounts to Cloud Run Services and Jobs
Integrating Google Cloud Run with Pub/Sub, Cloud Storage, Eventarc, and Cloud SQL
Communicating with Cloud SQL using Public IP, Private IP
Communicating with Cloud SQL using Cloud SQL Connection and Cloud SQL Auth Proxy
Blue Green deployment
Securing Container Images
Requirements
This is a level 200/300 (Intermediate) course and we will get our hands dirty by doing things
Already have git cli installed or ability to install git cli on local system
Ability to create source repository on GitHub
Ability to understand basic python code
Ability to understand JSON/YAML files
Basic understanding of gCloud CLI
Have Visual Studio Code installed on your local system (Optional but highly recommended)
Ability to bear couple of dollars in Cloud bill
Description
In this course, you will learn how to deploy services using Google Cloud Run Services and Jobs. Cloud Run is a managed compute platform that lets you run containers directly on top of Google's scalable infrastructure.We will start by covering the basics of Google Cloud Run, including its architecture, features, and benefits. Then, we will dive deep into the different aspects of Cloud Run, such as:Creating, Deploying, and managing Google Cloud Run Services and JobsIntegrating Cloud Run Services to Cloud Pub/Sub, Cloud Storage, Eventarc, Cloud SQL etc.Building images using Cloud BuildSecuring Cloud Run ServicesStoring the artifacts in Artifact Registry and Securing themEt alBy the end of this course, you will have a deep understanding of Google Cloud Run and be able to use it to build secure and scalable Services and Jobs.This course is designed for developers, DevOps Engineers, and Security Engineers who want to learn how to use Google Cloud Run to build secure and scalable Services and Jobs. No prior experience with Cloud Run is required, but some basic knowledge of Google Cloud Platform is helpful.Here are some of the benefits of using Google Cloud Run:Cloud Run allows developers to spend their time writing their code, and very little time operating, configuring, and scaling their Cloud Run serviceYou don't have to create a cluster or manage infrastructure in order to be productive with Cloud Run.Serverless containers that can run any language or frameworkPay-per-use pricingFast request-based auto scalingUnique HTTPS endpoint for every serviceBuilt-in traffic management
Overview
Section 1: Introduction
Lecture 1 About Me
Lecture 2 What Will We Be Doing
Lecture 3 Expectations
Lecture 4 Code Structure Overview
Section 2: Lab Setup
Lecture 5 Lab Introduction
Lecture 6 Download Lab Files and Create Folder Structure
Lecture 7 Instructions to install Python, gCloud CLI, and Visual Studio Code
Section 3: Getting Started
Lecture 8 What is Google Cloud Run
Lecture 9 Ways To Run Your Code On Cloud Run
Lecture 10 What Is Cloud Run Services
Lecture 11 Features Of Cloud Run Services
Lecture 12 Pricing Model For Cloud Run Services
Lecture 13 What Is Cloud Run Jobs
Lecture 14 Differences Between Cloud Run Services and Cloud Run Jobs
Lecture 15 Cloud Run Integrations
Lecture 16 Cloud Run Resource Model
Section 4: Setup Source Repository On GitHub
Lecture 17 Lab Introduction And Code Download
Lecture 18 Why Use GitHub
Lecture 19 Create Source Repository In GitHub
Lecture 20 Create Personal Access Token On GitHub
Lecture 21 Initial Check-in Of Our Code
Section 5: Create Project and Setup gCloud CLI
Lecture 22 Lab Introduction And Code Download
Lecture 23 Create Project in GCP Console
Lecture 24 Setup gCloud CLI On Local Machine (Optional)
Section 6: Enable Required APIs & Services
Lecture 25 Lab Introduction and Code Download
Lecture 26 Enable Required APIs & Services
Section 7: Link GitHub Repo To Cloud Build Repositories
Lecture 27 Lab Introduction and Code Download
Lecture 28 Create Host Connection To GitHub
Lecture 29 Link GitHub Repo To Cloud Build Repositories
Section 8: Create Artifact Registry
Lecture 30 Lab Introduction and Code Download
Lecture 31 What is Artifact Registry
Lecture 32 Creating Artifact Registry
Section 9: Build And Deploy Cloud Run Service Using Buildpacks
Lecture 33 Lab Introduction And Code Download
Lecture 34 Code Walkthrough
Lecture 35 Push Code To GitHub Repository
Lecture 36 Create Build Trigger In Cloud Build And Run It
Lecture 37 Explore Build Logs and Container Image In Artifact Registry
Lecture 38 Create Cloud Run Service From GCP Console
Lecture 39 Explore Cloud Run Service and Its Settings
Lecture 40 Test Cloud Run Service
Section 10: Create Service Accounts and Assign Required Permissions
Lecture 41 Lab Introduction and Code Download
Lecture 42 Create Required Service Accounts
Lecture 43 Associate Roles To Service Accounts
Section 11: Build And Deploy Cloud Run Service Using Cloud Build and Buildpacks
Lecture 44 Lab Introduction, Code Download, And Push Code To GitHub Repo
Lecture 45 Code Walkthrough
Lecture 46 Create Build Trigger In Cloud Build And Run It
Lecture 47 Test Cloud Run Service
Section 12: Build And Deploy Cloud Run Service Using Cloud Build and Dockerfile
Lecture 48 Lab Introduction, Code Download, And Push Code To GitHub Repo
Lecture 49 Code Walkthrough
Lecture 50 Create Build Trigger In Cloud Build And Run It
Lecture 51 Test Cloud Run Service
Section 13: Buildpacks Or Dockerfile - Which One To Use?
Lecture 52 Differences Between Building Container Image Using Buildpacks and Dockerfile
Section 14: Setup Cloud SQL Instance And Import Data
Lecture 53 Lab Introduction and Code Download
Lecture 54 Prep Work
Lecture 55 Enable Required APIs & Services
Lecture 56 Create Cloud SQL Instance
Lecture 57 Preparing For Data Import - Assign Permissions To Cloud SQL Service Account
Lecture 58 Preparing For Data Import - Create Cloud Storage Bucket and Upload SQL Dump File
Lecture 59 Import Data Into Cloud SQL Instance
Lecture 60 How Data Import From Cloud Storage Into Cloud SQL Works
Section 15: Add Cloud SQL Authentication Details to Secret Manager
Lecture 61 Lab Overview and Code Download
Lecture 62 Create Secrets In Secret Manager
Lecture 63 Assign Required Permissions to Service Account
Section 16: Communicating With Cloud SQL Instance Over Public IP
Lecture 64 Lab Introduction, Code Download, And Push Code To GitHub Repo
Lecture 65 Code Walkthrough
Lecture 66 Create Build Trigger In Cloud Build And Run It
Lecture 67 Test Cloud Run Service
Section 17: Communicating With Cloud SQL Over Private IP using Serverless VPC Connector
Lecture 68 Lab Introduction, Code Download, And Push Code To GitHub Repo
Lecture 69 Enable Required APIs & Services
Lecture 70 Allocate Managed Private IP Range And Create Private Connection
Lecture 71 Create Serverless VPC Access Connector
Lecture 72 Enable Private IP Address For Cloud SQL Instance
Lecture 73 Take Note Of Private IP Address Of Cloud SQL Instance
Lecture 74 Code Walkthrough
Lecture 75 Create Build Trigger In Cloud Build And Run It
Lecture 76 Examine Cloud Run Service From GCP Console
Lecture 77 Test Cloud Run Service
Section 18: Communicating With Cloud SQL Over Private IP using Direct VPC Egress
Lecture 78 Lab Introduction, Code Download, And Push Code To GitHub Repo
Lecture 79 Assign Required Permissions To Service Account
Lecture 80 Code Walkthrough
Lecture 81 Delete Serverless VPC Access Connector
Lecture 82 Create Build Trigger In Cloud Build And Run It
Lecture 83 Test Cloud Run Service
Section 19: Communicating With Cloud SQL Over Cloud SQL Connection using Direct VPC Egress
Lecture 84 Lab Introduction, Code Download, And Push Code To GitHub Repo
Lecture 85 Enable Required APIs & Services
Lecture 86 Code Walkthrough
Lecture 87 Create Build Trigger In Cloud Build And Run It
Lecture 88 Test Cloud Run Service
Section 20: Integrating Cloud Run Service With Cloud Pub/Sub
Lecture 89 Lab Introduction, Code Download, And Push Code To GitHub Repo
Lecture 90 Use Case Overview and Code Walkthrough
Lecture 91 Create Build Trigger In Cloud Build And Run It
Lecture 92 Review Cloud Run Service From GCP Console
Lecture 93 Create Required Service Accounts And Assign Permissions
Lecture 94 Create Pub/Sub Schema and Validate It
Lecture 95 Create Pub/Sub Topic
Lecture 96 Create Subscription To The Pub/Sub Topic
Lecture 97 Test Cloud Run Service
Lecture 98 Examine Cloud Run Service Logs To View Incoming Message Attributes
Section 21: Integrating Cloud Run Service With Cloud Storage Using Eventarc
Lecture 99 Lab Introduction, Code Download, And Push Code To GitHub Repo
Lecture 100 Use Case Overview and Code Walkthrough
Lecture 101 Enable Required APIs & Services
Lecture 102 Create Build Trigger In Cloud Build And Run It
Lecture 103 Create Cloud Storage Bucket
Lecture 104 Assign Permissions To Service Accounts
Lecture 105 Create Service Account for Eventarc Trigger And Assign Permissions To It
Lecture 106 Create Eventarc Trigger
Lecture 107 Test Cloud Run Service And Examine Cloud Service Logs To Explore Event Data
Section 22: Setup and Secure Service To Service Communication
Lecture 108 Lab Introduction, Code Download, And Push Code To GitHub Repo
Lecture 109 Code Walkthrough
Lecture 110 Import Data In Cloud SQL Instance
Lecture 111 Create Service Account for Cloud Run Service And Assign Permissions To It
Lecture 112 Create Build Trigger In Cloud Build And Run It
Lecture 113 Assign Required Permissions To Service Account
Lecture 114 Create Build Trigger In Cloud Build And Run It
Lecture 115 Test Service To Service Communication
Section 23: Setup Blue/Green Deployment
Lecture 116 Lab Introduction, Code Download, And Push Code To GitHub Repo
Lecture 117 Code Walkthrough
Lecture 118 Create Build Trigger In Cloud Build And Run It - Blue
Lecture 119 Explore Cloud Run Service Revision And Test It - Blue
Lecture 120 Make Code Changes And Push To GitHub Repository - Green
Lecture 121 Create Build Trigger In Cloud Build And Run It - Green
Lecture 122 Explore Cloud Run Service Revision And Test It - Green
Lecture 123 Manage Traffic Routing To Blue & Green Revisions And Test Blue/Green Deployment
Section 24: Create and Deploy Cloud Run Job
Lecture 124 Lab Introduction, Code Download, And Push Code To GitHub Repo
Lecture 125 Use Case Overview and Code Walkthrough
Lecture 126 Create Cloud Storage Bucket For Outgoing File
Lecture 127 Assign Required Permissions To Service Account
Lecture 128 Create Build Trigger For Cloud Run Job In Cloud Build And Run It
Lecture 129 Explore Cloud Run Job
Lecture 130 Execute Cloud Run Job From GCP Console
Lecture 131 Enable Required APIs & Services To Create Schedule
Lecture 132 Create Scheduled Trigger and Test Cloud Run Job
Section 25: Setup Binary Authorization Using Built By Cloud Build Attestor
Lecture 133 Lab Introduction, Code Download, And Push Code To GitHub Repo
Lecture 134 Code Walkthrough
Lecture 135 Enable Required APIs & Services
Lecture 136 Create Build Trigger In Cloud Build And Run It
Lecture 137 Explore Built By Cloud Build Attestor
Lecture 138 Modify Default Binary Authorization Policy
Lecture 139 Create Deployment Trigger and Run it
Lecture 140 Test Cloud Run Service
Lecture 141 Verify Service Revision Is Not Created If Image Is Not Built By Cloud Build
Section 26: Setup Binary Authorization Using Custom Attestor
Lecture 142 1-Lab Introduction, Code Download, And Push Code To GitHub Repo
Lecture 143 Enable Required APIs & Services
Lecture 144 Create Key Management Service (KMS) Key Ring
Lecture 145 Create Key Management Service (KMS) Key
Lecture 146 Create Custom Attestor
Lecture 147 Explore Custom Attestor
Lecture 148 Modify Default Binary Authorization Policy
Lecture 149 Code Walkthrough
Lecture 150 Add Required Permissions to Service Account
Lecture 151 Create Build Trigger In Cloud Build And Run It
Lecture 152 Create Deploy Trigger In Cloud Build And Run It
Lecture 153 Verify Service Revision Is Not Created If Image Is Not Signed By Custom Attestor
Section 27: Deploying Cloud SQL Auth Proxy As A Sidecar Container
Lecture 154 1-Lab Introduction, Code Download, And Push Code To GitHub Repo
Lecture 155 Code Walkthrough
Lecture 156 Enable Required APIs & Services
Lecture 157 Create Build Trigger In Cloud Build And Run It
Lecture 158 Explore Cloud Run Service In GCP Console
Lecture 159 Test Cloud Run Service
Lecture 160 Verify Sidecar Container Is Being Used By Ingress Container
Software Engineers wanting to learn how to develop Google Cloud Run Services and Jobs,DevOps Engineers wanting to learn how to deploy and manage Google Cloud Run Services and Jobs,Security Engineers wanting to learn how to secure Google Cloud Run Services and Jobs