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
답변함 일 년 전
profile pictureAWS
전문가
kentrad
검토됨 일 년 전
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
답변함 일 년 전
  • Traffic between EC2 instances in a VPC to/from AWS services does not traverse the public internet even when public IP addressing is used.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