Latency performances between VPC peering vs. PrivateLink

0

I was weighing the advantages between using VPC peering and PrivateLink to connect between two different VPCs, and I was wondering if there are any insights on performance differences in terms of latency, for VPC peering vs. PrivateLink.

Yann
質問済み 1ヶ月前173ビュー
2回答
2

Network Latency: Both VPC peering and PrivateLink operate within the AWS network infrastructure, which generally results in low latency. However, the actual latency may vary depending on the geographical distance between the VPCs and the AWS regions they are located in.

In summary, both VPC peering and PrivateLink offer low-latency connectivity options within the AWS network infrastructure. The choice between them depends on factors such as the specific use case, the services being accessed, data transfer requirements, and cost considerations. It's recommended to conduct performance testing and evaluate the specific requirements of your application to determine which option best suits your needs.

Reference :- https://pavolkutaj.medium.com/explaining-aws-privatelink-vs-aws-vpc-peering-f26c87e13d8f

profile picture
エキスパート
回答済み 1ヶ月前
profile pictureAWS
エキスパート
レビュー済み 1ヶ月前
1
承認された回答

VPC peering will be lower latency than PrivateLink.

With VPC peering, packets are sent directly between the physical hosts where the instances are running.

With PrivateLink, packets go through a double-sided NAT operation and also through a NLB. While low latency, there is slightly more latency with PrivateLink.

PrivateLink allows you to connect two VPCs that have overlapping IP address ranges (see this blog post for more information about dealing with overlapping IP addresses) while VPC peering does not. PrivateLink has a cost associated with it; VPC peering does not. PrivateLink allows for connections to be established in only one direction; VPC peering is more general network connectivity where connections can be established in either direction but are still controlled by things like Security Groups.

For more about how traffic flows in a VPC watch this YouTube video.

profile pictureAWS
エキスパート
回答済み 1ヶ月前
profile picture
エキスパート
レビュー済み 1ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