Skip to main content

CloudRift Datacenter Service

CloudRift Datacenter Service is a system service that connects to the CloudRift platform allowing you to manage and lease your datacenter computational resources. Together with CloudRift CLI, Rest API, and other developer tools, it provides a comprehensive solution for managing your datacenter.

Sign Up & Activate the Account

To start using CloudRift please sign-up at cloudrift.ai.

Configuring Rentable Machines

1. Install Docker engine

Up-to-date instructions can be found on Docker Website.

2. Install NVidia Container Toolkit (if you have NVidia GPUs)

Up-to-date instructions can be found on NVidia Website.

3. Install system dependencies

Install additional packages required by the service.

sudo apt update
sudo apt install qemu-kvm libvirt-daemon-system genisoimage whois

4. Configure Libvirt

Rift system service is being run using root user, thus need set up libvirt to run under root as well. Edit /etc/libvirt/qemu.conf and modify the user and group settings

user = "root"
group = "root"

Then restart the libvirtd service:

sudo systemctl restart libvirtd

5. Install CloudRift system service

Any Linux distribution is supported, but we typically test on Ubuntu 22.04.

curl -L https://cloudrift.ai/install-rift-service.sh | sudo sh

6. Install CloudRift CLI (Optional)

Install CloudRift CLI to configure the system service.

curl -L https://cloudrift.com/install-rift.sh | sh

7. Configure credentials

Configure credentials using rift command line tool by running

sudo rift configure

Note that we're running rift system service as root, so we need to configure it as root.

You can also edit the config manually, it is located in /root/.config/cloudrift/credentials.yml

6. Restart system service and check status

Restart CloudRift system service and check status of the service and Docker Engine.

sudo systemctl restart rift
sudo systemctl status rift
sudo systemctl status docker

Testing CloudRift Setup

1. Install CloudRift CLI

Install CloudRift CLI on your local machine. Installation instructions vary depending on your OS.

Loading...

2. Configure credentials

Configure your credentials using rift command line tool by running:

rift configure

3. Inspect the cluster

Inspect the cluster. You should see all machines that you've installed CloudRift service on:

rift cluster info

4. Run your first job

Run your first job. For example, to run a simple echo command:

rift docker run --rm alpine echo "Hello CloudRift"

Next Steps

For more information on how to use CloudRift platform to lease your computational resources please send a request to dc@cloudrift.ai. We support a variety of integrations, e.g. marketplace, white-label website, custom integration, and more.