Parameter | Description |
Account | Select This account. |
Associated project | The associated target project. After the project is associated, members of the project obtain the corresponding CR instance permissions based on project authorization. In this example, select the default project. |
VPC | Select the VPC created under root user A during preparation. |
Subnet | Select the subnet created under root user A during preparation. |
Parameter | Description |
Region | Select the region where root user A is located. |
Availability zone | Select the availability zone of the VPC created under root user A during preparation. |
Network type | Select Private. |
VPC | Select the VPC created under root user A during preparation. |
Subnet | Select the subnet created under root user A during preparation. |
Parameter | Description |
CLB protocol | Select the protocol on which the CLB instance listens. In this example, select TCP. |
Listening port | Enter the port on which the listener listens. In this example, enter 443. |
Scheduling algorithm | Select the algorithm that the listener uses to forward requests. In this example, select Weighted Round Robin (WRR). Backend servers with higher weights are selected more frequently. |
Parameter | Description |
Add method | Select Create Server Group. |
Type | Select the backend server group type. In this example, select IP type to use IP addresses directly as backend servers. |
IP version | Select the protocol version of the backend servers' private IP addresses. In this example, select IPv4. |
Parameter | Description |
Add method | Select Add Now. |
IP address | Enter the backend server IP address. In this example, enter the Intranet resolution IP of the CR instance in the VPC. |
Port | Enter the port on which the backend server provides services. In this example, enter 443. |
Weight | Enter the percentage of requests assigned to the backend server. In this example, enter 100 to forward all traffic to this backend IP address. |
Parameter | Description |
Region | Select the region of the endpoint service. In this example, select the same region as the existing CR instance. |
Project | Select the project of the endpoint service. In this example, select the same project as the existing CR instance. |
IP address type | Select the IP address type of the endpoint service. In this example, select IPv4. |
Type | Select the service resource type provided by the endpoint service. In this example, select CLB. |
Service Resource | Select a CLB instance. Select the CLB instance created in Step 2. |
Parameter | Description |
Allowlist range | Select the allowlist scope for the endpoint service. In this example, select Specified Account. Only endpoints under specified accounts can connect to the endpoint service and access its service resources. |
Account ID | Enter the target account ID. In this example, enter the ID of root user B. |
Parameter | Description |
Region | Select the region of the endpoint. In this example, select the same region as the existing CR instance. |
Type | Select the endpoint type. In this example, select Interface. |
Project | Select the project of the endpoint. In this example, select the same project as the existing CR instance. |
Add method | Select how to add the endpoint service to be associated. In this example, select Add by Service Name. |
Endpoint Service | In this example, enter the endpoint service name obtained in Step 3. |
IP address type | Select the IP address type of the endpoint. In this example, select IPv4. |
VPC | Select the VPC of the endpoint. Select the VPC created under root user B during preparation. |
Availability Zone and Subnet | Select the endpoint service availability zone to connect to and its corresponding subnet. Select the same availability zone as the CLB instance under root user A. In this example, select Availability Zone D. |
Parameter | Description |
Domain name | Enter the CR instance domain name under root user A, such as test-example-cn-beijing.cr.volces.com. |
Account | Select the VPC where the DNS record takes effect. Select the VPC created under root user B during preparation. |
Parameter | Description |
Domain name | Enter the domain name prefix. In this example, enter @ to indicate an empty prefix. |
Record type | Select the DNS record type. Select A to point the domain name to an IPv4 address. |
TTL | Set the cache expiration time of the DNS record. In this example, select 1 minute. |
Record value | Enter the record value in the record set. Enter the private IP address of the endpoint in root user B. |
Category | Content |
Command | Query the IP address corresponding to the domain name. Example: |
Response result | The IP address displayed in the red box should be the endpoint's private IP address obtained in Step 4. If so, the verification is successful. |
Category | Content |
Command | Test connectivity to port 443 of CR. Example: |
Response result | If Connected is displayed, the verification is successful. |
Category | Content |
Command | Pull an image from the CR instance under root user A. Example: |
Response result | The image pulled from the CR instance under root user A exists locally. |
Issue description | Possible cause | Troubleshooting and resolution |
DNS resolution is incorrect or times out. | PrivateZone is not correctly associated with the VPC. | Confirm that PrivateZone in Account B is associated with the target VPC. |
| The PrivateZone record is incorrectly configured or has not taken effect. | Check whether the host record and record value are correct. |
| A conflict exists with the authoritative zone. | Execute ipconfig /flushdns on the client or restart the nscd service to refresh the DNS cache. |
The telnet connection to port 443 times out. | Cross-AZ connection: The endpoint and the CLB instance are not deployed in the same availability zone. | Ensure that the endpoint and the CLB instance share at least one availability zone. |
| Security group restrictions: The CLB security group in Account A or the endpoint ENI security group in Account B does not allow traffic on port 443. | Check whether the CLB security group allows inbound traffic from the PrivateLink CIDR block. |
| Routing issue: The route table in the VPC of Account B is incorrectly configured. | Check whether the endpoint ENI security group allows inbound traffic from the client subnet. |
docker login or docker pull returns a TLS error. | TLS termination by CLB: The CLB listener in Account A is incorrectly configured to use TLS/SSL instead of TCP. | Change the CLB listener protocol to TCP to ensure end-to-end TLS passthrough. |
| Client certificate issue: The client environment lacks a root certificate or has a certificate validation issue. | Troubleshoot the Docker daemon certificate configuration or system CA certificates on the client. |
The CLB backend health check fails. | The CR access ENI is in an abnormal state. | Confirm that the ENI under access control in CR is in the normal state. |
| The CLB security group does not allow outbound traffic to the CR access ENI. | Check the CLB security group's outbound rules and ensure that access to port 443 on the backend ENI is allowed. |
| The health check is incorrectly configured, such as with an incorrect port. | Confirm that the protocol and port configured for the health check match those of the backend service. |