Currently at my company, we use AWS EB with Docker in order to deploy and autoscale our main application.
We have our instances inside the same VPC and allowed all traffic through their security groups, we are trying to connect them using libcluster’s Gossip strategy but still no success (the different instances can ping each other, though).
It seems that there is a limitation where we cannot expose more than a single port easily from our application’s container, thus explaining why the nodes are not connecting (we cannot expose epmd, for example).
Right now we are considering switching to ECS.
If anyone has made the EB → ECS transition or have a working production elixir cluster using AWS EB, we would really appreciate some feedback about the setup process that was required.