Updated on 2025-08-12 GMT+08:00

Configuring a Manual Scaling Policy

This section describes how to manually configure an instance scaling policy for a component. After the policy is configured, the number of component instances increases or decreases immediately.

Prerequisites

Configuring a Manual Scaling Policy

  1. Log in to ServiceStage.
  2. Use either of the following methods to go to the Scaling page.

    • On the Application Management page, click the application to which the component belongs, click the target component in Component List, and choose Scaling in the left navigation pane.
    • On the Component Management page, click the target component and choose Scaling in the left navigation pane.

  3. If the component is created by Creating a Component by Importing a CCE Workload and is not enabled:

    1. In the displayed dialog box, click OK.
    2. On the Enable Component page, click Enable and wait until the component is restarted.

  4. In the Manual Scaling area on the Scaling page, configure a manual scaling policy based on the component deployment mode by referring to the following table:

    Deployment Mode

    Procedure

    Container-based deployment

    1. Click and change the number of instances.
    2. Click .

      The configuration takes effect when the component status changes from Scaling to Running.

    VM-based deployment

    1. Click .
    2. Select Scale out or Scale in for Type and add or delete component running instances based on the site requirements.

      If Instances is 1, only Scale out can be selected.

      • Scale out

        Select the available server instances that have been managed in the current component running environment.

        Click Add ECS and create an ECS to run new component instances. For details, see Purchasing a Custom ECS.

        Only 64-bit Linux hosts in the Running state are supported. Ensure that the following inbound rule has been added to the security group of the host node. For details, see Adding a Security Group Rule.

        • Action: Allow
        • Type: IPv4
        • Protocol & Port: TCP, 30000-32767
        • Source: 0.0.0.0/0
      • Scale in

        Select the target component instance. The number of running component instances can be reduced to 1.

        You can determine the target component instance based on the server where the component instance is located.

    3. Click OK.