Accessing a VPC Endpoint Through Its Private IP Address or Private Domain Name
Scenarios
You can access a VPC endpoint through its private IP address or private domain name.
Constraints
One VPC endpoint supports up to 3,000 concurrent connections.
Accessing a VPC Endpoint Through Its Private IP Address
Perform the following operations to access a VPC endpoint through its private IP address:
- In the VPC where the VPC endpoint is deployed, log in to the backend resource, for example, an ECS.
- Select a command based on the backend resource type and run the command to access the VPC endpoint. The command format is as follows:
Command Private IP address:Port number
The following is a command example:
curl Private IP address:Port number
Accessing a VPC Endpoint Through Its Private Domain Name
You can access a VPC endpoint through its private domain name if you select Create a Private Domain Name when buying the VPC endpoint.
The system automatically creates a private zone for the generated domain name and adds an A record set for the private zone to resolve the domain name into the private IP address of the VPC endpoint.
You can view the corresponding private zone and its resolution records on the DNS console.
- Check the record set of the private domain name.
- Log in to the management console.
- Hover the cursor over
in the upper left corner. In the service list, choose Networking > Domain Name Service. The DNS console is displayed.
- Go to the VPC endpoint list page.
- In the private zone list, click the name of the target private zone.
- In the record set list, locate the A record set and view its information.
- Accessing a VPC endpoint through its private domain name.
- In the VPC where the VPC endpoint is deployed, log in to the backend resource, for example, an ECS.
- Select a command based on the backend resource type and run the command to access the VPC endpoint. The command format is as follows:
Command Private domain name:Port number
The following is a command example:
curl Private domain name:Port number
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.