You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-docs/src/docs/asciidoc/deployment/cloud.adoc
+3-10Lines changed: 3 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -365,11 +365,7 @@ This https://spring.io/guides/gs/spring-boot-for-azure/[Getting Started guide] w
365
365
Google Cloud has several options that can be used to launch Spring Boot applications.
366
366
The easiest to get started with is probably App Engine, but you could also find ways to run Spring Boot in a container with Container Engine or on a virtual machine with Compute Engine.
367
367
368
-
To run in App Engine, you can create a project in the UI first, which sets up a unique identifier for you and also sets up HTTP routes.
369
-
Add a Java app to the project and leave it empty and then use the https://cloud.google.com/sdk/install[Google Cloud SDK] to push your Spring Boot app into that slot from the command line or CI build.
370
-
371
-
App Engine Standard requires you to use WAR packaging.
372
-
Follow https://github.com/GoogleCloudPlatform/java-docs-samples/tree/master/appengine-java8/springboot-helloworld/README.md[these steps] to deploy App Engine Standard application to Google Cloud.
368
+
To deploy your first app to App Engine standard environment, follow https://codelabs.developers.google.com/codelabs/cloud-app-engine-springboot#0[this tutorial].
373
369
374
370
Alternatively, App Engine Flex requires you to create an `app.yaml` file to describe the resources your app requires.
375
371
Normally, you put this file in `src/main/appengine`, and it should resemble the following file:
@@ -378,12 +374,9 @@ Normally, you put this file in `src/main/appengine`, and it should resemble the
378
374
----
379
375
service: "default"
380
376
381
-
runtime: "java"
377
+
runtime: "java17"
382
378
env: "flex"
383
379
384
-
runtime_config:
385
-
jdk: "openjdk8"
386
-
387
380
handlers:
388
381
- url: "/.*"
389
382
script: "this field is required, but ignored"
@@ -405,7 +398,7 @@ You can deploy the app (for example, with a Maven plugin) by adding the project
0 commit comments