Step 1: Create User Groups and Assign Permissions
A company has three functional teams, including the management (admin group), development, and test teams. After the company administrator creates an account, the default group admin is automatically generated and has full permissions for all cloud services. The administrator only needs to create another two groups in IAM for the development and test teams, respectively.
Creating User Groups
Assigning Permissions to User Groups
Developers in the company need to use ECS, RDS, ELB, VPC, EVS, and OBS, so the administrator needs to assign the required permissions to the developer group to enable access to these services. Testers in this company need to use APM, so the administrator needs to assign the required permissions to the tester group to enable access to the service. After permissions are assigned, users in the two groups can access the corresponding services. For details about the permissions of all cloud services, see "Permissions".
- Determine the permissions policies to be attached to each user group.
Determine the policies (see Table 1). Regions are geographic areas where services are deployed. If a project-level service policy is attached to a user group for a project in a specific region, the policy takes effect only for that project.
Table 1 Required permissions policies User Group
Cloud Service
Region
Policy or Role
Developer group
ECS
Specific regions
ECS FullAccess
RDS
Specific regions
RDS FullAccess
ELB
Specific regions
ELB FullAccess
VPC
Specific regions
VPC FullAccess
EVS
Specific regions
EVS FullAccess
OBS
Global
OBS OperateAccess
Tester group
APM
Specific regions
APM Administrator
- In the user group list, click Manage Permissions in the row containing the developer user group.
- Assign permissions to the user group for region-specific projects.
- All the services in Table 1 except OBS are deployed in specific projects. Select desired permissions for project-level services and click Next.
- Select Region-specific projects for Scope, select an authorized region, and click OK.
Then users in the developer group can access the specified project-level services in authorized regions but do not have permissions to access the services in other regions.
- Assign permissions to the user group for the global services.
- Select OBS OperateAccess and click Next.
- Select Global services for Scope and click OK.
- Repeat steps 2 to 4 to attach the APM Administrator role to the tester group.
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