A workspace is the basic unit for task development and member permission management in DataWorks. This topic describes workspace concepts, workspace modes, and the basic operations that you can perform in a workspace.
Workspace overview
All development work is implemented in a custom workspace in DataWorks. You can associate different types of compute engines with a workspace as compute engine instances, such as MaxCompute, E-MapReduce (EMR), and Realtime Compute for Apache Flink. After you associate compute engines with a workspace as compute engine instances, you can perform various operations in the workspace, such as developing tasks, scheduling compute engine tasks, and managing data stored in compute engines.
The workspace administrator can add users to a workspace as members and assign different roles to the members to implement multi-role collaboration in different business scenarios. The roles include Workspace Administrator, Data Analyst, Deploy, Development, Model Designer, Visitor, O&M, and Security Manager.
You can assign different roles to members in each workspace and associate different types of compute engines with a workspace as compute engine instances. Therefore, you must create a workspace before you start task development.
Workspace modes
DataWorks provides two types of workspace modes for users: basic mode and standard mode. The development behavior and data security risks of the two modes are different. We recommend that you select a workspace in standard mode for actual development. For more information, see Differences between workspaces in basic mode and workspaces in standard mode and Scenario: Upgrade a workspace from the basic mode to the standard mode.
Basic operations
Operation | Description | References |
Creates a workspace | Workspaces are basic units for managing tasks, members, roles, and permissions in DataWorks. All data development operations must be performed in a specific workspace. | |
Delete or disable a workspace | You can delete or disable a workspace.
| |
View and modify the configurations of a workspace | After you create a workspace, you can view the configurations of the workspace and modify specific configurations. For example, you can upgrade the workspace mode. | |
Associate a compute engine instance with a DataWorks workspace | DataWorks allows you to associate a compute engine instance with a workspace to run tasks on the compute engine instance. You can associate a compute engine instance with a workspace based on the workspace mode. Note Before you associate a compute engine with a workspace, make sure that you are familiar with the differences between a workspace in basic mode and a workspace in standard mode. Subsequent data development and permission management operations vary based on the workspace mode. | |
Plan and assign roles for workspace members |
Before you assign roles to the RAM users, make sure that you are familiar with the permission system for workspace-level service modules. |
General guidelines for workspaces
When you create a workspace, we recommend that you abide by the following rules:
Uniform naming conventions:
Make sure that the name of the workspace that you create contains information that can help identify your business.
Make sure that the name of the node that you create in a workspace contains the abbreviation of the workspace name for quick identification.
You can create a workspace by using only an Alibaba Cloud account or a RAM user that is assigned the Workspace Administrator role. In principle, you cannot assign both the Development and O&M roles to the same workspace member.
Additional information: Start data development
After you create a workspace, add users to the workspace as members, and assign roles to the workspace members, the members can go to DataStudio to start data development based on the permissions of the assigned roles. For more information about how to perform data development operations in DataStudio, see Data development: Developers.
References
After you read the workspace overview, you can create a workspace. For more information, see Create and manage workspaces.
For information about how to manage and perform operations on workspaces after you create the workspaces, see Manage workspaces.
You can plan workspaces based on different business scenarios. For information about permission models and the best practices for planning workspaces, see Plan workspaces.
DataWorks provides different types of compute engines for workspaces. For information about how to associate a compute engine with a workspace, see Associate compute engines with a workspace and manage compute engines.
For information about how to associate a resource group with a workspace when you use the resource group, see Use an exclusive resource group for Data Integration and associate the resource group with a workspace.