Updated on 2022-09-05 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. On the IAM console, choose Projects from the navigation pane, 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. For more refined permissions control, you can grant a user group access to resources in a specific subproject.

  1. In the user group list, click Manage Permissions in the row containing the target user group.
  2. On the Permissions tab page, click Assign Permissions.
  3. Specify the authorization scope. If you select Region-specific projects, select one or more projects in the drop-down list.
  4. Select policies or roles and 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 don't 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.