Assigning Permissions
Based on the enterprise project function, you can implement precise authorization for IAM users to ensure that the IAM users have operation permissions only for resources involved in the migration. The least privilege principle is implemented for IAM users to reduce risks during migration.
Assigning Permissions to a User Group by Enterprise Projects
- Create custom policy SMS Custom Policy For EPS by referring to section "Creating a Custom Policy in JSON View" in Creating a Custom Policy. Copy the following information to the policy content:
{ "Version": "1.1", "Statement": [ { "Action": [ "vpc:securityGroups:create", "vpc:vpcs:create", "vpc:publicIps:create", "vpc:subnets:create", "ecs:cloudServers:create", "ecs:cloudServers:attach", "ecs:cloudServers:detachVolume", "ecs:cloudServers:start", "ecs:cloudServers:stop", "ecs:cloudServers:delete", "ecs:cloudServers:reboot", "ecs:cloudServers:updateMetadata", "ecs:cloudServers:vnc", "ecs:serverPasswords:manage", "ecs:serverKeypairs:delete", "ecs:diskConfigs:use", "ecs:CloudServers:create", "ecs:servers:setMetadata", "ecs:serverVolumes:use", "ecs:serverKeypairs:create", "ecs:serverInterfaces:use", "ecs:serverGroups:manage", "ecs:securityGroups:use", "ecs:servers:unlock", "ecs:servers:rebuild", "ecs:servers:lock", "evs:volumes:use", "evs:volumes:create", "evs:volumes:update", "evs:volumes:delete", "evs:volumes:attach", "evs:volumes:detach", "evs:snapshots:create", "evs:snapshots:delete", "evs:snapshots:rollback", "ecs:*:get*", "ecs:*:list*", "evs:*:get*", "evs:*:list*", "vpc:*:list*", "vpc:*:get*", "ims:*:get*", "ims:*:list*" ], "Effect": "Allow" } ] } - On the IAM console, choose User Groups in the navigation pane.
- Click the created user group Test_EPS.
- Click By Enterprise Project on the right and click Authorize to grant the SMS FullAccess and SMS Custom Policy For EPS permissions to the user group.

Assigning Permissions to a User Group by IAM Project
- Create custom policy SMS Custom Policy For EPS At IAM by referring to section "Creating a Custom Policy in JSON View" in Creating a Custom Policy. Copy the following information to the policy content:
{ "Version": "1.1", "Statement": [ { "Action": [ "ecs:availabilityZones:list", "ecs:servers:list", "ecs:servers:unlock", "ecs:servers:lock", "ecs:serverPasswords:manage", "ecs:diskConfigs:use", "ecs:servers:setMetadata", "ecs:serverVolumes:use", "ecs:serverKeypairs:create", "ecs:serverKeypairs:get", "ecs:serverKeypairs:delete", "ecs:serverInterfaces:use", "ecs:serverGroups:manage", "ecs:securityGroups:use", "vpc:securityGroupRules:create", "vpc:securityGroupRules:get", "vpc:subnets:get", "vpc:subnets:create", "vpc:networks:get", "vpc:ports:get", "vpc:routers:get", "evs:types:get", "evs:volumes:update", "evs:volumes:delete", "evs:volumes:get", "evs:volumes:attach", "evs:volumes:detach" ], "Effect": "Allow" } ] } - On the IAM console, choose User Groups in the navigation pane.
- Click the created user group Test_EPS.
- Click By IAM Project on the right and click Authorize to grant the SMS Custom Policy For EPS At IAM policy to the user group.

Last Article: Enabling Enterprise Management and Creating Enterprise Projects
Next Article: Migrating Sources Servers
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.