All Products
Search
Document Center

Serverless App Engine:Use the Alibaba Cloud Toolkit for Eclipse plug-in to deploy an application

Last Updated:Apr 01, 2026

The Alibaba Cloud Toolkit for Eclipse plug-in lets you deploy applications to Serverless App Engine (SAE) directly from your Eclipse workspace — without switching to the console. This topic covers installing the plug-in, configuring your Alibaba Cloud credentials, and deploying an application.

Prerequisites

Before you begin, ensure that you have:

Install Alibaba Cloud Toolkit

  1. Start Eclipse.

  2. In the top navigation bar, choose Help > Install New Software.

  3. In the Available Software dialog box, enter the following URL in the Work with field:

    http://toolkit.aliyun.com/eclipse/

    Press Enter.

  4. Configure components: Configure Alibaba Cloud Toolkit components - Eclipse

    1. In the type filter text list, select the components you want to install.

    2. In the Details section, clear Contact all update sites during install to find required software.

    3. Click Next.

  5. Follow the prompts on the installation page to complete the installation.

    Important

    If a message indicating that no digital signature exists appears, select Install anyway.

  6. Restart Eclipse.

After Eclipse restarts, the Alibaba Cloud Toolkit icon appears in the toolbar.

Alibaba Cloud Toolkit is installed

Configure your Alibaba Cloud account

Alibaba Cloud Toolkit calls Alibaba Cloud API operations to deploy your application. These calls require an AccessKey pair for authentication.

  1. Start Eclipse.

  2. In the top navigation bar, choose Windows > Preferences.

  3. In the left-side navigation pane of the Preferences page, choose Alibaba Cloud Toolkit > Accounts.

  4. On the Accounts page, enter your Access Key ID and Access Key Secret, then click Apply and Close.

    Accounts

Deploy an application to SAE

Alibaba Cloud Toolkit supports three deployment methods: WAR packages, JAR packages, and images.

  1. In the Package Explorer section on the left side of Eclipse, right-click your application project and choose Alibaba Cloud > Deploy to SAE....

  2. In the Deploy to SAE dialog box, set the Region, Namespace, and Application parameters, then select a deployment method. The following table describes the deployment parameters.

    Note

    If you haven't created an application in SAE yet, click Create Serverless Application on SAE console in the upper-right corner of the dialog box to go to the SAE console.

    Note

    The deployment method you select must match how the application was originally deployed in the SAE console. If you used a JAR or WAR package in the console, select Maven Build or Upload File. If you used an image, select Image Address.

    CategoryParameterDescription
    ApplicationRegionThe region where the application resides.
    NamespaceThe namespace to which the application belongs.
    ApplicationThe name of the application.
    Deploy fileMaven BuildAdds a Maven job to build the deployment package. Select this option if you deployed the application in SAE using a JAR or WAR package.
    Upload FileUploads a WAR or JAR package directly to deploy. Select this option if you deployed the application in SAE using a JAR or WAR package.
    Image AddressEnter an image address to deploy. Select this option if you deployed the application in SAE using an image.
  3. Click Deploy.

After deployment starts, Eclipse prints logs in the Console section. You can view the logs to check whether the deployment is successful. To confirm, log in to the SAE console and check the Change Records page for the application's latest change entry.

Stop the plug-in

To stop a deployment in progress, go to the Progress page in Eclipse and stop the SAE-deploy process.

Deploy a multi-module project

For projects with multiple modules, use the toolkit-maven-plugin plug-in. Two methods are available:

Method 1: Run commands from the parent project

This method requires toolkit-maven-plugin V1.0.3 or later.

Run the toolkit:deploy command from the parent project directory and use the -Ddeploy_artifacts parameter to specify which submodules to deploy. Separate multiple submodule artifact IDs with commas.

For example, given the following project structure:

carshop
   itemcenter-api
   itemcenter
   detail

To deploy itemcenter and detail, run the following command from the carshop directory:

mvn clean package toolkit:deploy -Ddeploy_artifacts=itemcenter,detail

By default, the plug-in deploys each specified submodule using its .edas_config.yaml configuration file. To use a custom configuration file, add the -Dedas_config parameter.

Method 2: Run commands from the submodule directory

All versions of toolkit-maven-plugin support this method.

  1. Run install in the parent project to install submodule dependencies to your Maven local repository.

  2. Go to the directory of the submodule you want to deploy.

  3. Run toolkit:deploy.

What's next

After deploying your application, you can manage and monitor it from the SAE console:

TaskReference
Update, start, stop, delete, or scale an applicationManage the lifecycle of an application
Configure auto scalingConfigure an auto scaling policy
Bind an SLB instance to your applicationBind an SLB instance to an application
Start or stop multiple applications at onceUse the one-click start and stop feature to manage applications
Manage application configurationConfiguration management
Change instance specificationsChange the instance specifications of an application
View logsLog management
Set up monitoringMonitoring management
View application eventsView application events
View change recordsView change records
Diagnose application healthUse webshells to diagnose applications