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.
Getting Started - Click to Deploy
You can deploy a Hello World Application simply by click on the Run on Google Cloud button below!
Getting Started - Manual Deployment
Clone
cd $HOMEgitclonehttps://github.com/saturnism/jvm-helloworld-by-examplecdjvm-helloworld-by-example/helloworld-springboot-tomcat
Build
./mvnwpackage
Containerize
Enable API
Enable the Container Registry API so that you can push container images to Container Registry.
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: