You can scale a resource group to match your workload demands. Scale out to handle high usage and more concurrent tasks. Scale in to reduce costs when a resource group is idle. This topic describes how to scale a resource group.
Overview
The following table describes resource group scaling.
|
Operation |
Change |
Memory and network |
Billing |
Description |
Effective time |
|
Increases the number of resources with the same specifications in the resource group. |
|
You are billed a prorated amount for the additional resources, calculated from the effective time of the change to the expiration of your original order. The actual fee is subject to the bill. For more information, see View bill details (deprecated). |
You do not need to stop running tasks. |
After payment, the system starts the scaling operation, which takes about 30 minutes to complete. |
|
|
Decreases the number of resources with the same specifications in the resource group. |
Not applicable |
DataWorks issues a prorated refund for the removed resources, calculated from the effective time of the change to the expiration of your original order. The actual fee is subject to the bill. For more information, see View bill details (deprecated). |
You must stop all running tasks before scaling in. |
Limitations
-
Resource group limits
-
Only Exclusive Resource Group for Data Integration and Exclusive Resource Group for Scheduling support scaling.
-
Only resource groups in the Running state support scaling.
-
-
Permission limits
Only users who have both the AliyunDataWorksFullAccess and AliyunBSSOrderAccess permission policies can perform scaling operations.
Note
After scaling, the resource group's EIP address changes. To avoid connection issues, you must add the new EIP address to your data source's allowlist. On the Basic Information page of the exclusive resource group, you can view properties such as resource group type, service status, instance specification, number of resources, security group, VPC, VSwitch, EIP address, CIDR block, and primary network interface IP.
Scale-out
This topic uses an exclusive resource group for scheduling as an example to describe how to scale out a resource group. The procedure for scaling out an exclusive resource group for Data Integration is similar.
-
Go to the Resource Groups page.
-
Log on to the DataWorks console.
-
In the left-side navigation pane, click Resource Groups and select a region.
-
-
On the Exclusive Resource Group tab, click in the Operation column of the target resource group.
-
On the Change page, adjust the Resources value and select Terms of Service.
Note-
If the resource group needs to access a destination IP address that is subject to allowlist-based access control, refer to Add the allowlist of an exclusive resource group to check whether you need to update the allowlist on the destination.
-
Scale-out can only increase the number of resources.
-
-
Click Buy Now to scale out the resource group.
Note-
The period from 00:00 to 08:00 every day is the peak time for scale-out operations, and the operation may take an additional 1 to 2 hours.
-
Scale-out operations in regions such as China (Hong Kong), Singapore, Indonesia (Jakarta), US (Silicon Valley), US (Virginia), Germany (Frankfurt), UK (London), Japan (Tokyo), Malaysia (Kuala Lumpur), and UAE (Dubai) take longer overall.
After the scale-out is complete, you can go to the Resource Groups page and click View Information in the Operation column of the resource group to view the updated number of resources.
-
Scale-in
This topic uses an exclusive resource group for scheduling as an example to describe how to scale in a resource group. The procedure for scaling in an exclusive resource group for Data Integration is similar.
Scale-in operations may cause task latency. Evaluate the impact carefully before you proceed.
-
Go to the Resource Groups page.
-
Log on to the DataWorks console.
-
In the left-side navigation pane, click Resource Groups and select a region.
-
-
On the Exclusive Resource Group tab, click in the Operation column of the target resource group.
-
On the Downgrade page, adjust the Resources value and select Terms of Service.
Note-
Scale-in can only decrease the number of resources.
-
You cannot scale in a resource group that contains only one resource.
-
-
Click Buy Now to scale in the resource group.
After the scale-in is complete, you can go to the Resource Groups page and click View Information in the Operation column of the resource group to view the updated number of resources.
> Scale Out