# Rent a cluster

Source: https://bflops.com/docs/clusters

Several 8-GPU machines on one fast network, started together for training that needs more than one machine.



A cluster is two or more machines of 8 GPUs each, linked by InfiniBand or RoCE. You rent them together: they start together, are billed together, and stop together.

## Who can rent one [#who-can-rent-one]

Clusters open to your account 7 days after your first top-up, once you have spent $50 on machines. [Clusters](/clusters) shows where you stand under **Your access to clusters**.

## Start one [#start-one]

1. Open [Clusters](/clusters) and pick one. Each shows its nodes, GPUs, interconnect and price per GPU-hour.
2. Select **Rent cluster**.
3. Paste your SSH public key and select **Start cluster**.

Every node is made and checked. If any node fails to start, none starts and nothing is billed.

## Reach the nodes [#reach-the-nodes]

Each node has its own SSH command, and a private address the other nodes reach it on. Both are on the rental page under **Reach it**, one node after another.

Use the private addresses for your job's own traffic. For PyTorch on 2 nodes, run this on each node. Give `--node_rank` 0 on the first node listed and 1 on the second:

```bash title="On each node"
torchrun --nnodes 2 --nproc_per_node 8 --node_rank 0 \
  --master_addr 10.0.0.1 --master_port 29500 train.py
```

Put the first node's private address after `--master_addr`.

## Billing and stopping [#billing-and-stopping]

* Billing starts when the whole cluster is handed to you, by the second, for every GPU.
* If a node stops on its own, the rest keep running and the rental's events say so.
* **Stop cluster** deletes every node and ends billing at once.
* /data does not mount on clusters. Copy results off before you stop.

## Next [#next]

[Stop a machine](/docs/stop)
