
Create an environment
Select New environment.
A change to an environment applies to sandboxes created after it. A sandbox that already exists keeps the limits and network policy it was created with; when the image or the setup script changed, it is marked Old setup in the list of sandboxes until it is deleted and created again.
Network policy
Under every policy, internal hosts and private addresses stay out of reach unless the environment lists them under Internal networks. See Network and security.
Ask before a run
The question appears in the chat with the code that would run, and Allow and Deny. A run nobody answers within four minutes does not happen. Deleting a sandbox always asks first, whatever this is set to.
Scripts
Use the setup script for what every sandbox needs, such as
pip install -r /data/requirements.txt. Each script’s output is in the sandbox’s timeline.
If the setup or start script fails three times in a row, BOW refuses new sandboxes from that environment and shows the last error on its row. Change a script or the image and save, and it is tried again.
Volumes
Select Mount a volume to mount a compute’s volume in every sandbox of the environment. For each mount you choose the Volume, the Path in the sandbox, and:- Read-only: code can read the volume but not change it.
- Who sees what is written: Each report gets its own folder, so a sandbox sees only what its own report wrote, or Shared by every sandbox.
Who may use it
Under Who may use it, pick the roles, groups and people who can run code in the environment. A person needs both the Use Agent Sandbox permission and a grant on at least one enabled environment before an agent is offered a sandbox for them. Grant an environment that has internet access, internal networks or shared volumes only to the people who may reach those systems and see that data.Which environment a report gets
A report’s sandbox is created from, in order:- The environment the agent chose for the run, if the person may use it.
- The Default environment set under Settings → Sandbox → Settings.
- The environment marked Default environment.
- The only environment the person may use, when there is exactly one.
