How to deploy SpringBoot REST app for Google App Engine?

I tried

Subscription for GoogleAppEngine.

1. INSTALLED GOOGLE APP ENGINE SDK 2. Downloaded the sample Java started code and deployed it. Working fine. 3. Used $appcfg.sh -A <appname> update target/appengine-try-java-1.0 to deploy 4. In this case, its a folder with all the webapp related stuffs 

Question

In my case, I have a spring boot application that creates a jar file. It works with the built-in container, and I believe that Google may have an alternative to deploy using Docker or some other way. But how?

There is no pointer or any details on how to run this on a platform managed by Google, as far as I was looking.

Any help or documentation link !! Deputies ??

+6
source share
3 answers

The Google App Engine still uses Servlet 2.5, which is lower than Spring Boot requirements (i.e. Servlet 3.0).

There is a workaround to check the documentation for more details.

+7
source

Spring Download requires Servlet 3.0, which GAE does not have. WorkAround must have a spring-boot-legacy dependency. You can additionally check how to implement: https://github.com/scratches/spring-boot-sample-gae

+3
source

All Articles