Skip to main content

VS Code

Editor extension

CLI

Command line

Console

Web interface

Modify an Instance

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

Available Options

OptionDescription
--gpuGPU type. Options depend on mode
--num-gpusNumber of GPUs. Options depend on mode and GPU type
--vcpusNumber of virtual CPUs (development mode; options vary by GPU type and count)
--diskDisk size in GB (can only be increased)
--modeSwitch between development and production

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

# Switch to production mode
tnr modify 0 --mode production
Disk size can only be increased, not decreased.

What Can Be Modified

ResourceCan Modify?Notes
GPU TypeYes
GPU CountYes
vCPUsYesDevelopment mode only
RAMYesScales with vCPUs (development) or GPUs (production)
ModeYesSwitch between development and production
DiskIncrease onlyCannot shrink disk
RAM is automatically determined based on your configuration. See the pricing page for details.