route53 and ELB latency

0

Hello, I use an ALB on the front of my application (deployed on ECS). And I use route53 in order to set elb as an alias record. When I call my application url directly from ELB by his dns it take few ms but when I call my application url over route53 it take 10s!. I don't uderstand why?

bellow show how is configured on route53 my record

myapp.env-dev.aws.domain.com	A	Simple	-	dev-ecs-alb-xxxx.eu-west-1.elb.amazonaws.com.

If I call directly dev-ecs-alb-xxxx.eu-west-1.elb.amazonaws.com it work correctly but if I call myapp.env-dev.aws.domain.com it make 10s to give me a response

preguntada hace un año303 visualizaciones
1 Respuesta
0

It appears to me your "dev-ecs-alb-xxxx.eu-west-1.elb.amazonaws.com" is a regional endpoint, so when you call the application regionally which means your are close to your application endpoint, is low latency.

Route 53 endpoint is a global endpoint (there are also some other services of AWS are global endpoints), so when you call "myapp.env-dev.aws.domain.co" - it goes to the global endpoints whicy may take some ms. That is my understanding. Please advise me if you have any other findings.

respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas