You need to enable JavaScript to run this app.
Container Registry

Container Registry

Copy page
Download PDF
Access control
Connecting VPCs under the same account
Copy page
Download PDF
Connecting VPCs under the same account
CR supports connecting instances to VPCs under the same account, allowing resources in the VPC, such as ECS and VKE, to access an instance over the internal network. This enables high-speed and stable image push and pull while avoiding public network bandwidth costs.​
tip​
This operation is only applicable to Standard Edition instances.​
warning​
To establish the connectivity between a CR instance and a VPC, the private domain name of the instance needs to be resolved to an IP address within that VPC. Therefore, for each VPC you associate with an instance, one private domain name (PrivateZone) record and one elastic network interface (ENI) are automatically created for resolution. Private network resolution incurs fees. For billing details, see the Resolution request fees section in the TrafficRoute billing instructions.​
Background​
VPC connectivity under the current account falls into the following two scenarios. In both scenarios, the VPC and the CR instance must be in the same account and region:​
​
Scenario​
Description​
Typical application scenarios​
Connect current-account VPC (user VPC)​
Connect the VPC subnet created by users under the current account to the CR instance. After configuration, resources within the selected subnet can access the CR instance via the private network address to push and pull images.​
User-side resources, such as ECS instances and self-built Kubernetes, require pulling images via the internal network.​
Connect VPCs across products (service VPC)​
Connect the VPCs automatically created or used by other cloud products under the current account (for example, VKE) with the CR instance. These VPCs are managed by the cloud product service and can only be selected after cross-service authorization.​
Other cloud products, such as VKE clusters, require password-free pulling of images via the internal network.​
​
Limits​
  • Only VPCs in the same account and the same region can be connected.​
  • The total number of VPCs under the current account and cross-service VPCs cannot exceed 5. If you have reached this quota, delete any unnecessary VPC associations or request a quota increase. For instructions, see VPC access quota.​
Prerequisites​
  • Connect a current-account VPC: You have created a VPC and a subnet in the same region. For instructions, see Creating VPCs and Creating subnets.​
  • Connect cross-product VPCs: Cross-service authorization for CR has been activated in the target product. The first time you use CR features in the target product, the system automatically displays the cross-service access request page. After you confirm the access role and the associated policy information, click Authorize now.​
Connecting to the VPC of the current account​
  1. Log in to the target instance.​
  1. Log in to the CR console.​
  1. Select the target region in the top navigation bar.​
  1. In the left navigation pane, click Instance list. Select an entry point depending on your instance type:​
  • Standard instance: Click Standard instance. Find the target instance and click Enter instance.​
  • Proxy repository: Click Proxy cache. Click the target domain name to enter the instance details page.​
  1. In the left navigation bar, click Access control. On the Access control page, click Add VPC.​
  1. Configure the VPC to be added.​
  • ​
    Parameter​
    Description​
    Account​
    Select This account.​
    Associated project​
    The associated target project. After association, members of that project will inherit corresponding permissions for the CR services based on project authorization. For details, see Project management.​
    VPC​
    Select an existing VPC. After the VPC is added, internal network push and pull of images and Helm charts are enabled among clusters in this VPC.​
    Subnet​
    Select the VPC subnet to connect to. After configuration, resources within the selected subnet can access the instance via the private network to push or pull images.​
    ​
  1. Click Confirm to complete the configuration.​
Connecting VPCs across products​
warning​
Currently, only VPCs associated with the default security group named Default are supported. If the default security group name has been modified, change it back to Default before proceeding. To view the default security group of a VPC, see Viewing VPC details.​
  1. Log in to the target instance.​
  1. Log in to the CR console.​
  1. Select the target region in the top navigation bar.​
  1. In the left navigation pane, click Instance list. Select an entry point depending on your instance type:​
  • Standard instance: Click Standard instance. Find the target instance and click Enter instance.​
  • Proxy repository: Click Proxy cache. Click the target domain name to enter the instance details page.​
  1. In the left navigation bar, click Access control. On the Access control page, click Add VPC.​
  1. Configure the VPC to be added.​
  • ​
    Parameter​
    Description​
    Account​
    Select Cross-service, and select the authorized Volcano Engine account.​
    Version​
    Select New version, and select the VPC associated with another product.​
    ​
  1. Click Confirm to complete the configuration.​
Last updated: 2026.09.23 14:37:21