Rerun Hub 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 Hub
Most catalog examples in these docs start the open-source server with rerun server or rr.server.Server, so that you can run them on a laptop.
Rerun Hub serves the same catalog API, so to run an example against Hub, change two things:
- Connect to your Hub instead of starting a server.
- Register recordings from object storage, such as
s3://, instead of from local paths.
Hub reads recordings directly from your bucket, so the bucket must be set up for it (see Bucket configuration).
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 Hub, 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 Hub
Log in once with the CLI. The credentials are stored on your machine, and the SDK and the Viewer use them automatically:
rerun auth loginFor 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 catalog server, either Rerun Hub or rerun server.
To browse your catalog in the native Viewer, run:
rerun rerun://api..cloud.rerun.io The Web Viewer for your Hub runs at https://<stack>.cloud.rerun.io.
Compared to the open-source server
| Open-source server | Rerun Hub | |
|---|---|---|
| Catalog storage | In memory, lost on restart | Persistent |
| Registration | Local file:// paths only | Object storage, such as s3:// |
| Authentication | None | Login or token (see rerun auth) |
| Deployment | One process that you run yourself | Managed service |
See The open-source catalog server for the details of the local server.