Cloud Run
Deploy a container to serverless environment using a single command.
Last updated
Was this helpful?
Deploy a container to serverless environment using a single command.
Last updated
Was this helpful?
Cloud Run is a fully managed container runtime environment, where you can deploy any HTTP serving container, and Cloud Run will automatically scale out the number of instances as needed, and scale down to zero when no one is using it.
You can deploy a Hello World Application simply by click on the Run on Google Cloud button below!
Enable the Container Registry API so that you can push container images to Container Registry.
Use Jib to containerize the application:
Learn different ways to containerize a Java application in the Container Image section.
Once deployed, Cloud Run will display the HTTPs URL. You can also find the URL with the command line:
You can curl
the URL:
By default, Cloud Run will deploy with the smallest 1CPU 256MB instance. You can specify a larger instance, and configure environment variables with the gcloud
CLI: