All Products
Search
Document Center

DataWorks:Create and use an exclusive resource group for DataService Studio

Last Updated:Feb 18, 2025

You can purchase exclusive resource groups for DataService Studio with appropriate specifications based on your business requirements to ensure highly concurrent, frequent API calls. This topic describes the process from the purchase of an exclusive resource group for DataService Studio to the use of the resource group.

Important

If you have never activated DataWorks before June 10, 2024, you can purchase and use only serverless resource groups after you activate DataWorks, and you cannot purchase or use old-version resource groups.

Prerequisites

Before you purchase and use an exclusive resource group for DataService Studio, take note of the following items:

  • You are familiar with the performance and billing of an exclusive resource group for DataService Studio with specific specifications. The performance of an exclusive resource group for DataService Studio is measured based on the queries per second (QPS). We recommend that you determine the specifications and subscription duration based on your business requirements before you purchase an exclusive resource group for DataService Studio. For more information, see Billing of exclusive resource groups for DataService Studio (subscription).

  • You are familiar with the network configuration requirements of an exclusive resource group for DataService Studio. When you purchase an exclusive resource group for DataService Studio, you need to associate the resource group with a virtual private cloud (VPC) that can connect to your data source and a vSwitch in the VPC. This way, the system adds a route that points to the CIDR block of the VPC for the exclusive resource group. This ensures that the exclusive resource group can access your data source over the VPC. For information about how to view the network environment in which your data source is deployed, see How do I view the network environment of a data source?

  • You are familiar with solutions for network connectivity between exclusive resource groups for DataService Studio and data sources that are deployed in different network environments. When you make API calls, interactions with data sources that are deployed in different network environments may be required. For more information about network connectivity solutions, see Configure network connectivity.

Limits

Exclusive resource groups for DataService Studio are available only in the China (Shanghai) region.

Procedure

Create an exclusive resource group for DataService Studio

  1. Log on to the DataWorks console.

  2. In the left-side navigation pane, click Resource Group. On the Exclusive Resource Groups tab of the Resource Groups page, click Create Resource Group for DataService Studio of Old Version to go to the buy page. On the buy page, configure the parameters based on your business requirements. Take note of the following items when you configure the parameters:

    • Region and zone: Select the region in which you want to use the exclusive resource group for DataService Studio.

      Note
      • A zone is a physical area in a region. Zones can communicate over an internal network.

      • Exclusive resource groups cannot be shared among regions. For example, an exclusive resource group for DataService Studio in the China (Shanghai) region can be used only by workspaces in the China (Shanghai) region.

      • Exclusive resource groups will discontinue in the future. If you have never activated DataWorks, you can purchase and use only serverless resource groups after you activate DataWorks. You can no longer purchase and use exclusive resource groups. For more information, see Notice on the release of serverless resource groups.

    • VPC: Select a VPC with which you want to associate the exclusive resource group for DataService Studio from the drop-down list.

    • vSwitch: Select a vSwitch in the VPC that you selected based on your business requirements.

    • Exclusive Data Service Resources: Select specifications for the exclusive resource group for DataService Studio based on your business requirements.

    • Resource Group Name: Specify a name for the exclusive resource group for DataService Studio. The name must be unique within the current tenant. If you specify an existing name, an error is reported when you confirm the purchase operation.

    • Resource Group Description: Enter a description for the exclusive resource group for DataService Studio.

    Configure other parameters such as Duration based on your business requirements.

  3. Click Buy Now. After you complete the payment as prompted, DataWorks starts to initialize the exclusive resource group. When the exclusive resource group enters the Running state, the exclusive resource group is created in the DataWorks console.

    Note

    DataWorks requires approximately 20 minutes to initialize the exclusive resource group. Wait until the status of the exclusive resource group changes to Running.

After the exclusive resource group is created in the DataWorks console, you must associate the exclusive resource group with a workspace. This way, you can select the resource group for API calls.

Associate the exclusive resource group with a workspace

