All Products
Search
Document Center

Data Management:Prepare a workspace

Last Updated:Dec 02, 2025

This topic describes the resources that you need to prepare and deploy before you can query and analyze data in the new version of Notebook.

Billing

  • The fees for a workspace are based on the total number of compute units (CUs) used by Airflow instances and Notebook sessions in the workspace. For the unit price, refer to the information on the page when you configure resources.

    Note

    You are not charged when you make a purchase. Billing starts when Airflow instances or Notebook sessions consume CUs.

  • Fees are charged when you purchase an AnalyticDB for MySQL instance. For more information, see Billing.

Prepare an AnalyticDB for MySQL instance and enter a workspace

  • If you are redirected from the AnalyticDB for MySQL console to a DMS workspace to develop in a Notebook, follow Path 1 to prepare the resources.

  • To manually add an AnalyticDB for MySQL instance in DMS and then go to a workspace to develop in a Notebook, follow Path 2 to prepare the resources.

Note

If you have been redirected from the AnalyticDB for MySQL console to a DMS workspace or have used the destination instance in a DMS workspace, you can skip the steps for preparing AnalyticDB for MySQL resources.

Path 1: Go to a 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. In the upper-right corner, click Buy Instance.

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

      Note

      When you configure the virtual private cloud (VPC) parameter, select the same VPC as the workspace.

    4. After the purchase is complete, you can view the new cluster in the Cluster List.

  2. Create a privileged account.

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

    image

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

    1. On the Cluster Management > Resource Management > Resource Groups page, click Create Resource Group. Configure parameters such as Resource Group Name, Job Type (select Job), and Maximum Clusters. For more information about the parameters, see Create a resource group.

    2. Click OK. The resource group is created.

    3. In the Actions column of the destination resource group, choose More > Assocaite with Account and select the Resource Access Management (RAM) user to attach.

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

  5. On the page that appears, make sure that the following configurations are complete:

  6. Click Go to DMS Workspace.

    The page automatically redirects to a DMS workspace. You can then choose whether to create a new workspace.

Path 2: Add an AnalyticDB for MySQL instance in DMS and enter a workspace

Prerequisites

You have purchased an AnalyticDB for MySQL instance.

Procedure

  1. Log on to the DMS console V5.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 New and configure the parameters.

    Note

    Set Access mode to Enable.

  4. After the configuration is complete, click Submit.

  5. Enter a workspace.

    If you already have a workspace that meets the requirements, you do not need to create a new one. You can simply click the name of the destination workspace.

Create a workspace

Note
  • If you already have a workspace that meets the requirements, you do not need to create a new one. You can simply click the name of the destination workspace.

  • The VPC and region of the workspace must be the same as those of the AnalyticDB for MySQL instance.

  1. Click Create Workspace and configure the workspace information.

    Note

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

    image

  2. Click Confirm.

Configure resources

Note

You can set a CU limit for the workspace. If the CU usage of the workspace exceeds the limit, the resources in the workspace cannot be started.

  1. Click the name of the workspace to enter the workspace.

  2. In the lower-left corner of the page, choose image > Workspace 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 are redirected from the AnalyticDB for MySQL console to a DMS workspace, DMS has already imported the data source for you by default. You can skip this section.

  1. Click the name of the workspace to enter the workspace. In the data catalog on the left, click the image icon, and then click the image icon.

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

    image

  3. In the Actions column of the destination instance, click Import.

    After you click the Import button, wait a moment and then refresh the data catalog to view the data source. If no database information appears after the resource is imported, you can click the image icon to refresh or sync the dictionary.

    image

    Note

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