Cloud Toolkit lets you quickly deploy applications to SAE. This method is ideal for scenarios that require rapid application updates. After you install and configure Cloud Toolkit in Eclipse, you can set the deployment parameters on the configuration interface to automate the deployment.
Prerequisites
You have deployed an SAE application. For more information, see Deploy an application in the console.
You have installed and configured Cloud Toolkit. For more information, see Install and configure Cloud Toolkit in Eclipse.
Procedure
In the Project Explorer pane, right-click the project that you want to deploy and choose from the shortcut menu.
In the Deploy to SAE dialog box, set the deployment parameters.
NoteIf you have not created an application in SAE, click Create Serverless Application on SAE console in the upper-right corner of the dialog box to go to the SAE console and create an application.
The following table describes the deployment parameters.
Parameters
Parameter
Description
Application
Region
The region where the application is located.
Namespace
The namespace where the application is located.
Application
The name of the application.
Deploy File
Maven Build
If you select this option, the system adds a Maven task to build the deployment package. To deploy a submodule of a multi-module project, see Deploy a submodule of a multi-module project using Eclipse.
Upload File
If you select this option, upload your WAR or JAR package to deploy.
Image Address
When you select the Image method to build an application, you must enter a Registry Address before deploying the application.
NoteIf you deployed the application from a JAR or WAR package, you can only select the Maven Build or Upload File deployment method in Cloud Toolkit. If you deployed the application from an image, you can only select the Image deployment method.
Click Deploy.
Verify the result
After the deployment starts, deployment logs are displayed in the Console view of Eclipse. Check the logs to verify the deployment result.
You can also log on to the SAE console and view the update records on the Change History page of the application.