CloudRift CLI
CloudRift CLI is a command line tool for managing cluster, running and inspecting jobs.
Installing CloudRift CLI
1. Install CloudRift CLI
Install CloudRift CLI application onto your machine:
- Windows
- Mac
- Linux
Loading...
curl -L https://cloudrift.ai/install-rift.sh | sh
curl -L https://cloudrift.ai/install-rift.sh | sh
2. Configure credentials
Configure credentials using CloudRift command line tool by running
rift configure
You can edit the config manually. Location depends on your operating system.
- Windows
- Mac
- Linux
%APPDATA%\Roaming\CloudRift\credentials.yml
~/Library/Application Support/rs.cloudrift/credentials.yml
~/.config/cloudrift/credentials.yml
Using CloudRift
1. Inspect the cluster
Once you've authenticated and launched the client it is time to inspect the cluster.
Use rift cluster info
command for this purpose. Ensure that you see details of all
the machines that you have rented or launched CloudRift desktop application on.
rift cluster info
2. Run your first job
To run the job on the cluster you can leverage rift docker run
command:
rift docker run alpine echo "Hello CloudRift"
If you need to see more details about program execution, pass -vv
flag.