Create a runtime
Create starts a runtime. Pause keeps it and frees CPU and memory. Resume brings the same runtime back.kill() or the timeout terminates it. A snapshot saves a copy and does not change this runtime.
One call creates a runtime from the base-small template in AWS us-east-1. Run something, then terminate it.
What you can run
Leave the defaults
GravixLayer() uses AWS us-east-1. create() uses base-small unless you pass another template or a snapshot. Regions are on Multi-Cloud Support. Sizes are on Templates.
A new runtime cannot reach the public internet until you allow an outbound host. To pass an API key into a run, store a credential and attach it when you create the runtime. Anything attached that way is readable by code inside the sandbox. See Security best practices.
Next
Create a runtime
Choose a template, a timeout, and what to attach
Run code
Python and JavaScript, and how to keep variables
Run a command
A shell command and its output
Read a file
Read, write, and list files in the runtime
Open a browser
Click, type, and fill on a real page
Use the desktop
See the screen and control it