Installation guide
One guide for every environment. Steps that differ by environment are marked Cloud, Private cloud, Air-gapped; everything unmarked applies to all of them. Read requirements first if the host is not yet provisioned, and send the customer the checklist a week before.
Not sure which path is yours? The install planner asks five questions (environment, provider, platform, method, size) and returns the reading order, the first commands and the machine to ask for.
The install is five commands once the host exists. Most of this document is the decisions around them, which is where installs actually go wrong: a proxy that buffers the live feed, a certificate the agents do not trust, a backup that lives on the disk it is meant to protect.
0. Before you start: what to have in hand
| Public cloud | Private cloud | Air-gapped | |
|---|---|---|---|
| Images | registry credentials from CoverOps, or a copy in your ACR/ECR | registry credentials + egress through the proxy, or a copy in your internal registry | the bundle file and its .sha256 |
| Host | VM per requirements, Docker 24+, Compose v2 | same | same, plus a way to copy ~1–2 GB in |
| Database | managed Postgres endpoint + credentials (recommended) or bundled | corporate Postgres or bundled | bundled, or a database already inside the enclave |
| Name | a DNS name (coverops.example.com) and optionally api.coverops.example.com | a record on the internal zone | a record on the enclave's DNS, or /etc/hosts on every agent host |
| Certificate | Let's Encrypt (auto) or your own | from the corporate CA, with its chain | from the enclave's CA |
| Identity | OIDC app registration at Entra ID / Okta / … | same, or AD FS / Keycloak | an IdP inside the enclave, or local accounts |
| Backups | a bucket (S3 / Azure Blob) and a key that can write to it | a share or internal object store | a second disk or an export procedure |
| People | one administrator email for the bootstrap account | same | same |
1. Get the install directory and the images
Cloud / Private cloud: the install kit comes from
https://downloads.testingops.ai/ (user name and password from the TestiniumX
team); the images are pulled from our Amazon ECR at install time, with a
read-only key pair from the same team:
curl -u <user> -fSLO https://downloads.testingops.ai/coverops-configs-2026.11.10.zip
curl -u <user> -fSLO https://downloads.testingops.ai/coverops-configs-2026.11.10.zip.sha256
shasum -a 256 -c coverops-configs-2026.11.10.zip.sha256
unzip coverops-configs-2026.11.10.zip && cd coverops
# install.sh logs in to ECR with COVEROPS_AWS_ACCESS_KEY_ID / _SECRET_ACCESS_KEY (it asks when
# they are empty); it needs the AWS CLI v2. Registry:
# 160313985872.dkr.ecr.eu-central-1.amazonaws.com/coverops/coverops-{api,web,migrate,backup}:<release>
To pull from your own registry instead (recommended for anything beyond an
evaluation: your registry, your scanning, your retention), copy the four
images first, then set COVEROPS_REGISTRY in coverops.env to your
registry's path:
ECR=160313985872.dkr.ecr.eu-central-1.amazonaws.com
aws ecr get-login-password --region eu-central-1 | docker login -u AWS --password-stdin $ECR
for i in api web migrate backup; do
crane copy $ECR/coverops/coverops-$i:2026.11.10 registry.example.com/coverops/coverops-$i:2026.11.10
done
# then: COVEROPS_REGISTRY=registry.example.com/coverops
docker pull / tag / push does the same where crane is not available; see
public cloud and private cloud. The
images are linux/amd64.
Air-gapped: verify and unpack the bundle on the target host; it carries the images, this directory and these documents:
shasum -a 256 -c coverops-bundle-0.2.0.tar.gz.sha256
tar -xzf coverops-bundle-0.2.0.tar.gz && cd coverops-bundle-2026.11.10
./import-bundle.sh # checks every file, docker load
cd onprem
See air-gapped for how the bundle is produced and what else an enclave needs.
2. Configure
cp coverops.env.example coverops.env # (import-bundle.sh did this already)
./generate-secrets.sh # fills the three secrets, chmod 600
$EDITOR coverops.env
Set at least:
| Key | What |
|---|---|
COVEROPS_VERSION | the version you were given / imported |
COVEROPS_REGISTRY | ours, or your own after the copy above |
COVEROPS_HOST | the hostname people will type, e.g. coverops.example.com |
BOOTSTRAP_EMAIL | the first administrator; the password is in BOOTSTRAP_PASSWORD and must be changed after first login |
DATABASE_URL | only when using an external Postgres (then start with --scale postgres=0) |
Then decide the three things that are environment-specific:
TLS. If you already run a reverse proxy (nginx, HAProxy, an application
gateway, a service mesh ingress), leave the TLS block alone and point the proxy
at WEB_PORT (dashboard) and API_PORT (agents). Two rules in
network-dns-tls: do not buffer the event stream, and both
ports must be reachable. If you do not, enable the built-in edge:
TLS_MODE=auto # Let's Encrypt: public DNS + inbound 80/443 (Cloud)
TLS_MODE=files # your certificate in TLS_CERT_DIR/tls.{crt,key} (Private cloud, air-gapped)
TLS_MODE=internal # Caddy's own CA; install its root everywhere (labs only)
TLS_EMAIL=ops@example.com
Logging. COVEROPS_ACCESS_LOG=stdout (default) writes one JSON line per
request to the container log, which your Docker logging driver ships wherever
your logs go. Use file when a host agent ships files instead. Details and
the audit log in logging-and-audit.
Backups. Decide now, not after the first incident:
BACKUP_EVERY_HOURS=24
BACKUP_KEEP_DAYS=14
BACKUP_DIR=/srv/coverops-backups # a different disk from the data
RCLONE_CONF=./rclone.conf # copy rclone.conf.example
BACKUP_RCLONE_REMOTE=s3:acme-backups/coverops
See backup-restore for managed-Postgres PITR and the restore drill.
3. Install
./install.sh # Cloud / Private cloud
./install.sh --offline # Air-gapped: uses the images import-bundle.sh loaded
It checks Docker, memory, disk and that the ports are free; pulls the images
(or confirms they are loaded); runs the migration to completion; starts the API
and dashboard; and waits until the API answers /health. It stops at the
first thing that is wrong and names the command that fixes it.
Then the optional profiles, if you chose them:
docker compose --env-file coverops.env --profile tls up -d # built-in edge
docker compose --env-file coverops.env --profile backups up -d # scheduled backups
Using an external Postgres? Start everything with --scale postgres=0 so the
bundled database never runs:
docker compose --env-file coverops.env up -d --scale postgres=0
4. Sign in and lock the door
- Open
https://<COVEROPS_HOST>(orhttp://<host>:8080behind your own proxy). A licensed installation (the on-prem default) opens the first-run setup wizard: the licence (skipped whenCOVEROPS_LICENSEis set), the company and its administrator (name, e-mail, a password of 12 characters or more), the language model (provider, address, key, a model from the provider's list; kept after a real test call) and the mail server (kept after a test e-mail). The last two can be skipped and changed later under Installation settings. Until the wizard is done the rest of CoverOps answers 503 and the sign-in page offers no registration. When the Cunda Installer sets CoverOps up (CUNDA_SETUP_MANAGED=installer) the wizard does not open; the sign-in page says so until the installer has finished. - Team → Single sign-on: paste the issuer URL and client id/secret from the app registration; the three endpoints fill themselves from the issuer's discovery document. Set the admin group, save, test with a second browser. When it works, tick Required; password sign-in is then refused for everyone except a super administrator (the break-glass account). The bootstrap account is that account: keep its password in your secrets vault, not in the env file forever. identity.md has per-IdP steps and SCIM.
- Integrations → ReplayOps: enter the ReplayOps API URL, the organisation and project ids, and a viewer server token. Session replay, UI coverage and user steps are read from ReplayOps over its API and are not stored in CoverOps, so without this connection those pages stay empty.
- Audit log: confirm your own sign-in and the SSO change are there. This is the page an auditor will ask to see.
5. Verify
./doctor.sh
Run it even when everything looks fine. It checks the things that fail quietly: a schema older than the images, a live feed a proxy is buffering, agent packages that do not download. Each of these leaves the dashboard looking healthy while something underneath is not.
Then connect one service: Agents → download the agent for its runtime → attach it with the token the page mints → make one request to the service → watch it appear under Coverage monitoring within a minute. The agent's boot line prints its version and the endpoint it reports to; if nothing appears, that line is where to look first.
Things that go wrong inside corporate networks, and what to do beforehand
These are the causes of nearly every slow install. Check them in the pre-installation call.
The proxy buffers. The live trace feed is server-sent events. nginx needs
proxy_buffering off and a long proxy_read_timeout on /v1/; F5, Azure
Application Gateway and some WAFs need their response-buffering turned off for
that path. Symptom: numbers update, the live feed says "Connection lost".
The agents do not trust the certificate. A certificate from a corporate CA
is trusted by the browsers (the CA is in the desktop image) and not by the JVM
or Node runtime inside a container (it is not in theirs). Each runtime has a
one-line fix (NODE_EXTRA_CA_CERTS, -Djavax.net.ssl.trustStore,
SSL_CERT_FILE) in network-dns-tls. Symptom: coverage
never arrives; the agent's log says unable to verify the first certificate.
Egress is allowed for the browser and not for the host. The install host needs the registry (or none, with a bundle); the API needs the IdP and, optionally, the git host. Nothing else. Get these four hostnames on the allow-list before the install date.
The hostname is decided late. Agents compile the API endpoint into their
configuration; the OIDC app registration carries the callback URL. Pick
COVEROPS_HOST (and whether agents use /v1 on it or api.<host>) before
anyone installs an agent or registers the app.
The backup is on the same disk. BACKUP_DIR on the data volume protects
against a bad upgrade and nothing else. A second disk at least; an object
store or a share by preference.
Clocks drift. Containers inherit the host clock. Token expiry, TLS and every audit timestamp depend on it; a VM template without chrony is common.
Two people can log in as the bootstrap admin. Change its password at step 4, move it to the vault, create named administrators through SSO, and keep the bootstrap account only as the break-glass super admin.
Upgrading, rolling back, moving hosts
An upgrade is a new COVEROPS_VERSION, a pull (or a new bundle), and
up -d; the migration runs again and the API waits for it. Always
./backup.sh first. Rolling back is the previous version plus that backup if
the new one ran a migration. Moving hosts is a backup, an install on the new
host, and ./restore.sh. All three are in operations.