Creating a User and Granting ECS Permissions
Use IAM to implement fine-grained permissions control over your ECSs. With IAM, you can:
- Create IAM users for personnel based on your enterprise's organizational structure. Each IAM user has their own identity credentials for accessing ECS resources.
- Grant only the permissions required for users to perform a specific task.
- Delegate access to other Huawei Cloud accounts or cloud services for efficient O&M.
If your Huawei Cloud account does not require individual IAM users, you can skip this section.
This section describes the procedure for granting permissions (see Process Flow).
Prerequisites
Before assigning permissions to user groups, you should learn about system policies supported by ECS and select the policies based on service requirements.
For more information about system policies supported by ECS, see ECS Permissions. For the permissions of other services, see System-defined Permissions.
Process Flow
- Create a user group and assign permissions.
Create a user group on the IAM console and assign the ECS ReadOnlyAccess permissions to the group.
- Create a user and add the user to the user group.
Create a user on the IAM console and add the user to the group created in 1.
- Log in to the management console as the created user.
In the authorized region, perform the following operations:
- Choose Compute > Elastic Cloud Server in the service list. On the ECS console, click Buy ECS. If the purchase attempt failed, the ECSReadOnlyAccess policy has already taken effect.
- Choose any service other than ECS in the service list. If a message appears indicating that you have insufficient permissions to access the service, the ECSReadOnlyAccess policy has already taken effect.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot