A workspace is the basic unit in which you can manage nodes and members, assign roles, and grant permissions. All nodes are developed in a specific workspace. Before you develop nodes, you must create a workspace. This topic describes how to create a workspace.

Prerequisites

  • DataWorks is activated. For more information, see Activate DataWorks.
  • The account that you want to use to create a workspace is prepared.
    • If you want to create a workspace by using an Alibaba Cloud account, prepare an Alibaba Cloud account. For more information, see Prepare an Alibaba Cloud account.
    • If you want to create a workspace as a RAM user, prepare a RAM user. For more information, see Prepare a RAM user.
    • If you want to create a workspace as a RAM user, grant the CreateWorkspace permission to the RAM user you prepared. For more information about how to grant permissions to a RAM user, see Grant permissions to a RAM user.

Make preparations before you create a workspace

Before you create a workspace, plan the workspace configurations and select a suitable workspace mode. The following table describes how to make the preparations.
Operation Description References
Plan a workspace A workspace is the largest business unit supported by DataWorks. Before you create a workspace, you must understand how workspaces work and plan a workspace for your business scenarios. Plan workspaces
Select a workspace mode DataWorks allows you to create a workspace that is in basic mode or standard mode.
  • Basic mode: A workspace in basic mode uses compute engine instances that exist only in the production environment. Permissions that are granted on data cannot be isolated, and the development environment and production environment cannot be isolated.
  • Standard mode: A workspace in standard mode uses compute engine instances that exist in the development environment and production environment. Permissions that are granted on data can be isolated, and the development environment and production environment can be isolated.
Note We recommend that you develop a node in a workspace in standard mode.
Differences between workspaces in basic mode and workspaces in standard mode

Create a workspace

  1. Log on to the DataWorks console.
  2. Create a workspace.
    You can use one of the following methods to create a workspace. Create a workspace
  3. Configure the basic information about the workspace.
    Basic information about a workspaceThe following table describes the parameters.
    Parameter Description
    Workspace Name The name of the workspace. The name uniquely identifies the workspace and cannot be changed after the workspace is created.
    Display Name The display name of the workspace. We recommend that you specify a name based on your business attributes or team attributes.
    Isolate Development and Production Environments The mode of the workspace.
    • If you want to isolate production and development environments, select Yes. In this case, the workspace is in standard mode.
    • If you do not want to isolate production and development environments, select No. In this case, the workspace is in basic mode.
    You can specify the mode of the workspace based on your business requirements. For more information about the modes of workspaces, see Differences between workspaces in basic mode and workspaces in standard mode.
    Workspace Administrator The administrator of the workspace.

    By default, the current logon account is used as the administrator of the workspace. You can specify a member in the workspace as an administrator to help manage the workspace. For more information about how to add a RAM user to a workspace as a member, see Add a workspace member.

    Resource Group Select a resource group created in Alibaba Cloud Resource Management. By default, Default Resource Group is selected.

    If you purchase various Alibaba Cloud resources, you can create resource groups in Resource Management, specify an administrator for each resource group, and manage resources by group.

    Important The selected resource group is created in the Resource Group service provided by Resource Management. The Resource Group service allows you to sort resources owned by your Alibaba Cloud account. This simplifies resource and permission management within your Alibaba Cloud account. The resource group is different from the resource group that is used to run nodes in DataWorks.
    Schedule PAI Nodes If you want the system to schedule PAI nodes on a regular basis, turn on this switch.
    Description The description of the workspace. The description can help you identify the workspace. You can specify the purpose of the workspace in the description.
  4. Click Commit.

What to do next

After the workspace is created, you can perform the following operations:
  • Go to the Workspaces page, find the workspace, and then view the information about the workspace. For more information, see Manage workspaces.
  • Associate a compute engine with the workspace. Then, you can perform data development in the workspace. For more information about how to associate a compute engine with a workspace, see Associate a compute engine with a workspace.