All Products
Search
Document Center

DataWorks:Switch resource groups

Last Updated:Jun 20, 2026

After you purchase and configure a resource group, tasks in the associated workspace can use it. This topic describes how to switch the resource group for a task and change the workspace associated with a resource group.

Usage notes

  • To switch the resource group for a workspace, see Appendix: Switch the resource group for a workspace . You must bind the new resource group before unbinding the one you no longer need.

  • If a resource group is in use by deployed tasks, you must first switch the tasks to another resource group. You can unbind the original resource group from its workspace only after ensuring no tasks are running on it.

  • After switching a resource group in the development environment, you must deploy the node for the change to take effect in the production environment.

  • To set the default scheduling resource group and the resource group for Data Integration, click the image icon on the Data Studio page and navigate to the Data Studio Settings > Scheduling Settings tab. For more information, see System settings.

  • You can switch the scheduling resource group for a scheduled node in Operation Center. New instances of the auto triggered task run on the new resource group. By default, this change does not apply to auto-triggered instances that have already been generated today.

Switch resource groups for Data Integration

After creating and configuring a resource group, you can use the following methods to switch the resource group used by Data Integration.

Data Integration page

  1. Log on to the DataWorks console. In the target region, click Data Integration > Data Integration in the left-side navigation pane. Select a workspace from the drop-down list and click Go to Data Integration.

  2. In the navigation pane on the left, click Synchronization Task. On the Task List tab, find the target synchronization task. In the Operation column, choose More > Edit to go to the task configuration page.

  3. On the task configuration page, go to the Configure Network Connections and Resource Group section. Switch to the desired resource group, click Test Connectivity, and then click Next step and Complete Configuration.

Data Studio

Important

Changes that you make in Data Studio are not synchronized to the production environment. You must deploy the node for the changes to take effect in the production environment.

  1. Go to the Workspaces page in the DataWorks console. In the top navigation bar, select a desired region. Find the desired workspace and choose Shortcuts > Data Studio in the Actions column.

  2. In the navigation pane on the left, click the image icon to find Project Directory in the directory tree.

  3. Switch the resource group for Data Integration.

    • Batch synchronization tasks

      1. In Project Directory, find the target batch synchronization task and go to its edit page.

      2. In the Configure Network Connections and Resource Groups step, select the resource group that you want to use from the drop-down list under My Resource Group.

      3. Save and Publish the task. Follow the on-screen instructions to complete the deployment.

        Note

        To switch resource groups for multiple batch synchronization tasks, use batch operations in Operation Center. For more information, see Switch resource groups for batch synchronization tasks in Operation Center.

    • Real-time synchronization tasks

      1. In Project Directory, find the target real-time synchronization task and go to its edit page.

      2. On the right side of the edit page, click Basic Settings and switch the Resource Group.

      3. Save and Publish the task. Follow the on-screen instructions to complete the deployment.

Operation Center

Note

In Operation Center, you can switch resource groups for tasks in both the development and production environments. Switch between environments at the top of the page before following the steps in this section.

  1. Log on to the DataWorks console. In the target region, click Data Development and O&M > Operation Center in the left-side navigation pane. Select a workspace from the drop-down list and click Go to Operation Center.

  2. Switch the Data Integration resource group for a batch synchronization task.

    Note

    The modification of Data Integration resource groups for real-time synchronization tasks is not currently supported in the Operation Center. You must perform this operation in the Data Integration console or Data Studio console. For more information, see the Data Integration page and the Data Studio page.

    1. In the navigation pane on the left, choose Auto Triggered Task O&M > Auto Triggered Task.

    2. Set the Task Type filter to Batch Sync. Select the batch synchronization tasks whose Data Integration resource group you want to switch and click Frozen at the bottom of the page.

    3. At the bottom of the page, choose Operation > Change Resource Group for Data Integration.

    4. In the Change Resource Group for Data Integration dialog box, select a resource group and click Determine.

    5. Select the batch synchronization tasks whose Data Integration resource group you have switched, and click Unfreeze at the bottom of the page.

Switch scheduling resource groups for nodes

Data Studio

Important

