Modify an Instance
Use the modify command with the instance ID and new configuration:Available Options
| Option | Description |
|---|---|
--gpu | GPU type. Options depend on mode |
--num-gpus | Number of GPUs. Options depend on mode and GPU type |
--vcpus | Number of virtual CPUs (prototyping mode; options vary by GPU type and count) |
--primary-disk | Primary disk size in GB (can only be increased) |
--ephemeral-disk | Ephemeral storage in GB, mounted at /ephemeral (0 to disable). See Ephemeral Storage |
--mode | Switch between prototyping and production |
Examples
Disk size can only be increased, not decreased.
What Can Be Modified
| Resource | Can Modify? | Notes |
|---|---|---|
| GPU Type | Yes | |
| GPU Count | Yes | |
| vCPUs | Yes | Prototyping mode only |
| RAM | Yes | Scales with vCPUs (prototyping) or GPUs (production) |
| Mode | Yes | Switch between prototyping and production |
| Primary Disk | Increase only | Cannot shrink disk |
| Ephemeral Storage | Yes | Data is lost when modified. See Ephemeral Storage |
RAM is automatically determined based on your configuration. See the pricing page for details.