All Products
Search
Document Center

Container Registry:Use the VPC sharing feature to access a Container Registry Enterprise Edition instance across accounts

Last Updated:May 15, 2025

The virtual private cloud (VPC) sharing feature allows multiple Alibaba Cloud accounts to create cloud resources in a shared and centrally managed VPC, and allows different accounts to access cloud resources each other over the shared VPC. For example, Alibaba Cloud Account A (Account A) can access Container Registry Enterprise Edition instances (Enterprise Edition instances) in Alibaba Cloud Account B (Account B) over a shared VPC.

Prerequisites

Limits

Before you use the VPC sharing feature to access an Enterprise Edition instance across accounts, you must understand the limits of VPC sharing. For more information, see VPC sharing.

Configure cross-account VPC access control for the Enterprise Edition instance

Note

Use Account B to log on to the Container Registry console.

  1. Log on to the Container Registry console.

  2. In the top navigation bar, select a region.

  3. In the left-side navigation pane, click Instances.

  4. On the Instances page, click the Enterprise Edition instance that you want to manage.

  5. In the left-side navigation pane of the management page of the Enterprise Edition instance, choose Repository > Access Control.

  6. On the VPC tab of the Access Control page, click Add VPC.

  7. In the Add VPC dialog box, select a VPC and vSwitch in Account A. Click Confirm.

    Wait until the Status of the VPC and vSwitch changes to Running.

References

For more information, see VPC sharing.