Skip to content

Commit 676b013

Browse files
ifigotinwilkinsona
authored andcommitted
Clarify deployment of Spring Boot apps to App Engine Standard
Closes spring-projectsgh-13090
1 parent ce8e152 commit 676b013

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

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

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -400,9 +400,11 @@ 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 one to use WAR packaging. Follow https://github.com/GoogleCloudPlatform/getting-started-java/blob/master/appengine-standard-java8/springboot-appengine-standard/README.md[these steps] to deploy App Engine Standard application to Google Cloud.
404+
405+
App Engine Flex on the other hand requires you to create an `app.yaml` file to describe
406+
the resources your app requires. Normally, you put this file in `src/main/appengine`,
407+
and it should resemble the following file:
406408

407409
[source,yaml,indent=0]
408410
----
@@ -446,10 +448,6 @@ build configuration, as shown in the following example:
446448
Then deploy with `mvn appengine:deploy` (if you need to authenticate first, the build
447449
fails).
448450

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-
453451

454452

455453
[[deployment-install]]

0 commit comments

Comments
 (0)