All Products
Search
Document Center

Data Management:Resource preparation

Last Updated:Jun 20, 2026

This topic describes the resources you must prepare and deploy before running data queries and analysis in the new Notebook.

Billing information

  • The cost of a workspace depends on the total number of compute units (CUs) consumed by Airflow instances and Notebook sessions in that workspace. For the latest pricing, refer to the on-screen prompts during resource configuration.

    Note

    You are not charged at purchase time. Billing starts when your Airflow instance or Notebook session consumes CUs.

  • Using AnalyticDB for MySQL incurs charges.

Prepare AnalyticDB for MySQL and access the workspace

  • If you jump directly from the AnalyticDB for MySQL console to the DMS workspace for Notebook development, follow Path 1 to prepare resources.

  • If you manually register AnalyticDB for MySQL in DMS before developing Notebooks, follow Path 2 to prepare resources.

Note

If you have already jumped to the DMS workspace from the AnalyticDB for MySQL console or used the target instance in the DMS workspace, skip the steps for preparing AnalyticDB for MySQL resources.

Path 1: Jump directly to the DMS workspace from the AnalyticDB for MySQL console

  1. Purchase an AnalyticDB for MySQL instance.

    1. Log on to the AnalyticDB for MySQL console.

    2. Click Purchase Instance in the upper-right corner.

    3. Configure the required parameters and click Buy Now in the lower-right corner. For more information, see Create an Enterprise Edition or Basic Edition cluster.

      Note

      When configuring the virtual private cloud (VPC), select the same VPC as your workspace.

    4. After purchase, view your new cluster in the Cluster List.

  2. Create a privileged account.

    On the Account Management page, click Create Account and configure the required information.

    After creation, the account list displays a root account with type Privileged Account and status Active.

  3. Create a Job resource group and attach an account.

    1. On the Cluster Management > Resource Management page, click Add Resource Group. Configure parameters such as Resource Group Name, Task Type (select Job), and Maximum Compute Resources. For parameter details, see Create a resource group.

    2. Click OK. The resource group is created.

    3. In the Actions column of the target resource group, click More > Attach User and select the RAM user (sub-account) to attach.

  4. In the navigation pane on the left, choose Job Development > Notebook Development.

  5. On the prompt page, confirm the following configurations are complete.

  6. Click Enter DMS Notebook.

    The page automatically redirects to the DMS workspace. You will then be prompted to create a new workspace or use an existing one.

Path 2: Register an AnalyticDB for MySQL instance in DMS and access the workspace

Prerequisites

You have purchased an AnalyticDB for MySQL instance.

Procedure

  1. Log in to DMS 5.0.

  2. Move the pointer over the 2023-01-28_15-57-17.png icon in the upper-left corner of the DMS console and choose All Features > Data Assets > Instances.

    Note

    If you use the DMS console in normal mode, choose Data Assets > Instances in the top navigation bar.

  3. On the Instance Management page, click Add and configure the required information.

    Note

    For Access Method, select Security Hosting - Manual.

    In the Add Instance dialog box, set Database Type to AnalyticDB MySQL 3.0, select Instance Region, set Registration Method to Instance ID, enter the instance ID, and provide the Database Account and Database Password. Then click Submit.

  4. After configuration, click Submit.

  5. Access the workspace.

    If you already have a suitable workspace, skip creation and click the target workspace name.

Create a workspace

Note
  • If you already have a suitable workspace, skip creation and click the target workspace name.

  • The VPC and region of the workspace must match those of AnalyticDB for MySQL.

  1. Click Create Workspace and configure workspace information.

    Note

    The Owner is the workspace administrator. You can also change the role type of other members.

    In the dialog box, enter a Workspace Name and Workspace Description, select a Region (for example, China (Beijing)), select a VPC ID (if no VPC is available, click Create VPC to create one), and click Confirm.

  2. Click Confirm.

Configure resources

Note

You can set a CU limit for the workspace. If CU usage exceeds this limit, workspace resources cannot start.

  1. Click the workspace name to enter the workspace.

  2. In the lower-left corner of the page, choose image > Storage Management.

  3. Click the Resource Configuration tab.

  4. In the Workspace Resource Configuration section or on the right side of the page, click Resource Configuration.

  5. In the Resource Configuration panel, configure CU Configuration.

  6. Click Create and complete the purchase.

Import a data source

Note

If you jumped to the DMS workspace from the AnalyticDB for MySQL console, DMS has already imported the data source by default. Skip this section.

  1. Click the workspace name to enter the workspace. In the navigation pane on the left, click Data Catalog image, then click image.

  2. On the Data Source Import page, enter the AnalyticDB for MySQL instance name or endpoint to search for the target instance.

  3. Click Import in the Actions column of the target instance.

    After clicking Import, refresh the data catalog to view the data source. If database details do not appear after import, click image to refresh or sync the dictionary.

    Note

    To remove the resource from the workspace, on the Data Source Import page, click Remove.