To deploy my Spring Boot application on Google App Engine, I did the following:
Added the following maven plugin:
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>appengine-maven-plugin</artifactId>
<version>2.2.0</version>
<configuration>
<version>1</version>
<projectId>levelupfin-1fe89</projectId>
</configuration>
</plugin>
Created the following file: src/main/appengine/app.yaml
runtime: java11
instance_class: F1
Ran the following commands:
# To deploy to app engine
mvn appengine:deploy
# To see your app
gcloud app browse
I got much of this info from the following code lab.