kosa8 docs

Commands / kosa8 cloud sandbox create

kosa8 cloud sandbox create

Make a cloud sandbox and print its ID and dashboard link

Starts a sandbox on kosa8 Cloud from a template (the organization's default, else base). --sleep-after puts it to sleep after that long idle, which frees its memory and stops the hourly charge; 0 means never. Left out, the organization's setting applies.

Options

FlagTypeWhat it doesDefault
--regionstringregion id, e.g. eu-hel1 (default: any)—
--sleep-afterdurationsleep after this long idle, e.g. 15m; 0 never (default: the organization's setting)0s
--templatestringtemplate key, e.g. base (default: the organization's default)—

Example

  kosa8 cloud sandbox create
  kosa8 cloud sandbox create --template python --region eu-hel1 --sleep-after 15m
  id=$(kosa8 cloud sandbox create --json | jq -r .sandbox.id)