A project is the basic unit that is used to perform user isolation and access control in MaxCompute. After you activate MaxCompute, you must create projects to use MaxCompute. This topic describes how to create a MaxCompute project in the MaxCompute or DataWorks console.
Prerequisites
- DataWorks and MaxCompute are activated by using your Alibaba Cloud account or the credentials of a RAM user. The two services are deployed in the same region.
- If you want to create a MaxCompute project as a RAM user, you must obtain the credentials
of the RAM user and attach the AliyunDataWorksFullAccess policy to the RAM user.
For more information about how to create a RAM user or obtain information about a RAM user, see Create a RAM user.
Background information
RAM users have limited permissions. We recommend that you use an Alibaba Cloud account to create a MaxCompute project and grant RAM users permissions on the MaxCompute project. For more information about the permission differences between Alibaba Cloud accounts and RAM users, see Users and roles. For more information about authorization, see Permissions.
- Method 1 (recommended): Use the MaxCompute console to create a projectThe project management and query editing features of the MaxCompute console are implemented by DataWorks. Before you create a MaxCompute project, you must create a DataWorks workspace. DataWorks workspaces are distinguished from MaxCompute projects in the following ways:
- DataWorks workspaces: Log on to the DataWorks console. In the left-side navigation pane, click Workspaces. On the Workspaces page, you can view the names of DataWorks workspaces.
- MaxCompute projects: Log on to the MaxCompute console. On the Project management tab, you can view the names of MaxCompute projects and the names of the DataWorks workspaces to which the MaxCompute projects correspond.
- Method 2: Use the DataWorks console to create a project
Usage notes
- After you use an Alibaba Cloud account to create a MaxCompute project, you have the operation permissions on all the objects in the project. Only authorized users can access the project.
- For a MaxCompute project that is created by using the credentials of a RAM user, both the RAM user and the Alibaba Cloud account to which the RAM user belongs have the operation permissions on all the objects in the project. Other users can access the project only after the users are granted the related permissions.
- For a MaxCompute project that is created by using the credentials of a RAM user, MaxCompute assigns the RAM user the Super_Administrator role of the project by default. This facilitates project management. If a DataWorks workspace is in standard mode, the RAM user is assigned only the Super_Administrator role of a project in the development environment.
Use the MaxCompute console to create a project
Use the DataWorks console to create a project
For more information, see Create a workspace.
What to do next
- If you need a RAM user for data development, you can add the RAM user as a member of your MaxCompute project and assign a role to the RAM user. For more information about how to add project members, see Add a workspace member and configure roles.
- If you do not need to add project members, prepare the development environment for your MaxCompute project and install the required tools. For more information about how to prepare a development environment and install tools, see Prepare an environment and install required development tools.
- If you need to delete an existing MaxCompute project, follow the instructions provided in Delete a MaxCompute project to perform this operation.