Managing Notebook Resource Groups
When creating a notebook runtime environment, you need to select a resource group to ensure that the basic scripts of the notebook instance can run properly. You need to purchase a notebook resource group in advance.
Prerequisites
You have created a VPC, subnet, and security group.
Notes and Constraints
- Users with the DAYU Administrator or Tenant Administrator permissions can buy resource groups, update resource group information, delete resource groups, view the resource group list, obtain resource group details, and associate or disassociate workspaces.
- Users with the DAYU User permissions can only view the resource group list and obtain resource group details.
- Authorizing access to cloud resources requires the IAM administrator permissions.
Buying a Resource Group
- Log in to the DataArts Studio console by following the instructions in Accessing the DataArts Studio Instance Console.
- Locate an instance and click Access.
- Click the Resources tab.
- Click the Notebook Resource Groups tab and then Buy Resource Group in the upper right corner. Figure 1 Buying a resource group
- On the displayed page, set the parameters listed in Table 1.
Table 1 Parameters for buying a notebook resource group Parameter
Description
Resource Type
By default, the notebook serverless resource group is selected. It provides resources for notebook runtime environments.
Configure
Runtime Environment Max CUs
The maximum number of CUs for the runtime environments created in the resource group. Enter a value from 1 to 200.
Max Concurrent Scheduling Tasks
The maximum number of CUs used by concurrent notebook scheduling tasks. It specifies the maximum number of resources in the resource group that can be used by scheduling tasks.
More Configurations
Name
Resource group name
Enterprise Project
Enterprise project associated with the DataArts Studio resource group. An enterprise project facilitates management of cloud resources. For details, see Enterprise Management User Guide.
Workspace
Workspace associated with the resource group. The resource group can be used in the workspaces it is associated with.
VPC
VPC, subnet, and security group of the resource group in the DataArts Studio instance.
If you want to connect the DataArts Studio instance or notebook resource group to a cloud service such as MRS and DLI, ensure that the resource group can communicate with the cloud service. If the CDM cluster and the cloud service are in the same region, VPC, subnet, and security group, they can communicate with each other by default. If the CDM cluster and the cloud service are in the same VPC but in different subnets or security groups, you must configure routing rules and security group rules.
For details about the operations on VPCs, subnets, and security groups, see Virtual Private Cloud User Guide.
NOTE:- After the notebook resource group is created, its VPC, subnet, and security group cannot be changed. Set them carefully.
- You can select a VPC subnet shared by the VPC owner when you buy a notebook resource group. Through VPC subnet sharing, you can easily configure and manage multiple accounts' resources at low costs. For details about how to share a VPC subnet, see VPC Sharing.
Subnet
Security Group
Authorize
Cloud Resource Access Authorization
After access to cloud resources is authorized, the permissions to obtain the IAM agency and create NICs in VPCs are enabled by default, and DataArts Studio Notebook can communicate with other cloud services. By default, DataArts Studio Notebook uses this agency to access your resources in other cloud services. Click View Authorization to view details of cloud resource access authorization.
- Click Create Now to buy a notebook resource group.
Changing the Associated Workspace
- Log in to the DataArts Studio console by following the instructions in Accessing the DataArts Studio Instance Console.
- Locate an instance and click Access.
- Click the Resources tab.
- Click the Notebook Resource Groups tab.
- Locate a resource group and click Associate Workspace in the Operation column.
- Locate the target workspace and click Associate in the Operation column. The resource group can be used in the workspace once the association is complete.
- Locate the target workspace and click Disassociate Workspace in the Operation column to disassociate the workspace. After the disassociation is complete, the resource group cannot be used in the workspace.
If the workspace to be disassociated contains a notebook runtime environment that directly depends on the resource group, remove the dependency before disassociating the workspace.
Figure 2 Associating or disassociating a workspace
Related Operations
- Modifying resource group configurations: Click Modify Quota in the Operation column of a resource group and change the value of Runtime Environment Max CUs or Max Concurrent Scheduling Tasks.
- Deleting a resource group: Click Delete, enter DELETE, and click OK. Deleted resource groups cannot be restored. Exercise caution when performing this operation.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot