Deploy multi-project applications

更新时间:
复制 MD 格式

This topic describes how to use Cloud Toolkit in IntelliJ IDEA to deploy multiple applications at the same time.

Prerequisites

Cloud Toolkit is installed and configured. For more information, see Install and configure Cloud Toolkit in IntelliJ IDEA.

Background information

When working with local or microservice applications, developers often need to deploy multiple applications or services at once. The Multirun Deployment feature in Cloud Toolkit lets you deploy multiple local JAR packages at the same time.

Procedure

  1. Open your project in IntelliJ IDEA.
  2. In the menu bar, choose Tools > Alibaba Cloud > Multirun Deployment....
  3. In the Cloud Toolkit Multirun dialog box, click the + icon on the right and select the applications to deploy.
    cloud toolkit multirun

    The following describes the features of each deployment region.

    AreaDescription
    Area 1
    • Plus sign: Adds an application.
    • 减号: Delete an application.
    • 向上箭头: Move an application up.
    • 向下箭头: Move an application down.
    Area 2
    • Start configurations one by one: Deploys applications sequentially in the specified order.
      Note with delay: Sets the time interval between deployments, in seconds (s).
    • Mark the tab of failed configuration: Marks the tab of a failed deployment with an asterisk (✳).
    • Close tab of successfully completed configuration (and leave only tabs of failed configurations): Automatically closes the tabs of successfully deployed applications. Tabs for failed deployments remain open.
    • Re-use tab to run configuration (except the tab of failed configurations): Reuses the tabs of successfully deployed applications. Tabs for failed deployments are not reused.
  4. Click Apply, and then click Run.