Overview

Rerun DB is our commercial managed offering for production deployments: a persistent, multi-user catalog that indexes your recordings in place in your own object storage. Reach out to get access.

Run the examples on Rerun DB

Most catalog examples in these docs start Rerun DB Local with rerun server or rr.server.Server, so that you can run them on a laptop. Rerun DB serves the same catalog API, so to run an example against Rerun DB, change two things:

  1. Connect to your Rerun DB instead of starting a server.
  2. Register recordings from object storage, such as s3://, instead of from local paths.

Rerun DB reads recordings directly from your bucket, so the bucket must be set up for it (see Object stores).

import rerun as rr

# Instead of: server = rr.server.Server(datasets={"my_dataset": ["recording.rrd"]})
client = rr.catalog.CatalogClient("rerun://api.<stack>.cloud.rerun.io")

dataset = client.create_dataset("my_dataset")
dataset.register(["s3://bucket/recording.rrd"]).wait()

Replace <stack> with the name of your Rerun DB stack, as in https://<stack>.cloud.rerun.io. Everything after that, such as dataframe queries, the training dataloader, and segment URLs, works without changes.

Connect to Rerun DB

Log in once with the CLI. The credentials are stored on your machine, and the SDK and the Viewer use them automatically:

rerun auth login

For CI and other non-interactive environments, create a token with rerun auth generate-token:

rerun auth generate-token --server rerun://api..cloud.rerun.io --expiration "30 days"

Then set it in the REDAP_TOKEN environment variable, or pass it as CatalogClient(url, token=…).

The variable is named after redap (Rerun Data Protocol), the protocol that the SDK and the Viewer use to talk to a Rerun DB server, either hosted Rerun DB or Rerun DB Local (rerun server).

To browse your catalog in the native Viewer, run:

rerun rerun://api..cloud.rerun.io

The Web Viewer for your Rerun DB runs at https://<stack>.cloud.rerun.io.

Compared to Rerun DB Local

Rerun DB LocalRerun DB
Catalog storageIn memory, lost on restartPersistent
RegistrationLocal file:// paths onlyObject storage, such as s3://
AuthenticationNoneLogin or token (see rerun auth)
DeploymentOne process that you run yourselfManaged service

See Rerun DB Local for the details of the local server.