Skip to main content

Install

Set your API key (how to get one):
GravixLayer() defaults to cloud=aws, region=us-east-1. create() defaults to template=base-small.

Create your first sandbox

Run a command

Write and read files

Use secrets

Create secrets under an Identity provider, attach them to the sandbox, and read them as environment variables in run_code / run_cmd.
Full attach/detach details: Identity Providers.

Limit outbound network

By default a new sandbox cannot reach the public internet. Attach a network policy (for example an allowlist) to open only the destinations you need.
Full modes and rule CRUD: Network Policies.

What’s next

Identity Providers

Create secrets under Identity providers; attach and detach

Web Services

HTTPS URLs for HTTP apps in the sandbox

Network Policies

Allowlist and control sandbox egress

Runtime overview

How the sandbox works

Create Runtime

All create parameters

Access Runtime

SSH or web terminal