Guide to deploy containers on Google Cloud Run
Last Updated :
12 Jul, 2025
Google Cloud Run is one of the fast and scalable solution for your API deployment over secure https connection and can be considered as first choice of every developer. Well firebase is for static websites, right? What if we can deploy Dynamic websites on firebase too? All you need is
Cloud Run. Here, in this tutorial we will be showing you how you can deploy a simple website on Cloud Run. we will be using
Flask for the website. First set-up your system with Google Cloud SDK. If you don't know how to do it I recommend you read through their official documentation
here.
Enable Cloud Run API
Next you need to enable the
Cloud Run API.
Creating the project
Now the fun part begins. Let's get to the code.
Deploy the project
Now your project is ready to be deployed. To deploy it to Google Cloud Run, we need to containerize the project and the container to Google Container Registry (gcr).
Let's see how it can be done.
Output-
If you have done all the steps correctly then, your Cloud Run page should look something like this
Congratulations! You have just deployed an application packaged in a container image to Cloud Run. Cloud Run automatically and horizontally scales your container image to handle the received requests, then scales down when demand decreases.
Similar Reads
Google Cloud Run - Working with Python Python is one of the most popular programming languages and growing. It's well-suited for a number of use cases, including web applications, machine learning, and big data. Cloud Run lets you use any runtime you want, making it easy to deploy Python in a serverless way. Cloud Run is also fully manag
3 min read
Introduction to Azure Container Instances Pre-requisite: Azure Azure Container Instances (ACI) is a fully managed service for deploying and running containerized applications in Azure. It allows you to specify the exact number of CPU cores and amount of memory that your container needs, and it automatically allocates the resources to your c
9 min read
Google Cloud Platform - Using the Kubernetes API In this article, we will look at the Kubernetes API and how it makes modeling the application lifecycle easier. Let's go over the concepts that make Kubernetes usable, scalable, and just downright awesome. When it comes to what scalable applications need, we've talked about containers and nodes, but
4 min read
Google Cloud Platform - Setting Up a Game Server In this article, we will set up a server in a public cloud to serve a game application by using infrastructure as a service (IaaS) provided by the google cloud platform. However, the process will be nearly the same for any other public cloud platforms. Overview of steps:Set up the account and create
4 min read
Docker - Working With Kubernetes Docker is a tool designed to make it easier to create, deploy and run applications by making use of containers. Docker can execute image files too. Docker allows you to separate applications from infrastructure so that Docker containers can deliver projects in a faster manner. It makes use of OS-lev
4 min read
ECS Features Pre-requisite: ECS ECS stands for Elastic Container Service it is a container management service that was introduced In order to solve the difficulty of container administration on Amazon Elastic Compute Cloud (EC2) instances, Amazon released Amazon ECS, a container management service, in 2014. With
4 min read