All Products
Search
Document Center

Enterprise Distributed Application Service:How do I release an application in phases or by instance group?

Last Updated:Jan 03, 2024

If you want to deploy an application on multiple instances, you can release the application in phases, by instance group, or in phases by instance group.

Solutions

  1. After an application is created, go to the application details page and click Deploy in the upper-right corner.

  2. On the Select Deployment Mode page, click Start Deployment in the upper right corner of the Regular Release (Single-batch/Multi-batch) section.

  3. On the Regular Release (Single-batch/Multi-batch) page, specify the File Uploading Method parameter, upload a WAR or JAR package, and then specify the Version parameter.

  4. Configure the parameters in the Release Policy section.

    1. From the Group drop-down list, select an instance group to which you want to release the application.

      If no instance group is available to select, you must create an instance group. Procedure:

      1. On the Instance Information tab of the Basic Information page, click Create Group. In the Create Group dialog box, configure the Group Name parameter and click Create. For example, you can enter beta in the Group Name field.

      2. In the Default Group section of the Instance Information tab, find the instance that you want to manage and click Change Group in the Actions column. In the Change Group dialog box, select a new group such as the Beta group from the Target Group drop-down list, and click OK.

      3. Add the instances on which you want to release the application to the instance group in sequence.

      For more information about instance groups, see Manage an instance group in an ECS cluster in the EDAS console.

    2. From the Batches per Group drop-down list, select the number of phases in which you want to release the application.

    3. From the Batch Mode drop-down list, select Automatic or Manual.

  5. After you configure the parameters, click OK. This way, you can release the application in phases by instance group.