Skip to main content
Gravix Layer Agent Runtime gives each runtime its own sandbox with dedicated CPU, memory and disk, for running code, shell commands, a browser or a desktop. It is called over HTTPS. The following table shows what CostGraph runs on this provider.

Connect

Connect GravixLayer on Integrations, and CostGraph starts sandboxes in your GravixLayer account. You don’t run anything yourself.
  1. In CostGraph, go to Integrations > Sandbox > GravixLayer.
  2. Enter these fields:
    • API key (GRAVIXLAYER_API_KEY, required): A Gravix Layer API key from the Gravix Layer console.
  3. Click Connect.
Sandbox size comes from the template set as providerTemplate.

Your own dispatcher

To keep the key out of CostGraph or reach a private network, run your own dispatcher instead. Set provider to gravixlayer and the preceding fields as environment variables, as described in Run your own dispatcher.

Key and permissions

GRAVIXLAYER_API_KEY is a Gravix Layer API key. Create it in the console at app.gravixlayer.ai; it is shown once. It is sent as a Bearer token. The provider doesn’t document key scopes or roles, so a key has full access to the account. Sources: docs.gravixlayer.ai: sdk usage, docs.gravixlayer.ai: runtime overview, docs.gravixlayer.ai: templates, docs.gravixlayer.ai: overview, docs.gravixlayer.ai: update timeout.

Limits

  • The runtime terminates when it reaches its timeout, which is set in seconds and can be extended. The SDK example uses 300 s. No maximum is documented. (source)
  • Pause frees CPU and memory and keeps the runtime. Automatic idle pause is not documented. (source)
  • Template sizes: base-small 1 vCPU/1 GB/4 GB disk, base-medium 2/2 GB/6 GB, base-large 4/4 GB/8 GB. No larger maximum is stated. (source)
  • Regions: AWS us-east-1 (default) and AWS ap-south-1. The docs do not state the CPU architecture. (source)