- Lab
- A Cloud Guru
Your First Cloud Run Deployment
In this hands-on lab, you'll familiarize yourself with Cloud Run, both in the web Cloud Console and via the command line in Cloud Shell. You'll deploy a Hello World container image to Cloud Run, and then import a public image from Docker Hub to create a second Cloud Run service.
Path Info
Table of Contents
-
Challenge
Deploy a Hello World Container in the Cloud Console
Deploy a container using the
hello
sample container with Cloud Run through the Google Cloud Console. Make sure to configure the deployment for unauthenticated invocations and set the maximum number of instances to 1. Deploy the image and test the service URL. Once completed, delete the deployment before moving on to the next objective. -
Challenge
Deploy a Hello World Container with the Cloud Shell
Launch Google Cloud Shell and configure the environment to use the provided project, the
managed
platform, theus-east1
region, and configure Docker authentication. Once that has been completed, deploy the sample container with Cloud Run from the Cloud Shell and test the service URL.Once completed, delete the deployment before moving on to the next objective.
Note: Make sure to set the deployment to use
2
CPUs and4Gi
of memory. -
Challenge
Deploy a Public Docker Image to Cloud Run
In Cloud Shell, pull down the public docker image
mattipaksula/http-doom
. Once pulled, tag the image and push the image to theGoogle Cloud Registry
. Deploy the image and test the service URL. Upon completion, delete the deployment.
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.