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 Markdown

Modify an Instance

Use the modify command with the instance ID and new configuration:
tnr modify <instance_id> [options]

Available Options

OptionDescription
--gpuGPU type
--num-gpusNumber of GPUs: 1, 2, 4, or 8 when available
--vcpusNumber of virtual CPUs; options vary by GPU type and count
--diskDisk 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

ResourceCan Modify?Notes
GPU TypeYes
GPU CountYes
vCPUsYesOptions vary by GPU configuration
RAMYesAutomatically determined from the selected CPU/GPU configuration
DiskIncrease onlyCannot shrink disk
RAM is automatically determined based on your configuration. See the pricing page for details.