DataWorks allows you to bind an exclusive resource group for scheduling to a virtual private cloud (VPC) so that the resource group can access data stores in the VPC.
Prerequisites
Background information
- We recommend that you purchase an exclusive resource group for scheduling in the same zone as the data store to be accessed.
- The exclusive resource group for scheduling must be bound to the same VPC and vSwitch as the data store to be accessed.
- If you have purchased an exclusive resource group for scheduling in a different zone from the data store to be accessed, bind the resource group to the same VPC as the data store. Then, configure a routing rule for the resource group to access the data store. For more information, see Add a route.
- An exclusive resource group for scheduling may still fail to access a data store after you bind the resource group to the same VPC and vSwitch as the data store. This is because the resource group is not in the whitelist configured for the data store. In this case, add relevant information, such as the vSwitch classless inter-domain routing (CIDR) block of the VPC, to the whitelist. For more information, see Add the exclusive resource group for scheduling to the whitelist of the data store to be accessed.
The maximum number of concurrent instances that are allowed varies with the specifications of exclusive resource groups for scheduling. For more information, see Performance metrics and billing standards of exclusive resource groups for scheduling.
Create an exclusive resource group for scheduling
Add a VPC binding
Exclusive resource groups are deployed in a VPC that is managed by DataWorks. To allow exclusive resource groups to access data stores in your own VPC, you must bind the exclusive resource groups to your VPC.
Add the exclusive resource group for scheduling to the whitelist of the data store to be accessed
- vSwitch CIDR block of the VPC to which the exclusive resource group for scheduling
is bound.
After you bind the exclusive resource group to the VPC, log on to the DataWorks console and click Exclusive Resource Groups tab, find the exclusive resource group and click Add VPC Binding to view the value in the VSwitch CIDR Block column.
. On the - Elastic IP address (EIP) and CIDR block of the exclusive resource group for scheduling.
- Log on to the DataWorks console.
- In the left-side navigation pane, click Resource Groups.
- On the Exclusive Resource Groups tab, find the required resource group and click View Information.
- In the dialog box that appears, copy the values of the EIPAddress and CIDR Blocks parameters to the whitelist of the data store.
Manage the exclusive resource group for scheduling
- Change the workspace to which the exclusive resource group for scheduling is bound.
You must bind an exclusive resource group for scheduling to a workspace before you can select the resource group in the workspace. You can bind an exclusive resource group for scheduling to multiple workspaces.
- On the Exclusive Resource Groups tab of the page, find the required resource group and click Change Workspace.
- In the Modify home workspace dialog box, select the workspaces to which the resource group is to be bound.
- Click OK.
- Change the exclusive resource group that is used to test a node on the DataStudio
page.
- On the DataStudio page, double-click the required node. The node configuration tab appears.
- Click the
icon in the top toolbar.
- In the Arguments dialog box, set the Resource Group parameter to the exclusive resource group for testing the node.
- Click OK.
- Change the exclusive resource group that is used to schedule a node.
You can change the exclusive resource group that is used to schedule a node on the Properties tab of the node or in Operation Center.
- Change the resource group for scheduling for a node on the Properties tab
- Click the
icon in the upper-left corner and choose . Then, switch to the required workspace.
- On the Data Analytics tab, double-click the required node. The node configuration tab appears.
- In the right-side navigation pane, click the Properties tab. In the Resource Group section, select the resource group that is used for node scheduling. For more information, see Configure the resource group.
- Click the
- Change the resource group for scheduling for a node in Operation Center
- Click the
icon in the upper-left corner and choose . In Operation Center, switch to the required workspace.
- In the left-side navigation pane, choose .
- Click the rightwards arrow in the middle of the page to show the node list. Find the
required node, and choose Notice You are not allowed to change the resource group for zero load nodes, workflow nodes, or Machine Learning experiment nodes.To change the exclusive resource group for multiple nodes at a time, select the nodes on the Cycle Task page and click Modifying a scheduling Resource Group in the lower part of the page.
.
- In the Modify scheduling resource groups in batches dialog box, select the required exclusive resource group for scheduling and click OK.
- Click the
- Change the resource group for scheduling for a node on the Properties tab