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.
source share