VPC endpoint does not seem to improve latency

-1

Hello,

We used to communicate with SQS service via public endpoints. We recently migrated to SQS VPC endpoint. Surprisingly we do not see a latency improvement after this change. We expected that avoiding going through internet would cut down on network latency.

Any explanation for this? Are we missing something here ?

Thanks for your help !

  • What kind latency are you seeing?

2回答
1

Hello,

AWS Interface endpoints in your own VPC is a great way to reduce networking complecety, as many users leverage transit gateway, inspector VPC and maybe Next gen firewall for north south traffic, and east west traffic - meaning alot of hops which may result in an addition to the latency. However, i imaging your inital setup you were going from the VPC, through the internet gateway to reach your endpoint. By adding an interface endpoint for the SQS service, does not nessecarly reduce the latency in your network, but it ensures that traffic stays on the AWS "backbone". It reduces the latency by reducing the complexity if you have alot of "hops". I recommend the following blogpost that goes through the details of interface endpoints.

Hope this helps.

AWS
emned
回答済み 1年前
profile pictureAWS
エキスパート
kentrad
レビュー済み 1年前
0

The primary drivers for adopting VPC Endpoints are:

  • to increase security by having your traffic routed directly to AWS services over a private tunnel. Without the endpoint, your traffic traverses the public internet. Keep in mind all traffic to VPC Endpoints is encrypted and this is usually required to meet certain security standards.
  • Reduce costs by avoiding NAT and Internet Gateway related fees.

Using a VPC Endpoint may reduce latency but it is not a direct goal of the product.

profile pictureAWS
回答済み 1年前
  • Traffic between EC2 instances in a VPC to/from AWS services does not traverse the public internet even when public IP addressing is used.

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

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

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

関連するコンテンツ