0
votes

Google Standard App Engine has a limit of roughly 35MB for its application deployment. I wanted to deploy a Spring Boot based application to GAE, but just by referencing

   dependencies {
       implementation 'org.springframework.boot:spring-boot-starter-web'
       implementation 'org.springframework.boot:spring-boot-starter-data-jpa'

       runtimeOnly 'com.h2database:h2'                                      
   }

the app already exceeds 40MB. Is there a way to let App Engine know to fetch these files during run time rather than compiling them into one big war file?

2

2 Answers

4
votes

They are not limiting file size to 35mb. We still deployed over 100mb projects. enter image description here

But one thing, Make sure you are using

App Engine Standard Version

instead of App Engine Flexible Version

0
votes

The 32MB limitation is only for individual files.

The old way of deploying (appcfg.sh) worked over the uncompressed war file and maven (mvn clean package appengine:deploy) uploads individual files so none of both ways can hit a limitation because of the 'whole war size'

See this spring-boot app that I am playing with. I've just added a dummy 23MB file to it and everything works: enter image description here

What I am trying to say is that I am not familiar with gradle but I would find it hard to believe they've made such a mistake on the newest deployment tool.

Have you really hit this limitation? In such a case, can you share the command you use to deploy and the exact error?