All Products
Search
Document Center

MaxCompute:Create a MaxCompute project

Last Updated:Oct 28, 2024

A project is the basic unit for performing 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 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 information about 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 Prepare a RAM user.

Background information

Account type for creating a MaxCompute project

In most cases, RAM users have limited permissions. If you use a RAM user to create a MaxCompute project, you must grant the RAM user the required permissions to perform operations. We recommend that you use an Alibaba Cloud account to create a MaxCompute project and grant RAM users the permissions on the MaxCompute project.

For more information about the permission differences between Alibaba Cloud accounts and RAM users, see Users and permissions. For more information about authorization operations, see MaxCompute permissions.

Methods for creating a MaxCompute project

You can create a MaxCompute project by using one of the following methods:

  • Method 1 (recommended): Create a MaxCompute project in the MaxCompute console

    MaxCompute allows you to create MaxCompute projects in the graphical user interface (GUI)-based console. You can connect to MaxCompute projects by using command line tools to develop data jobs. For more information, see Create a MaxCompute project in the MaxCompute console.

  • Method 2: Create a MaxCompute project in the DataWorks console

    DataWorks is an end-to-end platform provided by Alibaba Cloud for big data development and governance. You can perform end-to-end data development and governance operations in the DataWorks console, such as MaxCompute job development, periodic scheduling, job O&M, and data governance. If you want to use DataWorks to develop and manage MaxCompute jobs, you can create a DataWorks workspace and associate a MaxCompute data source with the workspace in the DataWorks console. This way, you can develop MaxCompute jobs in the DataWorks workspace. For more information, see Create a workspace.

    Note

    When you use DataWorks for data development and governance, you can isolate the development environment from the production environment in a DataWorks workspace that is in standard mode. In this case, you cannot create a MaxCompute project in the MaxCompute console and then associate the project with the workspace that is in standard mode. In this scenario, you can directly create a MaxCompute project in the DataWorks console.

Precautions

When you create a MaxCompute project, take note of the following items:

  • After you use an Alibaba Cloud account to create a MaxCompute project, you have the operation permissions on all 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 objects in the project. Only authorized users can access the project.

  • For a MaxCompute project that is created by using a RAM user, MaxCompute assigns the RAM user the Super_Administrator role of the project by default. This facilitates project management.

    Note

    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.

Create a MaxCompute project in the MaxCompute console

  1. Log on to the MaxCompute console. In the top navigation bar, select a region.

  2. In the left-side navigation pane, choose Workspace > Projects. On the Projects page, click Create Project.

  3. In the Create Project dialog box, configure the required parameters and click OK.

    The following table describes the parameters that you need to focus on. You can also configure other parameters based on the instructions displayed in the Create Project dialog box. For more information about the parameters, see Manage projects.

    Parameter

    Description

    Billing Method and Default Quota

    You can select a billing method and a quota based on the purchased MaxCompute resources.

    • Subscription

      If you have purchased MaxCompute subscription resources, you can manage quota plans for the resources and select the quota for the resources that you want to use to run jobs. For more information about quota planning and management, see Manage quotas for computing resources in the MaxCompute console.

    • Pay-as-you-go

      When you activate MaxCompute, the pay-as-you-go standard edition of MaxCompute is purchased by default. If you have not purchased other MaxCompute resources, you can set the Billing Method parameter to Pay-as-you-go and select Default Pay-as-you-go Quota from the Default Quota drop-down list.

  4. After you create a MaxCompute project, perform the following steps to view the project: In the left-side navigation pane, choose Workspace > Projects. On the Projects page, view the MaxCompute project that you create.

    image

References

  • If you want to manage a MaxCompute project with other RAM users, you can add the RAM users as members of the MaxCompute project and assign roles to the RAM users. For more information, 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, see Select a connection tool.

  • You can delete a MaxCompute project. For more information, see Delete a MaxCompute project.