Score:0

Will aws elb address change over time?

id flag

I have created a load balancer pointing at my api instances. I got an automatically generated url which looks something like this: xxx-xx-xxxxxxxxxx.us-east-2.elb.amazonaws.com I want to connect it to my own domain name via cname, but before doing this, I wanted to make sure that the url will always stay the same, unless I delete the lb of course. Thanks for the kind help.

Score:2
br flag

This hostname is unique to your load balancer and will remain the same as long as your load balancer is running. This means that you can safely create a CNAME record that points to the ELB DNS name without worrying about the URL changing unexpectedly.

However, it's important to note that if you delete and recreate your load balancer, you will be given a new ELB DNS name. If you're planning on creating a CNAME record that points to your ELB DNS name, you should make sure that you're okay with the possibility of having to update your DNS record in the future if you need to replace your load balancer.

Tim P avatar
af flag
Adding onto the is reply. Never use the IP addresses that the hostname resolves to. They WILL change over time and you won't have any warning of the change. Use a CNAME or an alias (if you are using Route53) only.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.