App Engine
Deploy a JAR to a fully managed PaaS with just one command.
Last updated
Was this helpful?
Was this helpful?
cd $HOME
git clone https://github.com/saturnism/jvm-helloworld-by-example
cd jvm-helloworld-by-example/helloworld-springboot-tomcat./mvnw packagegcloud app deploy target/helloworld.jargcloud app browsegcloud app browse --no-launch-browserURL=$(gcloud app browse --no-launch-browser)
curl ${URL}runtime: java11
instance_class: F4
env_variables:
SPRING_PROFILES_ACTIVE: "prod"gcloud app deploy target/helloworld.jar \
--appyaml app.yaml