You can use an exclusive resource group for DataService Studio in a workspace only after you associate the resource group with the workspace. An exclusive resource group for DataService Studio can be shared among multiple workspaces but cannot be shared across regions. For example, you can associate an exclusive resource group for DataService Studio in the China (Shanghai) region only with workspaces in the China (Shanghai) region. To associate an exclusive resource group for DataService Studio with a workspace, perform the following steps:

  1. Log on to the DataWorks console.

  2. On the Exclusive Resource Groups tab of the Resource Groups page, find the created resource group and click Associate Workspace in the Actions column.

  3. In the Associate Workspace panel, find the workspace with which you want to associate the resource group and click Associate in the Actions column.

Configure network connectivity and the IP address whitelist of a data source

Before you use an exclusive resource group for DataService Studio to access a data source that is deployed in a specific network environment, you must establish a network connection between the resource group and the data source. Exclusive resource groups for DataService Studio can access data sources that are deployed on the Internet, in Alibaba Cloud VPCs, or in data centers. You must add the address information used by your exclusive resource group for Data Service Studio to the IP address whitelist of your data source. For more information, see Configure network connectivity.

Test the network connectivity

After you complete the preceding network configuration, you need to test the network connectivity between the resource group and your data source by performing the following operations:

  1. Go to the Data Sources page.

    1. Log on to the DataWorks console. In the top navigation bar, select the desired region. In the left-side navigation pane, choose More > Management Center. On the page that appears, select the desired workspace from the drop-down list and click Go to Management Center.

    2. In the left-side navigation pane of the SettingCenter page, click Data Sources.

  2. Find the desired data source and click Modify in the Operation column.

  3. In the Connection Configuration section, select DataService Studio. Find the created resource group and click Test Network Connectivity in the Connection Status column. If the connectivity status is Connected, the network connectivity test is successful.数据服务

    Note

    When you create an exclusive resource group for DataService Studio, you need to select a network with which you want to associate the resource group. If your data source is configured with an IP address whitelist, you must add the required address information used by the exclusive resource group for DataService Studio to the IP address whitelist. For more information, see Configure network connectivity.

  4. Click Complete Modification.

Use the exclusive resource group

Note

You can use an exclusive resource group for DataService Studio only to generate APIs.

  1. In the Service Development pane of the DataService Studio page, find a desired API and double-click the API name to go to the configuration tab of the API.

  2. In the right-side navigation pane of the configuration tab, click the Resource Group tab. On the Resource Group tab, select Exclusive Resource Group for DataService Studio for Scheme. Then, select the created exclusive resource group for DataService Studio from the Exclusive Resource Group for DataService Studio drop-down list. For more information, see Create an API by using the codeless UI and Create an API in the code editor.资源组

(Optional) Change the zone of a resource group

To change the zone of a resource group, perform the following steps:

  1. Log on to the DataWorks console.

  2. In the left-side navigation pane, click Resource Group. On the Exclusive Resource Groups tab of the Resource Groups page, find an exclusive resource group whose purpose is DataService Studio.

  3. Click the image icon in the Actions column and select Change Zone.

  4. In the Change Zone for Resource Group dialog box, configure the Current Zone, Machines, New Zone, and Number of Machines to Use parameters.

  5. Click OK.

If you change the zone of a resource group to another zone, network changes may occur:

  • CIDR blocks of the resource group: Each zone of an Elastic Compute Service (ECS) instance in a resource group has an independent CIDR block. After the change, whether the CIDR blocks of the resource group change depends on whether the zone of the resource group is changed. If the zone of the resource group is changed, the CIDR blocks of the resource group also change.

  • Primary ENI IP addresses of the resource group: If you change the zone of an ECS instance in the resource group, the primary ENI IP address of the ECS instance also changes and the system assigns an IP address that falls into the CIDR block of the new zone to the ECS instance.

  • Elastic IP address (EIP) associated with the resource group: If you add the CIDR block of the vSwitch with which the resource group is associated to the IP address whitelist of the desired data source, you do not need to update the address information in the IP address whitelist after the change. If you add the EIP associated with the resource group to the IP address whitelist, you must update the address information in the IP address whitelist after the change. This ensures that the resource group has permissions to access the data source and you can perform operations on the data source.