Command line
Modifying Instances
Reconfigure compute instances using the CLI. Swap GPUs, add vCPUs and RAM, or increase storage space for your compute resources.
View MarkdownModify an Instance
Use the modify command with the instance ID and new configuration:tnr modify <instance_id> [options]
Available Options
| Option | Description |
|---|---|
--gpu | GPU type |
--num-gpus | Number of GPUs: 1, 2, 4, or 8 when available |
--vcpus | Number of virtual CPUs; options vary by GPU type and count |
--disk | Disk size in GB (can only be increased) |
Examples
# Switch to a different GPU
tnr modify 0 --gpu a100
# Scale up CPUs
tnr modify 0 --vcpus 16
# Increase disk size
tnr modify 0 --disk 300
# Move to 4 GPUs
tnr modify 0 --num-gpus 4
Disk size can only be increased, not decreased.
What Can Be Modified
| Resource | Can Modify? | Notes |
|---|---|---|
| GPU Type | Yes | |
| GPU Count | Yes | |
| vCPUs | Yes | Options vary by GPU configuration |
| RAM | Yes | Automatically determined from the selected CPU/GPU configuration |
| Disk | Increase only | Cannot shrink disk |
RAM is automatically determined based on your configuration. See the pricing page for details.