Distribution Security & Cookies
Secure communication between distributed Erlang nodes using magic cookies, node naming, and TLS distribution.
Trust in a Cluster
Connected Erlang nodes fully trust each other: any node can run code on any other. That power makes securing distribution essential.
The Magic Cookie
Each node has a secret cookie. Two nodes can only connect if their cookies match. It is the basic authentication mechanism for clustering.
erlang:get_cookie().
% => 'SECRETCOOKIE'All lessons in this course
- Node Communication & Setup
- Remote Procedure Calls (RPC)
- Global Process Registration
- Distribution Security & Cookies