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.
Prerequisites
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
To purchase and use an exclusive resource group for DataService Studio, perform the following steps:
Create an exclusive resource group for DataService Studio
Log on to the DataWorks console.
In the left-side navigation pane, click Resource Groups. On the Exclusive Resource Groups tab of the Resource Groups page, click Create Resource Group for DataService Studio. 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.
NoteA zone is a physical area in a region. Zones can communicate over an internal network.
Exclusive resource groups cannot be shared across 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.
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.
You can configure other parameters such as Duration based on your business requirements.
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.
NoteDataWorks 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:
Log on to the DataWorks console.
In the left-side navigation pane, click Resource Groups. On the Exclusive Resource Groups tab of the Resource Groups page, find the created resource group and click Change Workspace in the Actions column.
In the Modify home workspace dialog box, find the workspace with which you want to associate the resource group and click Bind 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 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:
Go to the Data Source page.
Log on to the DataWorks console. In the left-side navigation pane, click Management Center. On the page that appears, select the desired workspace from the drop-down list and click Go to Management Center.
In the left-side navigation pane of the page that appears, click Data Source. The Data Source page appears.
Find the desired data source and click Edit in the Actions column.
In the dialog box that appears, select DataService Studio for Resource Group connectivity. Find the created exclusive resource group for DataService Studio and click Test connectivity in the Actions column. If the connectivity status is Connected, the network connectivity test is successful.
NoteWhen 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.
Click Complete.
Use the exclusive resource group
You can use an exclusive resource group for DataService Studio only to generate APIs.
In the left-side navigation pane of the DataService Studio page, double-click a created API to go to the configuration tab of the API.
In the right-side navigation pane, click the Resource Group for DataService Studio 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.