Connect
Connect Microsandbox on Integrations, and CostGraph starts sandboxes in your Microsandbox account. You don’t run anything yourself.- In CostGraph, go to Integrations > Sandbox > Microsandbox.
-
Enter these fields:
- API key (
MSB_API_KEY, required): A Microsandbox organization API key from the Microsandbox dashboard. - API URL (
MSB_API_URL, optional): A different Microsandbox API address, if you do not use the default.
- API key (
- Click Connect.
Your own dispatcher
To keep the key out of CostGraph or reach a private network, run your own dispatcher instead. Setprovider to microsandbox and the preceding fields as environment variables, as described in Run your own dispatcher.
To see what Microsandbox costs, connect the Microsandbox integration.
Key and permissions
MSB_API_KEY is an organization API key (msb_…). Create it in the dashboard at dashboard.microsandbox.dev/access/api-keys. Cloud access is in private beta and must be requested first. keys are not scoped: an API key acts on its whole organization, which is taken from the key. The API reference documents no per-operation scopes, only org-level key versus user personal token (msb_pat_). Source: https://docs.microsandbox.dev/api-reference/overview.md Sources: docs.microsandbox.dev: overview, docs.microsandbox.dev: overview, docs.microsandbox.dev: get quota usage, docs.microsandbox.dev: lifecycle.Limits
- microsandbox cloud is in private beta and needs a request for access. (source)
- Per-sandbox maximum memory and disk, concurrent running sandboxes and total sandboxes come from the billing plan and org overrides, readable from the quota endpoint. The docs publish no fixed numbers or maximum lifetime. (source)
- Lifecycle (start, stop, delete) is documented. No auto-stop or idle limit for cloud sandboxes and no region list were found. (source)