# 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.

## Flags

| Flag | Type | What it does | Default |
|---|---|---|---|
| `--region` | string | region id, e.g. eu-hel1 (default: any) |  |
| `--sleep-after` | duration | sleep after this long idle, e.g. 15m; 0 never (default: the organization's setting) | `0s` |
| `--template` | string | template 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)
```

---
Source: https://docs.kosa8.com/reference/cloud-sandbox-create/
