Runhouse provides CLI commands for logging in/out, and for basic interaction with the cluster.
The commands can be run like follows (using either runhouse or the rh alias):
$ runhouse login $ runhouse cluster ssh cluster_name
Terminate cluster if it is not down. No-op if cluster is already down. This only applies to on-demand clusters, and has no effect on self-managed clusters.
Example
$ runhouse cluster down rh-basic-cpu
Keep the cluster warm for given number of minutes after inactivity.
Example
$ runhouse cluster keep-warm rh-basic-cpu
Load Runhouse clusters
Examples
$ runhouse cluster list
$ runhouse cluster list --all
$ runhouse cluster list --status running
$ runhouse cluster list --since 15m
Load the logs of the Runhouse server running on a cluster.
Examples
$ runhouse cluster logs rh-basic-cpu
$ runhouse cluster logs rh-basic-cpu --since 60
SSH into a remote cluster.
Example
$ runhouse cluster ssh rh-basic-cpu
Load the status of the cluster.
Example
$ runhouse cluster status rh-basic-cpu
Bring up the cluster if it is not up. No-op if cluster is already up. This only applies to on-demand clusters, and has no effect on self-managed clusters.
Note: To launch the cluster via Den, set launcher: den in your local ~/.rh/config.yaml.
Example
$ runhouse cluster up rh-basic-cpu
Login to Runhouse. Validates token provided, with options to upload or download stored secrets or config between local environment and Runhouse / Vault.
Logout of Runhouse. Provides options to delete locally configured secrets and local Runhouse configs
Restart the HTTP server on the cluster.
Start the HTTP server on the cluster.
Check the HTTP server status on the cluster.
Stop the HTTP server on the cluster.