Creating a User and Granting VPC Permissions

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

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

This section describes the procedure for granting permissions (see Figure 1).

Prerequisites

Learn about the permissions (Permissions) supported by VPC and choose policies or roles according to your requirements.

For permissions of other services, see .

Process Flow

Figure 1 Process for granting VPC permissions

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

    Create a user group on the IAM console, and assign the VPC ReadOnlyAccess policy to the group.

  2. Create an IAM user and add it to the user group.

    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 VPC console by using the user created in 2, and verify that the user only has read permissions for VPC.

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