ice-tool-0.1.1 is not a library.
ice
Minimal CLI for creating and managing cloud VM instances across vast.ai, gcp, and aws.
Install
Installed command: ice
Quick start
Clouds
Supported cloud identifiers:
vast.aigcpaws
Commands
ice login [--cloud CLOUD] [--force]ice config listice config get <KEY>ice config set <KEY=VALUE>ice list [--cloud CLOUD]ice shell|sh [--cloud CLOUD] <INSTANCE>ice dl [--cloud CLOUD] <INSTANCE> <REMOTE_PATH> [LOCAL_PATH]ice stop [--cloud CLOUD] <INSTANCE>ice start [--cloud CLOUD] <INSTANCE>ice delete [--cloud CLOUD] <INSTANCE>ice create [--cloud CLOUD] [--machine MACHINE] [--custom] [--dry-run] <HOURS>
<INSTANCE> accepts an instance ID or label.
Config
Config file: ~/.ice/config.toml
Use:
ice config listto view supported keys and current valuesice config get <KEY>to read one keyice config set <KEY=VALUE>to write one key
Auth values are redacted in config output.
Config keys
default.cloud:vast.ai|gcp|awsdefault.vast_ai.min_cpus|min_ram_gb|allowed_gpus|max_price_per_hrdefault.gcp.min_cpus|min_ram_gb|allowed_gpus|max_price_per_hrdefault.aws.min_cpus|min_ram_gb|allowed_gpus|max_price_per_hrdefault.setup.action:none|repo(empty unsets)default.setup.repo_url: git clone URL (empty unsets)default.gcp.region|zone|image_family|image_project|boot_disk_gbdefault.aws.region|ami|key_name|ssh_key_path|ssh_user|security_group_id|subnet_id|root_disk_gbauth.vast_ai.api_keyauth.gcp.project|service_account_jsonauth.aws.access_key_id|secret_access_key
Compatibility aliases also work for Vast defaults:
default.min_cpusdefault.min_ram_gbdefault.allowed_gpusdefault.max_price_per_hrdefault.max_price
create behavior
HOURSis a float (for example0.1).- Finds the cheapest matching machine for the selected cloud.
- Uses configured defaults, or prompts for missing/default overrides.
--customalways prompts for search filters.--machineforces a cloud-specific machine type.--dry-runruns selection/reporting and exits before any create/accept step.- If a max price cap is set and cheapest result exceeds it, create fails with pricing details.
- For
vast.ai, auto-stop is scheduled at the earliest hourly boundary that still satisfies requested runtime. - For
gcp/aws, search runs across built-in catalogs; region/zone only pin when explicitly configured.
Notes
--cloudcan be omitted whendefault.cloudis configured.- Long-running operations use progress spinners.
- External commands used by some flows:
ssh,rsync,git,gcloud,aws.