All Products
Search
Document Center

Scale out and scale in applications

Last Updated: Feb 01, 2019

Application scale-out or scale-in increases or decreases the computational capacity of an application by changing the number of ECS instances.You can add a new ECS instance when the ECS instance where an application resides is overloaded, or can remove the ECS instance when it is no longer required.You can also use Auto Scaling to dynamically adjust the number of ECS instances.

Scale out

When the ECS instance for hosting an application is overloaded, you can manually scale the application out.

Note: The running status of the ECS instance added depends on the running status of the application.

  • If the application is running during scale-out, the ECS instance automatically deploys, starts, and runs the application.
  • If the application is stopped during scale-out, the ECS instance automatically deploys but does not start or run 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 Scale Out in the upper-right corner.

  4. In the Scale-Out Method dialog box, select Target Group for scale-out.

  5. Select Scale-Out Method, and complete the subsequent scale-out steps.

    • Select from Current Cluster

      Idle ECS instances in the cluster are added to the application for scale-out.

      1. Select an ECS instance, and then click Scale-Out.

        The message Scale-out successful is displayed on the page.

      2. Go to the Instance Information page of the application to view the running status of the added ECS instance.

        If Normal is displayed, the scale-out operation is successful.

    • Purchases based on current ECS specifications

      This method allows you to select any ECS instance in the cluster as the specification template. Then, new purchases are configured according to the specifications of the template.

      1. Select the ECS instance you want to use as the specification template, and click Next.

      2. On the Purchase Details page, enter Purchase Quantity and Login Key, select ECS Service Terms | Image Service Terms, and then click Next.

      3. On the Confirm page, view the information about the purchased ECS instance, and click Confirm.

        On top of the page, the message Automatic purchasing is triggered. Check the real-time information in the application change process. is displayed after your submission.

      4. Go to the Instance Information page of the application to view the running status of the added ECS instance.

        If Normal is displayed, the scale-out operation is successful.

        Note:

        • The “Purchase based on current ECS specifications” method involves two change orders: the first is made by EDAS for your ECS instance purchase, while the other automatically adds the purchased ECS instance to the application.
        • It takes about three minutes between the request submission and the start of application scale-out. The two change orders are executed at an interval of 10 seconds.
        • The purchased ECS instance carries the same basic information as the selected one, including the instance specifications, disks, network, user data, and labels.
        • All billing details are subject to normal ECS and EDAS charges. This operation itself does not generate any additional charges.
        • The default logon information in the ECS instance is based on the key pair that you set. EDAS does not intrude on any of your private information.

Scale in

  1. Log on to the Application scale-out or scale-in increases or decreases the computational capacity of an application by changing the number of ECS instances.You can add a new ECS instance when the ECS instance where an application resides is overloaded, or can remove the ECS instance when it is no longer required.You can also use Auto Scaling to dynamically adjust the number of ECS instances.

Scale out

When the ECS instance for hosting an application is overloaded, you can manually scale the application out.

Note: The running status of the ECS instance added depends on the running status of the application.

  • If the application is running during scale-out, the ECS instance automatically deploys, starts, and runs the application.
  • If the application is stopped during scale-out, the ECS instance automatically deploys but does not start or run 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 Scale Out in the upper-right corner.

  4. In the Scale-Out Method dialog box, select Target Group for scale-out.

  5. Select Scale-Out Method, and complete the subsequent scale-out steps.

    • Select from Current Cluster

      Idle ECS instances in the cluster are added to the application for scale-out.

      1. Select an ECS instance, and then click Scale-Out.

        The message Scale-out successful is displayed on the page.

      2. Go to the Instance Information page of the application to view the running status of the added ECS instance.

        If Normal is displayed, the scale-out operation is successful.

    • Purchases based on current ECS specifications

      This method allows you to select any ECS instance in the cluster as the specification template. Then, new purchases are configured according to the specifications of the template.

      1. Select the ECS instance you want to use as the specification template, and click Next.

      2. On the Purchase Details page, enter Purchase Quantity and Login Key, select ECS Service Terms | Image Service Terms, and then click Next.

      3. On the Confirm page, view the information about the purchased ECS instance, and click Confirm.

        On top of the page, the message Automatic purchasing is triggered. Check the real-time information in the application change process. is displayed after your submission.

      4. Go to the Instance Information page of the application to view the running status of the added ECS instance.

        If Normal is displayed, the scale-out operation is successful.

        Note:

        • The “Purchase based on current ECS specifications” method involves two change orders: the first is made by EDAS for your ECS instance purchase, while the other automatically adds the purchased ECS instance to the application.
        • It takes about three minutes between the request submission and the start of application scale-out. The two change orders are executed at an interval of 10 seconds.
        • The purchased ECS instance carries the same basic information as the selected one, including the instance specifications, disks, network, user data, and labels.
        • All billing details are subject to normal ECS and EDAS charges. This operation itself does not generate any additional charges.
        • The default logon information in the ECS instance is based on the key pair that you set. EDAS does not intrude on any of your private information.

Scale in

  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.

  4. On the Instance Information tab page, delete the ECS instance.

    • If the ECS instance is running, click Stop and then click Delete.

    • If the ECS instance is stopped, click Delete..

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

  6. On the Application Details page, click the Instance Information tab.

  7. On the Instance Information tab page, delete the ECS instance.

    • If the ECS instance is running, click Stop and then click Delete.

    • If the ECS instance is stopped, click Delete.