- Lab
- A Cloud Guru
Go Live with Your Website on Cloud Run
The goal of this hands-on lab is to give you the experience of pushing your website application live on Cloud Run, from start to finish, including revision and redeployment. In this lab, you'll use Cloud Shell to gather the necessary files from a GitHub repository and install any necessary dependencies. Then you'll call Cloud Build to containerize the web app and store it in Container Registry. Once that operation is complete, you will deploy the new disk image to Cloud Run and review the output. Then, you'll make an update to the web app source code, re-build the application, and iterate the process to review the new version of your site running on Cloud Run.
Path Info
Table of Contents
-
Challenge
Prepare Website App on Google Cloud
Retrieve the working files from the repository specified below and use the listed folder. Execute a script to set up the web application.
GitHub repo: https://github.com/linuxacademy/content-launching-and-updating-a-website-using-cloud-run
Folder:
go-live-with-your-website-on-cloud-run
-
Challenge
Create and Store a Containerized Application
Working in the folder specified below, use Cloud Shell to build a containerized image and store it with the specified name and version number.
Folder:
monolith
Name: webcat
Version: 1.0.0
-
Challenge
Deploy the Disk Image to Cloud Run
Using Cloud Shell, deploy the disk image to Cloud Run in the region specified below.
Region: us-east1
-
Challenge
Revise Website and Redeploy New Version
Update the website to add a new cat photo and caption after the current final entry; use the caption and image listed below. Rebuild the web application, as well as the disk image, and redeploy it with the name and version number listed below.
Caption: Z Happy Cat
Image:
z-happy-cat.jpg
Name: webcat
Version: 2.0.0
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.