This topic describes how to manually add an ECS instance to a scaling group. You can add existing ECS instances to a scaling group to take full advantage of the computing resources.
|The ECS instances to be manually added to a scaling group||
|The scaling group||
The active scaling configuration of a scaling group does not affect whether ECS instances can be manually added to the scaling group. You can manually add ECS instances without waiting for the cooldown period to expire. For more information, see Cooldown time.
Typically, Auto Scaling scales out sufficient ECS instances based on your configurations. However, if the instance inventory is insufficient or the sum of ECS instances to be added and existing ECS instances in the scaling group exceeds the maximum number of instances specified for the scaling group, the number of actually created instances may be less than what you specified. In these cases, check the configuration of the scaling group to troubleshoot the issue. If the issue persists, submit a ticket.
- Log on to the Auto Scaling console.
- In the left-side navigation pane, click Scaling Groups.
- In the top navigation bar, select a region.
- Find the scaling group and use one of the following methods to open the details page of the scaling group:
- Click the ID of the scaling group in the Scaling Group Name/ID column.
- Click Details in the Actions column.
- In the upper part of the page, click the Instances tab.
- Click the Manually Added tab.
- Click Add Existing Instance.
- In the Add Existing Instance dialog box, select available ECS instances in the left-side list, click > to add the selected ECS instances to the right-side list, and then click Add.
If you select Enable the scaling group to manage the instance lifecycle, ECS instances that are manually added to the scaling group will be removed and released during scale-in events. Subscription instances can be manually added to a scaling group, but their lifecycle cannot be managed by the scaling group.Warning Make sure that you have sufficient balance in your account. If you have overdue payments in your account, pay-as-you-go and preemptible instances will be stopped or even released. For information about status changes of ECS instances due to overdue payments, see Overdue payments.