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?
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 simply by click on the Run on Google Cloud button below!
Enable the Container Registry API so that you can push container images to .
Use Jib to containerize the application:
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:
Learn different ways to containerize a Java application in the section.