Vpc Peering Vs Endpoint
So your college isn t wrong but you can reduce the need for vpc peering.
Vpc peering vs endpoint. All resources in a vpc such as ecss elbs and vips can be accessed. Traffic between your vpc and the other service does not leave the amazon network. Vpc endpoints gateway vs interface vpc peering and vpc flow logs aws certification cheat sheet sep 12 2020 2 minute read.
You can configure any of the two types as required. The former sits inside a subnet and. Only cloud services for example ecs and elb in the vpc for which vpc endpoint services are created can be accessed.
Vpc endpoint has two types interface endpoint and gateway endpoint. Endpoint connections cannot be extended out of a vpc i e. A vpc peering connection is a networking connection between two vpcs that enables you to route traffic between them using private ipv4 addresses or ipv6 addresses.
You can register your own service as a vpc endpoint service meaning that you no longer need to use vpc peering between two accounts. Vpc gateway endpoints limitation. Instances in either vpc can communicate with each other as if they are within the same network.
Table 1 differences between vpc endpoints and vpc peering connections. All cloud services in the vpc such as ecs and elb can be accessed. Instances in your vpc do not require public ip addresses to communicate with resources in the service.
As you present the endpoint into the consuming account. Table 1 describes differences between vpc endpoints and vpc peering connections. A vpc endpoint does not require an internet gateway virtual private gateway nat device vpn connection or aws direct connect connection.