Giter Club home page Giter Club logo

elixir-distribution-ssl-example's Introduction

Example of using TLS for Erlang Distribution with an Elixir Release

Usage

Generate the release:

git clone [email protected]:ConnorRigby/elixir-distribution-ssl-example.git
cd elixir-distribution-ssl-example
mix release

Next, open two terminals in the same directory, in one do:

env [email protected] RELEASE_DISTRIBUTION=name _build/dev/rel/example/bin/example start_iex

in the second do:

env [email protected] RELEASE_DISTRIBUTION=name _build/dev/rel/example/bin/example start_iex

And finally back in the first one connect to the second:

Node.connect(:"[email protected]")

Now these nodes are distributed via SSL.

Bugs

When using TLS in this way, a lot of the helper script generated by Elixir will not work correctly, namely the remote function and anything that works using the same mechanism. There is an open issue here

elixir-distribution-ssl-example's People

Contributors

connorrigby avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

elixir-distribution-ssl-example's Issues

TLS distribution using Nerves devices

The example in README.md shows a demonstration of the connection between two IEx nodes. Is it possible
in the same manner as the example if the nodes are on Nerves devices?

[Nerves Device]    <-------->    [IEx Node]
                       TLS

or

[Nerves Device]    <-------->    [Nerves Device]
                       TLS

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.