Skip to main content

Create an Instance

Interactive Mode

Run the create command to launch an interactive menu:
tnr create
This walks you through selecting your instance configuration step by step.

One-Line Creation

Specify all options in a single command:
tnr create --mode prototyping --gpu a6000 --vcpus 8 --template base --primary-disk 100 --ephemeral-disk 200

Configuration Options

FlagDescription
--modeprototyping or production
--gpuGPU type. Available options depend on mode
--num-gpusNumber of GPUs. Options depend on mode and GPU type
--vcpusCPU cores (prototyping only). Options vary by GPU type and count
--templatebase, comfy-ui, ollama, or a snapshot name
--primary-diskPrimary disk storage in GB. Range varies by mode
--ephemeral-diskFast temporary storage in GB, mounted at /ephemeral (0 to disable, default: 0). See Ephemeral Storage

Mode Selection

Choose between optimized development pricing or full compatibility:
  • Prototyping (default): Lower cost with CUDA-level optimizations. Best for development.
  • Production: Standard VM with full compatibility. Best for long-running jobs and production workloads.
See Prototyping vs Production for details on each mode.

GPU, CPU, and RAM

Available GPU types, GPU counts, vCPU options, and RAM configurations vary by mode. Use tnr create to see current options interactively, or check the pricing page for details.

Templates

Templates pre-configure your instance for common AI workflows:
TemplateDescription
baseUbuntu with PyTorch + CUDA
ollamaOllama server environment
comfy-uiComfyUI for AI image generation
After connecting to an instance with a template, start the server with:
start-ollama      # or start-comfy-ui, etc.
See Using Instance Templates for more details.

Restore from Snapshot

Your snapshots appear alongside templates in the selection menu. Select a snapshot to create an instance with your previously saved state.
tnr create
# Select your snapshot in the "Templates" step