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 Respostas
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
respondido há um ano
profile pictureAWS
ESPECIALISTA
kentrad
avaliado há um ano
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
respondido há um ano
  • Traffic between EC2 instances in a VPC to/from AWS services does not traverse the public internet even when public IP addressing is used.

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas