Querying and Accessing a VPC Endpoint
Scenarios
After a VPC endpoint is bought, you can query its details and access it.
Constraints
- Basic: 3,000
- Professional: 1,000,000
Querying a VPC Endpoint
Perform the following operations to query details about a VPC endpoint, including its ID, associated VPC endpoint service name, VPC, and status.
- Go to the VPC endpoint list page.
- On the displayed page, locate the VPC endpoint by entering a keyword in the search box in the upper right corner:
- Search by VPC endpoint service name or VPC endpoint ID.
- Select ID or VPC Endpoint Service Name in the filter box.
- Enter a keyword in the search box.
- Click to start the search.
VPC endpoints containing the keyword are displayed in the VPC endpoint list.
- Search by tag.
- Click to the right of Search by Tag.
- Enter a tag and a value.
You can also select a key or value from the drop-down list.
You can use a maximum of 10 tags to search for a VPC endpoint.
- Click Search.
VPC endpoints containing the specified tag are displayed in the VPC endpoint list.
If you set multiple tags, VPC endpoints containing all the specified tags will be displayed.
- Search by VPC endpoint service name or VPC endpoint ID.
- In the VPC endpoint list, click the ID of the target VPC endpoint to view its details.
After an interface VPC endpoint is created, a private IP address is assigned together with a private domain name if you select Create a Private Domain Name.
Figure 1 Summary of the VPC endpoint (for accessing an interface VPC endpoint service)
Figure 2 Summary of the VPC endpoint (for accessing a gateway VPC endpoint service)
Table 1 Parameters contained in the details of a VPC endpoint Tab
Parameter
Description
Summary
ID
Specifies the ID of the VPC endpoint.
Summary
VPC
Specifies the VPC where the VPC endpoint is deployed.
Summary
Payer
Specifies the payer of the VPC endpoint.
Summary
VPC Endpoint Service Name
Specifies the name of the VPC endpoint service that the VPC endpoint is used to access.
Summary
Private Domain Name
Specifies the private domain name for accessing the VPC endpoint.
Summary
Status
Specifies the status of the VPC endpoint.
Summary
Type
Specifies the type of the VPC endpoint service that the VPC endpoint is used to access.
Summary
VPC Endpoint Edition
Specifies the VPC endpoint edition.
Summary
IPv4 Address
Specifies the IPv4 address of the VPC endpoint.
Summary
IPv6 Address
Specifies the IPv6 address of the VPC endpoint.
Summary
Created
Specifies the creation time of the VPC endpoint.
Summary
Access Control
Specifies whether the whitelist is enabled for IP addresses to access this VPC endpoint.
- If Access Control is enabled, only IP addresses or CIDR blocks in the whitelist are allowed to access the VPC endpoint.
- If Access Control is disabled, any IP address or CIDR block can access the VPC endpoint.
NOTE:Access control can be enabled only for VPC endpoints for connecting to an interface VPC endpoint service.
Access Control
IP Address or CIDR Block
It controls IP addresses and CIDR blocks that are allowed to access the VPC endpoint.
NOTE:The Access Control tab is displayed only for VPC endpoints for connecting to interface VPC endpoint services.
Access Control
Operation
Specifies the operation to be performed on whitelist records of the VPC endpoint. Only deletion is supported.
Route Table
Name
Specifies the name of the route table.
NOTE:The Route Tables tab is displayed only for the VPC endpoint for connecting to a gateway VPC endpoint service in some specific regions.
Route Tables
VPC
Specifies the VPC that the route table belongs to.
Route Tables
Type
Specifies the type of the route table, which can be Default and Custom.
Route Tables
Associated Subnets
Specifies the number of subnets associated with the route table.
Route Tables
Operation
Specifies the operation to be performed on the route table. The operation can be Disassociate or Associate.
NOTE:If a VPC endpoint is associated with only one route table, disassociation is not supported.
Tags
Key
Specifies the tag key of the VPC endpoint.
Tags
Value
Specifies the tag value of the VPC endpoint.
Tags
Operation
Specifies the operation to be performed on the VPC endpoint tag. You can click Edit or Delete.
Accessing a VPC Endpoint via Its Private IP Address
Perform the following operations to access a VPC endpoint via 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 via Its Private Domain Name
You can access a VPC endpoint via 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.
Viewing 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 via 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.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot