Skip to content

Commit 3243ccd

Browse files
committed
Merge pull request #13090 from ifigotin
* gh-13090: Polish "Clarify deployment of Spring Boot apps to App Engine Standard" Clarify deployment of Spring Boot apps to App Engine Standard
2 parents ce8e152 + 7a53623 commit 3243ccd

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -400,9 +400,13 @@ identifier for you and also sets up HTTP routes. Add a Java app to the project a
400400
it empty and then use the https://cloud.google.com/sdk/downloads[Google Cloud SDK] to
401401
push your Spring Boot app into that slot from the command line or CI build.
402402

403-
App Engine needs you to create an `app.yaml` file to describe the resources your app
404-
requires. Normally, you put this file in `src/main/appengine`, and it should resemble the
405-
following file:
403+
App Engine Standard requires you to use WAR packaging. Follow
404+
https://github.com/GoogleCloudPlatform/getting-started-java/blob/master/appengine-standard-java8/springboot-appengine-standard/README.md[these steps]
405+
to deploy App Engine Standard application to Google Cloud.
406+
407+
Alternatively, App Engine Flex requires you to create an `app.yaml` file to describe
408+
the resources your app requires. Normally, you put this file in `src/main/appengine`,
409+
and it should resemble the following file:
406410

407411
[source,yaml,indent=0]
408412
----
@@ -446,10 +450,6 @@ build configuration, as shown in the following example:
446450
Then deploy with `mvn appengine:deploy` (if you need to authenticate first, the build
447451
fails).
448452

449-
NOTE: Google App Engine Classic is tied to the Servlet 2.5 API, so you cannot deploy a
450-
Spring Application there without some modifications. See the
451-
<<howto.adoc#howto-servlet-2-5,Servlet 2.5 section>> of this guide.
452-
453453

454454

455455
[[deployment-install]]

0 commit comments

Comments
 (0)