Changes that you make in Data Studio are not synchronized to the production environment. You must deploy the node for the changes to take effect in the production environment.

  1. Go to the Workspaces page in the DataWorks console. In the top navigation bar, select a desired region. Find the desired workspace and choose Shortcuts > Data Studio in the Actions column.

  2. In the navigation pane on the left, click the image icon to find Project Directory in the directory tree.

  3. Switch the scheduling resource group.

    • For debugging tasks

      1. In Project Directory, find the target node and go to its edit page.

      2. On the right side of the edit page, click Run Configuration and switch the scheduling resource group that is used to run the task in the debugging phase.

    • For other tasks

      Switch a single task

      1. In Project Directory, find the target node and go to its edit page.

      2. On the right side of the edit page, click Scheduling Settings. In the scheduling settings, switch the Resource Group for Scheduling that is used to run the task.

      3. Save and Publish the task. Follow the on-screen instructions to complete the deployment.

      Switch multiple tasks

      1. Click the image icon next to Project Directory to go to the Batch Operation page.

      2. On the Batch Operations page, select the nodes for which you want to switch the scheduling resource group. At the bottom of the page, choose Batch Operation > Modify scheduling configuration > Change Resource Group for Scheduling.

      3. In the Change Resource Group for Scheduling dialog box, switch the resource group, select I am aware of the risk and confirm the operation., and then click OK.

      4. On the Batch Operation page, select the batch synchronization tasks whose resource group you have switched. At the bottom of the page, choose Batch Operation > Deploy.

      5. In the Deploy dialog box, select I am aware of the risk and confirm the operation. and click Confirm. Follow the on-screen instructions to complete the deployment.

Operation Center

Note

In Operation Center, you can switch resource groups for tasks in both the development and production environments. Switch between environments at the top of the page before following the steps in this section.

  1. Log on to the DataWorks console. In the target region, click Data Development and O&M > Operation Center in the left-side navigation pane. Select a workspace from the drop-down list and click Go to Operation Center.

  2. Switch the scheduling resource group for an auto triggered task.

    1. In the navigation pane on the left, choose Auto Triggered Task O&M > Auto Triggered Task.

    2. Select the auto triggered tasks whose scheduling resource group you want to switch, and click Frozen at the bottom of the page.

    3. At the bottom of the page, click Change Resource Group for Scheduling.

    4. In the Batch Modify Resource Group for Scheduling dialog box, select a resource group and click Determine.

    5. Select the auto triggered tasks whose scheduling resource group you have switched, and click Unfreeze at the bottom of the page.

Switch resource groups for DataService Studio

  1. Log on to the DataWorks console. In the target region, click Data Analysis and Service > DataService Studio in the left-side navigation pane. Select a workspace from the drop-down list and click Go to DataService Studio.

  2. Switch the resource group for an API.

    Switch a single API

    1. Go to the edit page of the target API. In the right-side pane, click Resource Group for DataService Studio. For Resource Group Type, select Exclusive Resource Group for DataService Studio, and then select the new resource group.

    2. Save, Test, and Submission the API again.

    Switch APIs in bulk

    1. Click the image icon next to Service Development. Select multiple APIs and click Change Resource Group at the bottom of the page.

    2. In the Change Resource Group dialog box, select the new resource group for Resource Group for DataService Studio and click Confirm.

    3. When the Result column shows 'Success', click Close.

    4. Return to the batch operation list. For Resource Group, select the new resource group name and click Search to filter the APIs that have been switched to the new resource group.

    5. At the bottom of the page, click Submission and Publish. Follow the on-screen instructions to complete the subsequent steps.

Appendix: Switch resource groups for a workspace

If a resource group is not used by any deployed tasks, you can bind workspaces to it or unbind workspaces from it on the Resource Groups page in the console.

  1. Log on to the DataWorks console.

  2. In the navigation pane on the left, click Resource Group and select a region to go to the Resource Groups page.

  3. On the Resource Groups page, find the target resource group and click Operation in the Associate Workspace column. In the Associate Workspace dialog box, click Bind next to the workspace that you want to bind.

  4. After you bind the resource group that you want to use, you can follow the preceding step to find the resource group that you want to unbind. On the Resource Groups page, click Operation in the Associate Workspace column of the target resource group. In the Associate Workspace dialog box, click Disassociate next to the workspace.

Note

If you cannot directly unbind a workspace from a resource group, it means the resource group is used by deployed tasks. You must first switch the tasks to another resource group. After the tasks run on the new resource group, you can unbind the workspace from the original resource group.