Distributed Elixir on AWS Fargate

Can you please share your setup if you are running a cluster in Fargate? Our DevOps are trying their best to have a setup in Fargate for our new Elixir app, but it‘s hard.

What I want as a developer is node discovery and being able to connect to a cluster in IEx, debug production app, observer would be nice too. I think the state right now is - there is a cluster, but no shell, no ssh, no IEx.

Maybe there is some tip that you can share how to achieve it? It would be a shame to go back to stateless architecture.

Or maybe it‘s common not to have shell/iex in prod? :frowning:

My old team struggled with this for months and never arrived at a working solution for Fargate. We ended up using ECS.

I have another question about Fargate. Are there any ports we need to open for the nodes to talk to each other? And what about EPMD port? Do we need it or not?