All Products
Search
Document Center

DataWorks:Associate a computing resource with a workspace (Participate in Public Preview of Data Studio turned on)

Last Updated:Jul 14, 2025

To use compute engines such as MaxCompute or Hologres in DataWorks, first associate them with your DataWorks workspace as computing resources. This topic describes how to create and manage computing resources for subsequent data development and task scheduling.

Background information

DataWorks supports the association and use of various computing resources. After a resource is associated, you can directly use it in DataStudio to perform complex data processing and develop periodic scheduling tasks. In most cases, when a computing resource is associated with a workspace, a data source with the same name is automatically created. You can then use the Data Integration module to perform data synchronization operations based on this data source.

Differences between computing resources and data sources:

  • Computing resources are instances, such as MaxCompute projects (quota groups) and Hologres instances, used by compute engines to execute data processing and analysis tasks.

  • Data sources are used to connect to different data storage services. Before configuring data integration tasks, define the source and destination data sources so you can select them by name when setting up synchronization. A workspace supports multiple data source instances.

Supported computing resources

DataWorks supports associating the following computing resources for data development.

Category

Computing resource

References

DataStudio (new version)

DataStudio (old version)

Offline computing

MaxCompute

Associate a MaxCompute computing resource

对号2

对号2

EMR Serverless Spark

Associate an EMR Serverless Spark computing resource

对号2

不涉及 (1)

Real-time query

AnalyticDB for MySQL

Associate an AnalyticDB for MySQL3.0 computing resource

对号2

对号2

AnalyticDB for PostgreSQL

Associate an AnalyticDB for PostgreSQL computing resource

对号2

对号2

AnalyticDB for Spark

Associate an AnalyticDB for Spark computing resource

对号2

不涉及 (1)

ApsaraDB for ClickHouse

Associate a ClickHouse computing resource

对号2

对号2

Hologres

Associate a Hologres computing resource

对号2

对号2

Lindorm

Associate a Lindorm computing resource

对号2

不涉及 (1)

EMR Serverless StarRocks

Associate an EMR Serverless StarRocks computing resource

对号2

不涉及 (1)

Real-time computing

Realtime Compute for Apache Flink

Associate a Flink computing resource

对号2

不涉及 (1)

Multimodal search

OpenSearch

Associate an OpenSearch computing resource

对号2

不涉及 (1)

Cluster management

CDH

对号2

对号2

对号2

对号2

Note

When associating MaxCompute, AnalyticDB for MySQL, AnalyticDB for PostgreSQL, AnalyticDB for Spark, ClickHouse, Hologres, Lindorm, EMR Serverless StarRocks, or OpenSearch as computing resources, a data source with the same name will be automatically created in the current workspace.

Permission requirements

  • Only workspace members with the O&M or administrator role, or those with the AliyunDataWorksFullAccess or AdministratorAccess permission, can create computing resources. For details, see Manage permissions on workspace-level services and Grant permissions to a RAM user.

  • Some computing resources require additional permissions during creation. Follow the console prompts to complete authorization.

Associate computing resources

Depending on whether Participate in Public Preview of Data Studio is enabled, associate computing resources from the appropriate entry point.

For workspaces in DataStudio (new version)

1. Log on to the DataWorks console and switch to the target region.

2. In the left navigation pane, go to More > Management Center.

3. In the drop-down list, select the target workspace and click Go to Management Center.

4. Click Computing Resource in the left navigation pane to go to the list page. Follow the relevant documents to associate the required computing resource.

For workspaces in DataStudio (old version)

1. Log on to the DataWorks console and switch to the target region.

2. In the left navigation pane, go to Data Development and O&M > Data Development.

3. In the drop-down list, select the target workspace and enter DataStudio.

4. Click the image icon in the left navigation menu to go to the computing resource page. Follow the relevant documents to associate the required computing resource.

Disassociate computing resources

Important

Disassociating a computing resource may impact tasks in multiple modules, including Data Integration, Operation Center, Data Analysis, Data Service, and Data Quality. Make sure to read the console warnings carefully and migrate any tasks using the resource to other computing resources before disassociating it.

To disassociate a computing resource from DataWorks, go to the Computing Resource page, find the associated resource, and click Disassociate.

Appendix: Execution environments

In standard-mode workspaces, each computing resource instance contains two configurations: one for the development environment and one for the production environment. You can assign different databases or instances to each environment.

The system automatically maps to different computing resources based on the runtime environment to isolate development and testing from production scheduling. For example, when an offline synchronization task is executed, the development environment accesses the preconfigured development database, while the production environment accesses the production database.

Note
image