Commit 3243ccd8 authored by Andy Wilkinson's avatar Andy Wilkinson

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
parents ce8e1527 7a53623e
...@@ -400,9 +400,13 @@ identifier for you and also sets up HTTP routes. Add a Java app to the project a ...@@ -400,9 +400,13 @@ identifier for you and also sets up HTTP routes. Add a Java app to the project a
it empty and then use the https://cloud.google.com/sdk/downloads[Google Cloud SDK] to it empty and then use the https://cloud.google.com/sdk/downloads[Google Cloud SDK] to
push your Spring Boot app into that slot from the command line or CI build. push your Spring Boot app into that slot from the command line or CI build.
App Engine needs you to create an `app.yaml` file to describe the resources your app App Engine Standard requires you to use WAR packaging. Follow
requires. Normally, you put this file in `src/main/appengine`, and it should resemble the https://github.com/GoogleCloudPlatform/getting-started-java/blob/master/appengine-standard-java8/springboot-appengine-standard/README.md[these steps]
following file: to deploy App Engine Standard application to Google Cloud.
Alternatively, App Engine Flex requires you to create an `app.yaml` file to describe
the resources your app requires. Normally, you put this file in `src/main/appengine`,
and it should resemble the following file:
[source,yaml,indent=0] [source,yaml,indent=0]
---- ----
...@@ -446,10 +450,6 @@ build configuration, as shown in the following example: ...@@ -446,10 +450,6 @@ build configuration, as shown in the following example:
Then deploy with `mvn appengine:deploy` (if you need to authenticate first, the build Then deploy with `mvn appengine:deploy` (if you need to authenticate first, the build
fails). fails).
NOTE: Google App Engine Classic is tied to the Servlet 2.5 API, so you cannot deploy a
Spring Application there without some modifications. See the
<<howto.adoc#howto-servlet-2-5,Servlet 2.5 section>> of this guide.
[[deployment-install]] [[deployment-install]]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment