To enable communications across two VPCs, you first need to configure a cloud resource (backend resource) in one VPC as a VPC endpoint service.
This section uses an elastic load balancer as an example backend service to describe how to create a VPC endpoint service.
There are available backend resources in the same VPC.
The Create VPC Endpoint Service page is displayed.
Parameter |
Description |
---|---|
Region |
Specifies the region where the VPC endpoint service is deployed. Resources in different regions cannot communicate with each other over internal networks. Select the nearest region for lower network latency and faster access to resources. |
Name |
This parameter is optional. Specifies the name of the VPC endpoint service. The name can contain a maximum of 16 characters, including letters, digits, underscores (_), and hyphens (-).
|
VPC |
Specifies the VPC where the VPC endpoint service is deployed. |
Service Type |
Specifies the type of the VPC endpoint service. The type can only be Interface. |
Connection Approval |
Specifies whether the connection between a VPC endpoint and a VPC endpoint service requires approval from the owner of the VPC endpoint service. You can determine whether to enable or disable the connection approval. If connection approval is enabled, any VPC endpoint for connecting to the VPC endpoint service needs to be approved. For details, see step 7. |
Port Mapping |
Specifies the protocol and ports used for communications between the VPC endpoint service and VPC endpoint. The protocol is TCP.
The service and terminal port numbers range from 1 to 65535. A maximum of 50 port mappings can be added at a time. NOTE:
Accessing a VPC endpoint service from a VPC endpoint is to access the service port from the associated terminal port. After a port mapping is added, it cannot be modified or deleted. |
Backend Resource Type |
Specifies the type of the backend resource that provides services to be accessed. The following backend resources are supported:
Example: Elastic load balancer
NOTE:
For the security group associated with the backend resource configured for the VPC endpoint service, add an inbound rule, with the source IP address set to 198.19.128.0/17. For details, see Adding a Security Group Rule in the Virtual Private Cloud User Guide. |
Load Balancer |
When Backend Resource Type is set to Elastic load balancer, select the load balancer that provides services from the drop-down list. NOTE:
If an elastic load balancer is used as the backend resource, the source IP address received by the VPC endpoint service is not the real address of the client. |
Tag |
This parameter is optional. Specifies the VPC endpoint service tag, which consists of a key and a value. You can add a maximum of 20 tags to each VPC endpoint service. Tag keys and values must meet requirements listed in Table 2. NOTE:
If a predefined tag has been created on TMS, you can directly select the corresponding tag key and value. For details about predefined tags, see Predefined Tag Overview. |
Parameter |
Requirement |
---|---|
Tag key |
|
Tag value |
|