bentanweihao

bentanweihao

Author of The Little Elixir and OTP Guidebook

How to Set up a Distributed Elixir Cluster on Amazon EC2

I wrote a thing: http://engineering.pivotal.io/post/how-to-set-up-an-elixir-cluster-on-amazon-ec2/

Hope this is helpful!

First 10 of 12 Posts! Switch mode

dardub

dardub

Thank you for writing things!

nrrso

nrrso

Ok, i just registered here while learning elixir and was curious to know how shall I distribute my tiny little services as nodes in a cluster over N networks and voilà there’s a topic with a fine article. This elixir community is awesome and btw bought your book :wink:

bentanweihao

bentanweihao

Author of The Little Elixir and OTP Guidebook

Best. Comment. Ever. <3

bentanweihao

bentanweihao

Author of The Little Elixir and OTP Guidebook

<3! Thanks!

Oxyrus

Oxyrus

Shared your post on the Spanish group of Elixir, they loved it!

Cheers.

bentanweihao

bentanweihao

Author of The Little Elixir and OTP Guidebook

This makes me very happy. :wink:

madshargreave

madshargreave

Awesome! Thank you so much for putting time into this.

Would love to see how to go about this in an auto-scaling environment (in which the nodes dynamically created and removed, and thus, the hosts are not known at deployment)

sabondano

sabondano

Yes, details on how @bentanweihao would recommend to go about in an auto scaling environment would be awesome!

minhajuddin

minhajuddin

Thanks for writing this up :slight_smile:

A few questions

  1. How secure is the communication between nodes? Does it happen in clear text?
  2. I see that you can execute code on other nodes, are there any particular instances in a phoenix app where this could be useful? The way it is setup in your post HAProxy would distribute the load regardless of the phoenix apps being in a cluster. Do you see any scenarios where cross node communication may be useful?
andre1sk

andre1sk

  1. I think you will want to encrypt the connection

Last Post!

idi527

idi527

One way is to use a VPN.

Where Next?

Trending in Guides/Tuts Top

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge &amp; Solve. They are GUI (Emerge) and State management (S...
New
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
type1fool
I just stumbled on a newly redesigned elixir-lang.org. :tada: It looks like @Software_Mansion did the work, and I think it is generally a...
New
akoutmos
@hugobarauna and I (Alex Koutmos) have been hard at work on writing a book on Nerves that takes you from simply blinking LEDs to building...
New

We're in Beta

About us Mission Statement