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.
Upon completion of this Lab you will be able to:
This Lab is intended for:
Basic knowledge of Docker is a plus but it is not required.
March 29th, 2022 - Updated the instructions and screenshots to reflect the latest UI
January 8th, 2020 - Updated lab to use a GCE instance rather than Cloud Shell to avoid availability issues
December 24th, 2020 - Updated Cloud Build command to account for cases when the Cloud Shell project is not configured
December 23rd, 2019 - Updated instructions and screenshots to reflect the latest console experience
Stefano studies Computer Science and is passionate about technology. He loves working with Cloud services and learning all the best practices for them. Google Cloud Platform and Amazon Web Services are the cloud providers he prefers. He is a Google Cloud Certified Associate Cloud Engineer. Node.js is 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.