Security
What travels inside the cluster
Each call from the driver to a worker carries:
- the host's inventory data, including its credentials;
- the Nornir configuration;
- the task function and its arguments.
The results travel back the same way.
The cluster is a trusted boundary
The runner treats the Ray cluster as a trusted boundary: it adds no encryption and no authentication of its own to these calls. Every machine that can reach the cluster's ports can take part in it.
Run the cluster on a network that only trusted machines can reach. For the protections that Ray itself offers, read the security pages of the Ray documentation.
Workers run the code you send
Workers run the task functions that the driver names or sends. Anyone who can submit work to the cluster can run code on its nodes, with the access those nodes have to your devices. Give access to the cluster only to people and systems that are allowed to reach the devices.