Before you start, ensure that you have API Key with
Instances -> Read and write permissionChecking GPU Availability
First, check available GPU configurations:Creating an Instance
Create a new instance interactively:Available Options
string
Short ID from availability list
string
Cloud ID from provider
string
GPU model (e.g., H100_80GB, A100)
integer
Number of GPUs required
string
Instance name (alphanumeric and dashes only)
integer
Storage size in GB
integer
Number of virtual CPUs
integer
RAM in GB
string
Operating system image
string
Team identifier for the instance
string
Environment Variable in form
KEY=value - this can be used multiple timesstring
Attach existing disk IDs to the instance. Can be specified multiple times for multiple disks.
- Example:
--disks disk-id-1 --disks disk-id-2
Share the instance with all team members. Requires a team to be set via
--team-id or prime config set-team-id. Team members’ SSH keys will be added to the instance.boolean
Interactively select specific team members to share the instance with. Displays a numbered list of team members and prompts for selection. Enter comma-separated numbers or
all for everyone.Interactive Creation Process
If options are not provided, the CLI will guide you through:- GPU Selection
- Configuration Options
- Resource Allocation
- Image Selection
- Team Assignment
The CLI will show default values and valid ranges for resources like disk size, vCPUs, and memory based on the selected GPU configuration.
Attaching Persistent Disks
To attach existing persistent disks to your instance:- Accessing shared datasets across multiple instances
- Persisting model checkpoints and training artifacts
- Resuming training from previous sessions
Sharing with Team Members
When working in a team, you can share instances so that other members’ SSH keys are added to the instance, giving them direct access.Share with all team members
Interactively select members
1,3,5) or type all to share with everyone.
Auto-share by default
To always share new instances with your team without passing a flag each time:Sharing flags require a team to be configured. Set one with
prime config set-team-id or pass --team-id when creating the instance.Managing Your Instance
Monitor instance status:You’ll be prompted to confirm before termination.