Updated on 2024-05-15 GMT+08:00

Shared VPC

Scenario

After a Dedicated HSM instance is created, you need to activate it before using it. To do so, you need to bind it to a VPC. You can apply for a VPC or use a shared VPC.

Creating Shared VPC Resources

  1. Log in to the management console.
  2. Click in the upper left corner, choose Management & Governance > Resource Access Manager.
  3. In the navigation pane on the left, choose Shared by Me > Resource Shares.
  4. Click Create Resource Share in the upper right corner.

    Figure 1 Specifying shared resources

  5. Set resource type to vpc:subnet, choose the corresponding region, and select the VPC to be shared. Click Next: Associate Permissions.
  6. Associate a RAM managed permission with each resource type on the displayed page. Then, click Next: Specify Principals in the lower right corner.
  7. Specify the target principals and click Next: Confirm in the lower right corner.

    Table 1 Parameters

    Parameter

    Description

    Principal Type

    • Organization

      For details about how to create an organization, see .

      NOTE:

      If you have not enabled resource sharing with organizations, this parameter cannot be set to Organization. For details, see .

    • Huawei Cloud account ID

  8. Check the configurations and click Submit in the lower right corner.

Using Shared VPC Resources

  1. Log in to the management console.
  2. Click in the upper left corner of the management console and select a region or project.
  3. Click . Choose Security & Compliance > Data Encryption Workshop.
  4. In the navigation pane on the left, choose Dedicated HSM > Instances.
  5. Locate the target Dedicated HSM, click Activate in the Operation column.
  6. In the VPC drop-down list, choose a shared VPC instance, configure the parameters, and click Activate.

    Figure 2 Selecting a shared VPC