> ## Documentation Index
> Fetch the complete documentation index at: https://tesser.sh/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Run boxes on your own machine

> Connect a Linux machine of your own to your Tesser org and start boxes on it with the same exec, dev and fork commands you use in the cloud

By default, boxes run on Tesser's cloud. On the Pro, Max and Ultra plans,
you can also run them on a Linux machine of your own, such as a workstation
or a server in your office. Tesser calls that machine a device.

A box on a device works like any other box: `tesser exec`, `dev`, `fork`,
sleep, and wake all behave the same. Tesser bills it at the same rate as a
box in your own AWS account, and only while it is awake.

## Connect a machine

The machine needs to be a Linux x86-64 machine with KVM and systemd.
[Devices](https://tesser.sh/docs/reference/boxes.md#devices) lists the full requirements.

On the machine, log in to your org and run:

```sh theme={"theme":"css-variables"}
tesser device connect
```

It asks for your sudo password once, installs Tesser's host as a systemd
service, and sets disk space aside for the boxes. The first connect takes a
few minutes while it downloads the box image.

## Start boxes on it

From your laptop, pass `--on` with the device's name to `make`, `exec`, or
`dev`:

```sh theme={"theme":"css-variables"}
tesser device ls                   # the org's devices and what is free on each
tesser make --on workstation       # a workbench on the device
tesser dev web --on workstation    # web's dev server on the device
```

To send every new box from this laptop to the device, run
`tesser device use workstation`. `--on cloud` starts one box on Tesser's
cloud instead, and `tesser device use --cloud` switches the default back.

A device runs only the boxes of the member who connected it. When your
laptop cannot reach the machine directly, `tesser` goes through Tesser's
relay, so the device does not need a public address.

## Remove it

On the machine, run `tesser device disconnect`. It removes the device from
the org and takes Tesser's host and the boxes' disk off the machine.

[Devices](https://tesser.sh/docs/reference/boxes.md#devices) has the exact rules: requirements,
billing, which boxes a device's boxes can reach, and what happens when its
owner leaves the org.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.