A containerized web app is like a meal sitting back in the restaurant kitchen; it must be served in order to reach its full potential. Just so, a containerized disk image created by Cloud Build needs to be deployed to Cloud Run. In this hands-on lab, you gain experience providing this service and verifying that it deploys as expected.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Retrieve and Activate Resource Files
In Cloud Shell, clone the desired GitHub repo and run the
setup
script.- Containerize the App and Store the Disk Image
Use the appropriate
gcloud
command invoking Cloud Build to containerize the web app and then store the resulting disk image in Container Registry.- Deploy the Disk Image to Cloud Run
In Cloud Shell, execute the proper command to deploy the stored disk image to Cloud Run.
- Confirm the Deployment
Verify the service is running in Cloud Shell and use the supplied URL to view the app in the browser.