Hello, Jackson!
Have a nice day!
1. What is VPC Endpoint?
The VPC Endpoint (VPCEP) service is a cloud service that extends VPC capabilities. It provides secure and private channels to connect VPCs to endpoint services, providing powerful and flexible networking without having to use EIPs.
VPCEP consists of endpoint services and endpoints that are created by service providers and users respectively.
Figure 1 Resource composition

Endpoint Services: Currently, users' private services are supported. Users can create an application in a VPC and configure it as an endpoint service.
Endpoints: Endpoints are channels for connecting VPCs to endpoint services. You can create an application in your VPC and configure it as an endpoint service. In the same region, you can create an endpoint in another VPC and then use this endpoint to access the endpoint service.
2. What Are the Differences Between VPC Endpoints and VPC Peering Connections?
Category | VPC Endpoint | VPC Peering Connection |
|---|
Security | Only the ECSs and ELBs in a VPC for which endpoint services are created can be accessed. | All the ECSs and ELB in a VPC subnet to which the peer route is added can be accessed by the peer VPC. |
CIDR overlap | Supported If you use a VPC endpoint to connect two VPCs, you do not have to worry about overlapping subnets. | Not supported If two VPCs have overlapping subnets, the VPC peering connection created between the two VPCs cannot work, so the two VPCs cannot communicate with each other. |
Communication mode | For two VPCs between which a connection is established, only the VPC with the VPC endpoint deployed can initiate an access request to the other VPC with the endpoint service deployed through a specified port. | Bidirectional communication is supported for two VPCs between which a VPC peering connection is created. |
Route configuration | For two VPCs that are connected through a VPC endpoint, the route has been configured, and you do not need to configure it again. | If a peering connection is established between two VPCs, you need to add the connection route to the VPCs, so that they can communicate with each other. |
Hope this helps!