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:

  • Create IAM users for employees based on your enterprise's organizational structure. Each IAM user will have their own security credentials for accessing VPC resources.

  • Grant users only the permissions required to perform a given task based on their job responsibilities.

  • Entrust a cloud account or cloud service to perform efficient O&M on your VPC resources.

If your cloud account meets your permissions requirements, you can skip this section.

Figure 1 shows the process flow for granting permissions.

Prerequisites

Before granting permissions to user groups, learn about permissions (Permissions) for VPC.

To grant permissions for other services, learn about all permissions supported by IAM.

Process Flow

**Figure 1** Process for granting VPC permissions

Figure 1 Process for granting VPC permissions

  1. On the IAM console, create a user group and assign permissions to it (VPC ReadOnlyAccess as an example).

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

  3. Log in as the IAM user and verify permissions.

    In the authorized region, perform the following operations:

    • 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 is in effect.

    • Choose another service from Service List. If a message appears indicating that you have insufficient permissions to access the service, the VPC ReadOnlyAccess policy is in effect.