Machine Roles
When you add a machine, you choose the role it takes. The role determines what runs on it and cannot be changed afterward.Recommended: Dedicated Sandbox Machines
For production, run sandboxes on dedicatedsandbox machines.
Sandboxes are the most variable workload in a deployment. When sandboxes share a machine with the OpenHands application, a burst of conversations competes for the same CPU and memory the application needs to serve requests. Separating them means sandbox demand cannot degrade or take down the application.
Dedicated sandbox machines also give you a dial for conversation capacity.
Before You Begin
Add a Machine
1
Start the process
In the Admin Console, select
Cluster Management, then Add node.2
Choose the role
Select
app or sandbox. The role cannot be changed after the machine is added.3
Run the commands on the new machine
The Admin Console displays download, extraction, and join commands for the role you selected. Connect to the new machine and run them in order.
4
Confirm it joined
Return to
Cluster Management and wait for the new machine’s status to become Ready.You can select both
app and sandbox, but this is not recommended. A machine with both roles runs the application and sandboxes together, which gives up the separation you are adding the machine for. When adding a sandbox machine, make sure app is unchecked.Add Sandbox Capacity
Add one or more machines with thesandbox role, then confine sandboxes to them.
1
Add a sandbox machine
Follow Add a Machine and select the
sandbox role. Wait for its status to become Ready.2
Turn on dedicated sandboxes
Open
Config, find Sandbox Configuration, and enable Run sandboxes on dedicated nodes. Save and deploy the change.You can enable
Run sandboxes on dedicated nodes before adding a sandbox machine, but new conversations cannot start until one is Ready. A configuration check warns you if the setting is enabled while no sandbox machine exists.sandbox machine.
Add Application Capacity
Add machines with theapp role to increase capacity for the OpenHands application itself.

