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

posta un anno fa303 visualizzazioni
1 Risposta
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.

con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande