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 Antworten
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
beantwortet vor einem Jahr
profile pictureAWS
EXPERTE
kentrad
überprüft vor einem Jahr
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
beantwortet vor einem Jahr
  • Traffic between EC2 instances in a VPC to/from AWS services does not traverse the public internet even when public IP addressing is used.

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen