Cloud Academy

Build and Deploy a Container Application with Google Cloud Run

Lab Steps

Signing In to Google Cloud Console
Starting a Google Cloud Shell
Creating a Sample Python Application
Containerizing a Python Application using Cloud Build
Deploying a Containerized Application to Cloud Run
Monitoring and Getting Logs Using the Cloud Run Console

The hands-on lab is part of this learning path

Google Associate Cloud Engineer Exam Preparation
course-steps 10 certification 1 lab-steps 8

Ready for the real environment experience?

Time Limit40m
star star star star star


Cloud Run is a managed compute platform that automatically scales your stateless containers. Google Cloud Run is a serverless service, meaning you only need to think about your code; you write it, you test it and then you can deploy it by using Cloud Run. Everything related to the platform: CPU, memory, and networking are managed by Cloud Run. Because Cloud Run uses containers you don't need to worry about whether your preferred programming language is supported or handling dependencies. Everything is in the container and just runs. In this Lab, you will build a Docker image that refers to a simple Python application by using Cloud Build, then you will deploy the application by using Cloud Run. You will also monitor and get logs of your application by using the Cloud Run Console.

Learning Objectives

Upon completion of this Lab you will be able to:

  • Deploy a container application to Google Cloud Run
  • Monitor a running application by using Cloud Run Console

Intended Audience

This Lab is intended for:

  • Google Cloud Associate Cloud Engineer (ACE) certification candidates
  • Individuals who want to improve their skills in the serverless deployment area by using Google services
  • Solutions Architects who want to move their container applications to serverless


Basic knowledge of Docker is a plus but it is not required.


December 23rd, 2019 - Updated instructions and screenshots to reflect the latest console experience

Environment before
Environment after

About the Author

Stefano studies Computer Science and is passionate about technology. He loves working with Cloud services and learning all the best practices for them. Amazon Web Services is the provider he prefers and Node.js the programming language he always uses to code. When he's not involved in studying or working, Stefano loves riding his motorbike and exploring new places.