Demo of distributed Elixir with libcluster and DNS

I was preparing to deploy a production application to AWS Fargate, and to practice I wanted to play with DNS polling and node discovery on localhost.

Here is the demo project that I was using: https://gitlab.com/egze/phx_cluster

Maybe it will be useful for someone. It has a good example how to build a production release in a Docker container and how to setup libcluster for automatic node discovery with DNS.

22 Likes