Elastic balancing device of balancing machine

I created a new Elastic Beanstalk app on AWS. I have to use CNAME to redirect traffic to the elastic load balancing endpoint through DNS managed by network solutions, and they have size limits for the length of the CNAME target. It would seem that Elastic Beanstalk chooses very large random names for its load balancers.

  • Is there a way to rename a load balancer?
  • Is there a way to specify the name of the load balancer when initializing an elastic beanstalk?
  • If I just create a new load balancer, is there a way to add it to my Elastic Beanstalk environment?
+6
source share
2 answers

Unfortunately, the answer does not match the first 2.

Last, you can do this, but it more or less goes against the flow of the elastic beanstalk. You will need to create your own ELB with any name you like, and then put it in front of the beanstalk created instance. You will need to remove the ELB created by the beanstalk so that it does not sit there and it costs you money.

I don’t remember if beanstalk loads its environments through an AutoScaling group, but if so, you need to associate this AutoScaling group with your new ELB.

After creating and synchronizing all of this, you need to point CNAME to your new custom ELB.

That should work.

+3
source

You can create a CNAME for your custom domain for flexible DNS beanstalk. Sort of:

www.my-custom-domain.com CNAME to my-stalk-name.elasticbeanstalk.com 

Thus, you do not rely on the auto-generated ELB name. You bean the name of the stem is determined by you and will not change.

-1
source

Source: https://habr.com/ru/post/951331/


All Articles