Eigen RadarAI
Analysis

Remote Ray clusters now require authentication by default

Ray, software that coordinates work across multiple computers, now turns on token authentication by default for remote and multi-node clusters. The change covers the dashboard, remote job clients and monitoring software. Previously the default applied only to local clusters. The latest release also changes how quickly a connection is rejected when it presents the wrong token.

Artificial Intelligence··Morning
A software engineer enters an access token on her laptop to connect to a remote computing cluster.AI image

The default expands beyond local setups

Ray, software for distributing computing jobs across machines, enabled authentication by default for remote and multi-node clusters in its December 5 release. The project had added token authentication in an earlier version and made it the default on local installations in a subsequent one. The new setting extends the requirement to machines that connect from outside the cluster.[1]

Monitoring software must also authenticate

Requiring authentication changes more than who can open the web dashboard. The December release also applies the setting to applications that send work to the cluster remotely and tools that gather measurements. It includes Prometheus, a system used to collect monitoring data. The machines running a cluster and the tools that connect to it use the same token. Operators upgrading an existing cluster need to configure both kinds of external connections.[1]

A connection with the wrong token fails faster

The release changes how long a client waits when it supplies the wrong token. Previously the client retried for about 20 to 30 seconds. Ray now rejects the connection immediately. A new local cluster can generate a token when it starts. If the machine that coordinates the cluster is started separately, its operator needs to have a token ready.[1]

References

  1. News sourceRayRay turns on authentication by default for remote clusters↩1↩2↩3