If a resource group's usage is high and it cannot meet your concurrency requirements, you can scale it out. If a resource group is idle for an extended period, you can scale it in to reduce resource fees. This topic describes how to scale a resource group.
Introduction to scaling
The following table describes resource group scaling.
Operation type | Change | Memory and network details | Billing details | Notes | Effective Time |
Increases the number of resources of the same specification in the resource group. |
| You need to pay for the added resources of the period from the time the new configuration takes effect to the time the original order expires. 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 you pay for the order, the system starts to scale the resource group. This process takes about 30 minutes. | |
Decreases the number of resources of the same specification in the resource group. | Not applicable | You are refunded for the removed resources of the period from the time the new configuration takes effect to the time the original order expires.The actual costs are subject to your bill. For more information, see View bill details (Deprecated). | Stop all running tasks before you scale in the resource group. |
Limits
Resource group limits
Only exclusive resource groups for Data Integration and exclusive resource groups for scheduling can be scaled.
Only resource groups in the Running state can be scaled.
Permission limits
Only users who have the AliyunDataWorksFullAccess and AliyunBSSOrderAccess access policies can scale resource groups.
Precautions
After you scale a resource group, its elastic IP addresses (EIPs) change. To ensure that the whitelist configuration does not disrupt network connectivity, you must view the new EIPs after the scaling is complete and add them to the whitelist of the data source.
Scale out a resource group
This section describes how to scale out an exclusive resource group for scheduling. The procedure for scaling out an exclusive resource group for Data Integration is similar.
Go to the Resource Group page.
Log on to the DataWorks console.
In the navigation pane on the left, click Resource Group and select a destination region.
On the Dedicated Resource Group tab, click in the Actions column of the target resource group.
On the Upgrade/Downgrade page, adjust the Resource Count, and read and select Terms of Service.
NoteIf a resource group needs to access a target IP address that is protected by a whitelist, refer to Configure a whitelist for an exclusive resource group to determine whether you need to update the whitelist of the data source.
You can only increase the resource count when you scale out.
Click Buy Now to scale out the resource.
NoteThe peak hours for scale-out operations are from 00:00 to 08:00 daily. During this period, the scale-out process may take an additional 1 to 2 hours.
The scale-out process takes longer in the following regions: China (Hong Kong), Asia Pacific SE 1 (Singapore), Indonesia (Jakarta), US (Silicon Valley), US (Virginia), Germany (Frankfurt), UK (London), Japan (Tokyo), Malaysia (Kuala Lumpur), and UAE (Dubai).
After the resource group is scaled out, you can go to the Resource Group page. Find the resource group and click View Information in the Operations column to view the updated resource count.
Scale in a resource group
This section describes how to scale in an exclusive resource group for scheduling. The procedure for scaling in an exclusive resource group for Data Integration is similar.
Scaling in a resource group may cause task delays. Evaluate the impact before you proceed.
Go to the Resource Group page.
Log on to the DataWorks console.
In the navigation pane on the left, click Resource Group and select a destination region.
On the Dedicated Resource Group tab, click in the Actions column of the target resource group.
On the Downgrade page, adjust the Resource Count, and read and select Terms of Service.
NoteYou can only decrease the resource count when you scale in.
You cannot scale in a resource group that contains only one resource.
Click Buy Now to scale in the resource.
After the resource group is scaled in, you can go to the Resource Group page. Find the resource group and click View Information in the Operations column to view the updated resource count.
> Scale-out