Help Center> Elastic Cloud Server> User Guide> Permissions Management> Creating a User and Granting ECS Permissions

Creating a User and Granting ECS Permissions

This section describes how to use IAM to implement fine-grained permissions control for your ECS resources. With IAM, you can:

  • Create IAM users for employees based on your enterprise's organizational structure. Each IAM user will have their own security credentials for accessing ECS resources.
  • Grant only the permissions required for users to perform a specific task.
  • Entrust a HUAWEI CLOUD account or cloud service to perform efficient O&M on your ECS resources.

If your HUAWEI CLOUD account does not require individual IAM users, skip this section.

This section describes the procedure for granting permissions (see Process Flow).

Prerequisites

Learn about the permissions (see Supported System Policies) supported by ECS and choose policies or roles according to your requirements. For the permissions of other services, see Permission Policies.

Process Flow

Figure 1 Process for granting ECS permissions

  1. Create a user group and assign permissions to it.

    Create a user group on the IAM console, and attach the ECS ReadOnlyAccess policy to the group.

  2. Create an IAM user.

    Create a user on the IAM console and add the user to the group created in 1.

  3. Log in and verify permissions.

    Log in to the ECS console by using the created user, and verify that the user only has read permissions for ECS.

    • Choose Service List > Elastic Cloud Server. Then click Buy ECS on the ECS console. If a message appears indicating that you have insufficient permissions to perform the operation, the ECS ReadOnlyAccess policy has already taken effect.
    • Choose any other service in the Service List. If a message appears indicating that you have insufficient permissions to access the service, the ECS ReadOnlyAccess policy has already taken effect.