I want to deploy my app to multi-container elastic beanstalk to be able to point my A-record to some fixed ip connected to it(somehow).
I've read related questions(like this one) and understand that it can be achieved by:
Tackling www redirects
Not an option as our production website is historically resolved without www and adding redirects will negatively influence our SEO
Transferring domain to Route53 as it has aliases feature
Not an option due to legal and business issues.
Using single-container instance
Not an option as auto-scaling is primary feature why we want to use moreover each redeploy will destroy EIP.
So I'm thinking about other possible solutions. I've been able to found some fragmented details about that is possible to user separate NAT for outgoing traffic. Is it possible to setup NAT with fixed(elastic) IP to be able to accept incoming traffic(both http+s) and redirect it further to elb? How that should be achieved in details (I suppose some kind of apache/nginx and proxy_pass requests to elasticbeanstalk dns)?