Build and Deploy a Container Application with Google Cloud Run

Lab Steps

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

Ready for the real environment experience?

DifficultyIntermediate
Max Duration40m
Students13

Description

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

Prerequisites

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

Environment before
PREVIEW
arrow_forward
Environment after
PREVIEW

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.