For the people who run a Coloa server for their organisation: install, licence, people and sign-in, backups. Developers only need Getting started.
apps.example.vn and *.apps.example.vn, with a TLS certificate for both. Each app answers at <app>.apps.example.vn.Coloa runs as one process (or one container image) per machine. App code holds no state, so replicas are identical and an app moves between machines without changes.
The licence is a small signed text. Coloa checks it offline against Olli Technology’s public key built into the binary, so it works without internet access, but it can’t be edited: changing the terms breaks the signature.
| Where it goes | COLOA_LICENSE (the text), COLOA_LICENSE_FILE, or a license file in the server’s home. Helm: license.existingSecret. |
| What it sets | Customer, expiry date, maximum apps, maximum replicas (one extra is allowed while an upgrade replaces pods). |
| Without one | coloa server and coloa serve don’t start. coloa dev on a developer’s own machine needs none. |
| When it expires | Everything keeps working for 30 days, with warnings in the log. After that, apps keep serving their users but changes (deploys, promotions, new tokens, policy) are refused until it’s renewed. Sign-in and backups always work. |
| Renewing | Replace the file or Secret. Servers re-read it within the hour; no restart needed. |
Every server start records the licence ID in the server’s audit log. The licence is for your organisation only: don’t copy it to other installations.
Create the Secrets once, then install the Helm chart (Olli Technology gives you access to the image and chart registry):
kubectl create namespace coloa
kubectl -n coloa create secret generic coloa-license --from-file=COLOA_LICENSE=coloa.license
kubectl -n coloa create secret generic coloa-db --from-literal=url='postgres://coloa:…@db.internal:5432/postgres?sslmode=require'
kubectl -n coloa create secret generic coloa-s3 --from-literal=AWS_ACCESS_KEY_ID=… --from-literal=AWS_SECRET_ACCESS_KEY=…
kubectl -n coloa create secret generic coloa-backup --from-literal=COLOA_BACKUP_KEY="$(openssl rand -hex 32)"
# values.yaml
domain: apps.example.vn
homePage: true # a home page at apps.example.vn, the console at /console
license: { existingSecret: coloa-license }
database: { existingSecret: coloa-db, existingSecretKey: url }
storage: { url: "s3://coloa/files?region=ap-southeast-1", existingSecret: coloa-s3 }
backup: { everyHours: 24, to: "s3://coloa/backups?region=ap-southeast-1", existingSecret: coloa-backup }
cluster: { enabled: true, replicas: 2 }
ingress:
enabled: true
className: nginx
tls: [{ secretName: apps-wildcard-tls, hosts: [apps.example.vn, "*.apps.example.vn"] }]
helm upgrade --install coloa oci://<registry>/helm-chart/coloa --version <version> -n coloa -f values.yaml
sslmode=require every connection is verified TLS. For Amazon RDS/Aurora, put Amazon’s CA bundle in a Secret and set database.caSecret.CREATEDB and CREATEROLE, not superuser: CREATE ROLE coloa LOGIN PASSWORD '…' CREATEDB CREATEROLE;. Coloa creates one database per app environment and one login per app, and refuses to run app code under a login with elevated rights.storage.existingSecret empty; the instance needs a metadata hop limit of 2).services: (containers). Functions in TypeScript, Go and Python run normally.Install the binary, then run it as a systemd service:
# /etc/systemd/system/coloa.service
[Service]
User=coloa
EnvironmentFile=/etc/coloa/env # COLOA_LICENSE_FILE, COLOA_DATABASE_URL, COLOA_STORAGE, AWS_* …
ExecStart=/usr/local/bin/coloa server --home /var/lib/coloa \
--listen 0.0.0.0:443 --domain apps.example.vn \
--tls-cert /etc/coloa/fullchain.pem --tls-key /etc/coloa/privkey.pem \
--backup-every 24 --backup-keep 14
AmbientCapabilities=CAP_NET_BIND_SERVICE
Restart=always
Without COLOA_DATABASE_URL, Coloa runs its own Postgres in Docker on the VM. Behind a reverse proxy, listen on 127.0.0.1:7700 with --public-https and set COLOA_TRUSTED_PROXIES=127.0.0.1.
Make the first admin on the server itself (on Kubernetes, in the leader pod; the chart’s install notes print the command):
coloa server --home /data/server token an # prints a token, once
coloa server --home /data/server grant an admin
Admins then manage everyone from their laptop or the console’s Members page:
export COLOA_SERVER=https://apps.example.vn COLOA_TOKEN=<an's token>
coloa remote token minh # a person
coloa remote grant minh owner --app myshop
coloa remote token ci --agent --app myshop # an AI agent or CI, limited to one app
coloa remote revoke minh --all # remove every role and token
| Role | Scope | May |
|---|---|---|
| admin | server | everything on every app; grant roles, issue and revoke tokens |
| auditor | server | read every app’s audit log, logs and costs; change nothing |
| owner | one app | promote, approve, roll back, secrets, allowed hosts, push |
| developer | one app | push previews, request promotion, read |
| viewer | one app | read |
Two-factor sign-in. With require_mfa: true in the server’s org.yaml, everyone signs in with their token plus a 6-digit code from an authenticator app (Google Authenticator, 1Password, Microsoft Authenticator…). Sessions last 12 hours.
coloa remote mfa-invite minh) and sends them the one-time code (valid 24 hours). They open /console → Set up an authenticator, scan the QR code and enter the first code. A stolen token alone can’t enroll a phone.coloa server --home /data/server mfa an (prints a QR code in the terminal).Single sign-on (Microsoft Entra, Okta, Keycloak…) is configured under sso: in org.yaml, and can be required for everything that changes production.
With homePage: true, <domain>/ is Coloa’s home page and the console moves to <domain>/console. Apps that their owners (or admins) list in the console (All apps → List…) appear there under Explore public applications, with a title and description, for anyone to open. Only apps live in production are shown; listing and unlisting are recorded in the server’s audit log.
org.yaml)In the server’s home: admins and app owners, fields that must be marked @sensitive, hosts any app may call, the minimum number of approvals for promotions and schema changes, required budgets, a maximum number of previews per app, require_mfa, and alert_url for security alerts. Checked on every push, host change and promotion.
The console and management API can be kept off the internet: admin.port (Helm) or --admin-listen 10.0.0.5:7701 serves them only on a private address, and the public address answers “not found” for them, even with a valid token. Admins reach them over a VPN or kubectl port-forward. Alternatively, COLOA_ADMIN_ALLOW=10.0.0.0/8,… limits them to listed networks. Apps stay public either way.
Set downloads.url (Helm) to the storage location Olli Technology gives you; developers then install from https://<domain>/download with their own token, and every download is recorded in the audit log.
To give a developer access:
coloa remote token <name>) and grant a role on their apps.Revoking their tokens (coloa remote revoke <name> --all) also stops their downloads.
Daily encrypted backups (backup.everyHours, backup.to) contain every app’s code, database, files kept on the server, audit logs, people and roles, and the key that seals the apps’ secrets. Each is encrypted and authenticated, so a changed or cut-off backup is refused.
COLOA_BACKUP_KEY) somewhere safe off the server. Without it no backup can be restored.coloa remote backup (admins).COLOA_BACKUP_KEY=<key> COLOA_DATABASE_URL=… coloa server --home /var/lib/coloa restore "s3://…/coloa-backup-<time>.cbk"
Restore recreates databases, logins, people and tokens, re-seals secrets for the new machine and verifies every audit log. It never overwrites an existing database unless you pass --overwrite-databases.
Per app, in coloa.yaml under protection::
block: true stops further reads for the hour.coloa server token old-ci --decoy makes a decoy server token).Alerts go to the audit log and to alert_url (a webhook for your chat or SIEM).
Email son@olli-ai.com with your licence ID (in the server log at start-up).