简体   繁体   中英

Deploying Existing Spring Boot Application on Google App Engine

I have developed an application using Spring locally. I want to deploy my existing application using Google App Engine. Does anyone know how to deploy existing application to GAE?

You can convert your project using Cloud Tools for Eclipse. Go to this page and drag and drop the 'install' icon inside your Eclipse installation. See the Google documentation on how to use the plugin.

Basically you right click on you project and convert it to a maven project, or choose File > Import... > Existing Maven Projects wizard. Once you have your maven project loaded into Eclipse, tight click again and Configure > Convert to App Engine Project . This guide explains the whole process.

Finally, having your project set up:

To deploy the project to App Engine Standard environment:

  1. Right click the project in the Package Explorer the project to open the context menu.

  2. Select Deploy to App Engine Standard

  3. A dialog pops up.

  4. Select the account you want to deploy with, or add a new account.

  5. The list of projects the account has access to loads. Select the one you want to deploy to.

  6. Click OK.

All the details are here .

UPDATE:

In this Github repo , there are instructions on how to convert an existing Spring Boot App to Google App Engine. In this answer , I apply those instructions to a sample application.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM