Elixir Clustering with Mix Releases and libcluster

We finally have a Mix clustering guide to go with Phoenix deployment with Mix Releases.

Deploy an Elixir Cluster with Mix Releases and libcluster

The finished code for the guide is available at https://github.com/render-examples/elixir_cluster.

Meta: the Mix team has done a wonderful job learning from Distillery and making it even easier to cluster nodes, especially on platforms like Render (where I work) because we can auto-populate clustering variables for you.


How are you keeping separate customer’s Erlang clusters. K8s network policies? It would be good to add TLS usage to the tutorial.

Yes, firewalling through network policies. Regarding SSL, we terminate TLS at our L4 load balancer. Do you need e2e TLS?

I mean TLS for distributed erlang so that all communication is encrypted. http://erlang.org/doc/apps/ssl/ssl_distribution.html

Makes sense. We’ll add a guide for it.