---
sidebar_position: 2.2
tags: [migration]
description: "Recipes for moving an existing GPU job from another cloud to Lium: map the concepts, bring your image, move data and weights in, run a training or an inference job, get results out, read the bill and tear down."
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lium.io/llms.txt
> Use this file to discover all available pages before exploring further.
>
> Lium (lium.io) is a GPU rental marketplace: rent NVIDIA GPUs by the hour, billed per second.

# Coming from another GPU cloud

Run the job you already have on Lium. Every command here is the `lium` CLI. If you have not signed up yet, start with [Your first hour](./first-hour).

## What maps to what

| Elsewhere | On Lium |
|---|---|
| Instance, VM | **Pod**: a container on one node, with SSH. |
| Instance type | **Node**: one provider machine. `lium ls --gpu H100` lists them. |
| Spot instance | The `spot` tier (may be reclaimed). Each Spot node shows its provider's average Spot uptime. `secure` is dedicated. |
| Machine image | **Template**: a Docker image and its settings. See [Templates](./templates). |
| Persistent disk | **Volume**: mounted at `/mnt`, survives the pod. See [Volumes](./volumes). |
| Stopped instance | No Stop. Delete the pod to end billing. |
| Auto-shutdown | `lium up --ttl 6h`. See [Scheduled termination](./scheduled-termination). |
| API token | An [API key](./api-keys). |

A pod is charged per second, with no minimum, until you remove it. Charging begins once it turns **RUNNING**: on the node's default image (**Fast deploy**) from that moment, so setup is free; on any other image from the deploy request, starting time included. See [When a pod is charged](./billing#when-a-pod-is-charged).

## Steps

**1. Start a pod with your environment.**

Use the default template and install your requirements:

```bash
lium up --gpu H100 --name job --ttl 6h -y --no-ssh
lium rsync job ./requirements.txt /workspace/
lium exec job "pip install -r /workspace/requirements.txt"
```

Or use your own image:

```bash
lium up --gpu H100 --name job --image <registry>/<image>:<tag> --ttl 6h -y --no-ssh
```

**2. Move code and data in.**

```bash
lium rsync job ./data /workspace/data
```

`/workspace` is the fast local disk and is gone when the pod is removed. `/mnt` is your Volume and survives the pod.

Never copy cloud credentials files to a pod.

**3. Run the job.**

Run it detached, with a log file on the pod:

```bash
lium exec job -d --log /workspace/train.log "cd /workspace && python train.py"
lium exec job "tail -n 50 /workspace/train.log"
```

**4. Get results out.**

```bash
lium scp job /workspace/out/model.pt ./ -d
```

For large results, push from the pod to your own storage or Hugging Face.

**5. Check what it cost.**

```bash
lium billing history
```

See [Pod statements](./statements) and [Billing](./billing).

**6. Remove the pod.**

```bash
lium rm job -y
lium ps
```

Volumes outlive pods and are billed separately. Remove them with `lium volumes rm` when you are done.

## Next

- [Your first hour](./first-hour)
- [AI agents](/developers/agents)
- [Train a model on a pod](/developers/sdk/examples/training-workflow)
- [Clusters](./clusters)
