- Newest
- Most votes
- Most comments
Hello.
When you create or update a new DNS record in Route 53 (or any other DNS service), that change must be propagated throughout the Internet.
Therefore, access may not be possible until propagation is complete.
By the way, Route53 can take 60 seconds to propagate to an edge location.
https://repost.aws/knowledge-center/route-53-propagate-dns-changes
There are over 100 edge locations in Route 53 with DNS name servers that answer DNS queries from clients. When you update a record set in your hosted zone, the change propagates to all Route 53 edge locations within 60 seconds. The edge locations update with the latest information from your hosted zone, and the edge locations respond to client queries accordingly. If a client sends a query directly to the domain name's hosted zone name servers, then the client receives the correct response.
By the way, it seems that you are trying to set the domain for internal ALB, but where is this supposed to be accessed from?
In the case of internal ALB, you need to be careful as it can only be accessed from within the VPC or from on-premises via VPN or DirectConnect.
Thank you, now it's clearer. About ALB: my alb stays in front of two ec2 instances (one serves static js content, the other one with my backend API) and routes the traffic to them.. But the ALB is not internal (using Terraform, I set the internal flag to false). Actually I didn't know about this, so you are saying that if the ALB was internal, I wasn't able to route traffic to it?
Edit: I'm using an A record with alias at the moment, probably this is the reason why everything worked
Relevant content
- asked 2 years ago
- Accepted Answerasked 3 months ago
- asked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 4 years ago
Internal ALBs are not assigned public IPv4 addresses, so they cannot be publicly accessed from outside the VPC. In other words, even if name resolution is performed, a private IP address is returned, making it impossible to communicate via the Internet. https://docs.aws.amazon.com/elasticloadbalancing/latest/application/application-load-balancers.html