edit-icon download-icon

Manage instance groups

Last Updated: Feb 01, 2019

Overview

This function groups all ECS instances for an application so that you can deploy different application package versions for the ECS instances in different groups.

For example, there are 10 instances in the “itemcenter” application, which are divided into two groups: “Default Group” and “Beta Group”.The default group contains six instances and the Beta group contains four.Now there are two groups of instances in the application to which you can deploy different versions of the application package.

Note:

  1. When an application is created in EDAS, a new group “Default Group” will be created by default for the application, and cannot be deleted.
  2. If no multi-version deployment is required, the default group is generally adequate.

Create groups

Gated release is often used for the launch of new application versions, so that the new version can be test run without affecting the traffic in the production environment. In this case, you need to create a new group for the application.

  1. Log on to the EDAS console.

  2. In the left-side navigation pane, choose Application Management > Applications. On the Applications page, click the name of the target application.

  3. On the Application Details page, click the Instance Deployment Information tab, and click Create Group in the upper-right corner of the page.

  4. In the Create Group dialog box, enter the Group Name and then click Create.

After you successfully create a group, the message Group created successfully is displayed in the upper-right corner of the page.

Add instances

After creating a group, you can add instances to it through Scale Out and Change Group. Perform the following operations:

  • Add instances to the group through Scale Out. For details, see Scale out and scale in applications (ECS cluster).

  • Add instances to the group through Change Group

    1. Click the Instance Information tab on the Application Details page, select the instance whose group you want to change and click Change Group on the right of the list.

    2. In the Change Group dialog box, select Target Group, and then click OK.

      If the application package version for the instance is different from that of the target group, use the version for the target group or keep the existing version for the instance.

      Notes about changing instance groups

      • If no package version is available for the target group and a package is already deployed to the instance whose group you want to change, the package version for the instance will be used as the package version for the group.
      • Choose Redeploy current instance for target group to redeploy the deployment package on the instance using the version in the group.
      • If you select Change Group Only Without Re-Deployment, the deployment status of the instance remains unchanged.
      • If the package version for the instance is different from that of its group, a prompt is displayed.

View groups

  1. Log on to the EDAS console.

  2. In the left-side navigation pane, choose Application Management > Applications. On the Applications page, click the name of the target application.

  3. On the Application Details page, click the Instance Information tab to check the application group information and deployment package versions for different groups.

    Notes about groups:

    • Each group corresponds to one deployment package version, which is displayed following the group name.
    • No package version is available for a new group. The package version for a group is always the version of the package last deployed to the group.
    • Application instances are displayed by instance group.

Set group parameters

  1. On the Application Details page, click the Instance Information tab and click the Group Settings button on the right of the group.

  2. On the Group Settings page, click JVM or Tomcat, set JVM and Tomcat parameters, and then click Save or Configure Tomcat Parameters.

    JVM and Tomcat parameters are described in Application settings (ECS cluster).

Delete groups

A group with no instances in it can be deleted.The delete operation cannot be undone. Exercise caution when performing this operation.

  1. On the Application Details page, click the Instance Information tab and click the Delete Group button.

  2. In the Delete Group dialog box, click Delete.

Thank you! We've received your feedback.