Updated on 2024-04-15 GMT+08:00

Projects

Projects are used to isolate resources (including compute, storage, and network resources) among physical regions. A project is provided for each region by default, and permissions are assigned based on projects.

For more refined access control, create subprojects under a project and create resources in the subprojects. Then, provide users with permissions to access resources in specific subprojects.

Figure 1 Project isolation

Resources cannot be transferred across IAM projects.

Creating a Project

  1. In the left navigation pane on the IAM console, choose Projects and click Create Project.
  2. Select a region in which you want to create a subproject.
  3. Enter a project name.

    • The project name will be in the format "Name of the default project for the selected region_Custom project name". The name of default projects cannot be modified.
    • The project name can only contain letters, digits, hyphens (-), and underscores (_). The total length of the project name cannot exceed 64 characters.

  4. (Optional) Enter a description for the project.
  5. Click OK.

Granting a User Group Permissions for a Project

You can assign permissions based on projects to control access to resources in specific projects.

  1. In the user group list, click Authorize in the row containing the target user group.
  2. On the Authorize User Group page, select the policies or roles to be attached to the user group and click Next.
  3. Specify the authorization scope. If you select Region-specific projects, select one or more projects.
  4. Click OK.

    For more information about user group authorization, see Creating a User Group and Assigning Permissions.

Switching Regions or Projects

For project-level services, switch to a region or project in which you have been authorized to access cloud services. You do not need to switch regions or projects for global services.

  1. Log in to the management console.
  2. Go to a project-level cloud service page. Click the drop-down list box in the upper left corner of the page and select a region.