Ignitify.dev
Choose a VM size and disk
Guides

Choose a VM size and disk

A preset sets the vCPU, memory and default scratch disk of the VM. You choose it with run.preset and can ask for a bigger disk with storage_mib.

1 · Pick a preset

Set run.preset in task.yaml and deploy again: a run uses the deployed value. The sizes are in Presets and limits.

task.yaml
run:
  preset: std.xlarge

2 · Check what your plan allows

whoami shows the presets and the scratch limit of your plan.

terminal
$ ignitify whoami | grep -E 'allowed_presets|scratch_ceiling'scratch_ceiling          512 MiBallowed_presets             std.micro, std.small

3 · On a plan with units, check the weight

On a plan with a units limit, a bigger preset uses more units while it runs. whoami shows the weight of each preset that your plan allows. See How capacity works.

4 · Ask for more disk

execution.storage_mib is a floor: use more than the preset default, up to your plan's limit.

task.yaml
execution:
  storage_mib: <MiB>   # more than the preset default, at most your plan's limit

5 · A value below the default is raised

With storage_mib: 1, the run gets the preset default, and the CLI prints a storage-clamped note.

terminal
$ ignitify task:run my-task✓ Run Submittedrun_id       019fdec2-1b6c-7d90-a3f4-5c8e2b7d9e10resource_id  run_Hx7LpA2nRc4Vstatus       PENDINGNote: storage_mib 1 is below the std.xlarge default (1024 MiB). The run uses 1024 MiB.

6 · A value above your plan's limit is refused

task:deploy refuses it. Nothing is capped for you. If your plan lowers its limit after the deploy, a run of that deployment is refused with 409 deployment-not-bootable: fix task.yaml and deploy again.

terminal
$ ignitify task:deploy my-taskError: execution.storage_mib=<n> exceeds the scratch limit (<n> MiB) [bad-request]