I have created a new Elastic Beanstalk application on AWS. I have to use a CNAME to redirect traffic to the end point of the Elastic Load Balancer through a DNS managed by Network Solutions, and they have size restrictions on the length of the CNAME target. It would appear that Elastic Beanstalk chooses very large random names for their load balancers.
Unfortunately the answer is no to the first 2.
The last one, you are able to do it, but it more or less goes against the flow of Elastic beanstalk. You would need to create your own ELB with whatever name you like and then put it in front ot the instance that is created by beanstalk. You would need need to delete the ELB that beanstalk created so that it's not sitting there costing you money.
I can't remember if beanstalk boots its environments via an AutoScaling group, but if it does, you'll need to associate that AutoScaling group with your new ELB.
After creating and syncing all of that up, you need to point your CNAME to your new custom made ELB.
That should work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With