# Ailoy

Run a virtx server for Ailoy's sandboxes and give Sandcovery its URL, token, and project.

Ailoy's sandboxes are [virtx](https://github.com/brekkylab/virtx) microVMs, and Sandcovery runs them on a virtx server you host. Run `virtx-server-tcp` from a [virtx release](https://github.com/brekkylab/virtx/releases) on a Linux host with KVM or an Apple silicon Mac, make a token with `virtx-server-tcp token`, and name its user as a member of a project in the server's `server.json`. Put the server behind HTTPS, since Sandcovery reaches it from the Internet.

- **virtx server URL**: the server's https address, such as `https://virtx.example.com/`. Sandcovery sends requests only to this URL.
- **Token**: the token `virtx-server-tcp token` printed, whose `token_sha256` the server's `server.json` lists for its user.
- **Project**: a project that user is a member of. Sandcovery's sandboxes and snapshots live there.

Each sandbox stands on a snapshot named `sandcovery-` and its Sandcovery ID, which Sandcovery deletes with the sandbox. A sandbox starts from `ubuntu:24.04` unless you name an image, and the server pulls an image it lacks on first use.
