문서

Server and network

The server CoRoid needs, the DNS names and certificate it serves, and what the server must be able to reach.

Prepare these before you install. The installer checks most of them and stops with a sentence when one is missing.

The server

  • Ubuntu 26.04, x86_64, a fresh server that runs nothing else. The installer adds a second, rootless Docker engine with gVisor for the agents' sandboxes, and it supports Ubuntu only.
  • Root access (sudo) for the operator.
  • Memory: about 10 GiB for CoRoid itself, and about 3 GiB more for each agent that works at the same time. These are estimates from what the services ask for, not yet measurements; this page changes when they are measured.
  • CPU: at least 4 cores. Agents build and test code, so give more cores when the license has more agent slots.
  • Disk: at least 100 GB. Images, the database, the repositories the agents work on, and the backups all live on the server unless you move the backups.
Agents at workMemory (estimate)Cores (suggested)
216 GiB4
424 GiB8
836 GiB16

Install the packages the installer uses:

sudo apt-get update
sudo apt-get install -y docker.io docker-compose-v2 jq gnupg curl

Docker Compose must be 2.24 or newer.

DNS names

CoRoid serves four names on the server's address. Pick them under a domain you control, for example:

NameServes
coroid.example.comThe portal, where people work
api.coroid.example.comThe API
admin.coroid.example.comThe admin console, for administrators
*.previews.coroid.example.comPreviews of the apps the agents build

Point all of them at the server, the previews name as a wildcard record. The installation file names them (see The installation file).

The certificate

The edge serves one certificate for all four names. It must cover the portal, API and admin names, and the wildcard previews name. Use your company's certificate authority or a public one.

Put the certificate chain and its private key on the server, readable by root only. The draft installation file expects:

/etc/coroid/edge/fullchain.pem
/etc/coroid/edge/privkey.pem

If your certificate authority is not a public one, list it under outbound.certificateAuthorities in the installation file, so that the services and the agents' sandboxes trust it.

The firewall

From your network to the server: allow 443 (HTTPS) and 80 (which only redirects to HTTPS), and SSH for the operator. Block every other port. The server also listens on a port for the sandboxes' egress proxy; it is for the server itself and must not be reachable from outside.

From the server: allow HTTPS to

  • releases.coroid.ai, for releases and the capacity report;
  • your model providers or your own model endpoint;
  • your git host;
  • the package registries your projects use (npm, PyPI, Maven and others), or your mirrors of them;
  • your identity provider, when you use one.

If the server reaches the internet through a proxy, give it in the installation file (outbound.proxy). Every service and sandbox then uses it.

Before you go on

  • The server runs Ubuntu 26.04 with the packages above.
  • The four names resolve to the server.
  • The certificate and key are in place, and cover all four names.
  • The server reaches https://releases.coroid.ai.

Next: The installation file.