Skip to content

Commit 22fde44

Browse files
committed
Merge branch '3.0.x' into 3.1.x
Closes gh-36850
2 parents 48aa891 + 2d8dbbd commit 22fde44

File tree

1 file changed

+3
-10
lines changed
  • spring-boot-project/spring-boot-docs/src/docs/asciidoc/deployment

1 file changed

+3
-10
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/deployment/cloud.adoc

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -365,11 +365,7 @@ This https://spring.io/guides/gs/spring-boot-for-azure/[Getting Started guide] w
365365
Google Cloud has several options that can be used to launch Spring Boot applications.
366366
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.
367367

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].
373369

374370
Alternatively, App Engine Flex requires you to create an `app.yaml` file to describe the resources your app requires.
375371
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
378374
----
379375
service: "default"
380376
381-
runtime: "java"
377+
runtime: "java17"
382378
env: "flex"
383379
384-
runtime_config:
385-
jdk: "openjdk8"
386-
387380
handlers:
388381
- url: "/.*"
389382
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
405398
<plugin>
406399
<groupId>com.google.cloud.tools</groupId>
407400
<artifactId>appengine-maven-plugin</artifactId>
408-
<version>1.3.0</version>
401+
<version>2.4.4</version>
409402
<configuration>
410403
<project>myproject</project>
411404
</configuration>

0 commit comments

Comments
 (0)