Skip to content
Back to the app

On-Premises Rollout Plan ​

This is the plan we follow with an enterprise customer who runs CHANGENTS.AI agents in their own data centre or private cloud. It runs from first qualification to day-two operations, with an owner and an exit check for each phase.

Status of this plan

No customer has yet completed an on-premises install. Both routes have been installed end to end on our own test machines, and passed the Phase 3 checklist below: the Docker Compose bundle, and the Helm chart in both connected and air-gapped mode (see Deployment Package). The first pilot is the first install on customer hardware. Durations below are estimates. Sizing figures come from the infrastructure requirements, and each one is tagged as measured or estimated.

At a glance ​

PhaseWhat happensOwner (customer / us)EstimateExit check
0. QualifyLicence, data classes, connected or air-gapped, route chosenCustomer sponsor / us1 weekSigned pilot scope; route and tier chosen
1. ReadinessHardware, cluster, registry mirror, DNS, certificates, SMTP, IdPCustomer infrastructure1 to 2 weeksReadiness checklist complete
2. InstallSecrets, models, chart or bundle, ingressCustomer platform team / us1 to 3 days/health 200 on every service
3. VerifySmoke test, one agent end to end, security checksUs, with customer1 to 2 daysVerification checklist passes
4. Configure governanceOrganisation, roles, SSO, approvals, consent, residencyCustomer admins2 to 5 daysGovernance checklist complete
5. PilotChosen agents on real work, measuredCustomer business owners2 to 4 weeksAcceptance test on the customer's agents; sizing confirmed
6. Go-liveBackups tested, monitoring routed, runbooks handed overCustomer operations1 weekRestore test done; alerts reach a person
7. OperateUpgrades, key custody, capacity reviews, licence renewalCustomer operations / usOngoingQuarterly review

Phase 0: Qualify ​

Decide these before any hardware is ordered. Each one changes the install.

  1. Licence. On-premises needs a Business or Enterprise licence. You receive a signed licence key (CHNGT2.…). Your install verifies it offline; no secret goes with it. Agent runs are refused without a valid key.
  2. Route. Pick one:
  3. Connected or air-gapped. Air-gapped mode removes every cloud model provider and refuses any model endpoint outside your private network. Decide now, because it changes how images and models reach the site. See Air-gapped installs.
  4. Data classes. List the data each chosen agent will handle. This decides whether a self-hosted model is mandatory, whether a GPU is needed for answer quality, and whether face recognition will be used (it needs recorded consent; see Administration).
  5. Tier. Use the table below. Tier A is enough to prove the agents work. Plan for Tier B if people will use agents interactively every day.
TierModel hardwareSuits
A. PilotCPU onlyUp to about 10 named users, occasional runs
B. ProductionOne GPU hostA department using agents interactively
C. High availabilityTwo or more GPU hosts, replicated data servicesOrganisation-wide, with an availability target

Phase 1: Readiness ​

The customer's infrastructure team prepares these. Use it as a checklist.

Compute (Tier A starting point, estimate: 16 CPU cores, 48 GiB RAM, 200 GB SSD on one host)

  • [ ] Kubernetes 1.25+ with Helm 3, or a Linux host with Docker Engine 24+ and Compose 2.20+
  • [ ] A storage class; ReadWriteMany for uploads if the backend runs more than one replica
  • [ ] For Tier B: a GPU host (starting point, estimate: 40 to 48 GB GPU memory for a 4-bit 70B-class model, 64 GiB RAM, 16 cores, 100 GB SSD)

Images and models

  • [ ] Registry access: a read-only pull token for ghcr.io/vemaya-asia/changents-ai/* (issued with your licence), or the image archive for your release (load it with scripts/onprem/import-images.sh)
  • [ ] Air-gapped: a registry mirror holding the six images listed in Kubernetes Install
  • [ ] Air-gapped: model files for the text, embedding and vision models, copied from a connected machine

Network

  • [ ] DNS name and TLS certificate from your own CA
  • [ ] Ingress or load balancer timeouts of at least 310 seconds for /api and a request body limit of at least 210 MB (video uploads go up to 200 MB)
  • [ ] An SMTP relay for sign-up verification and invitations
  • [ ] Kubernetes: the addresses and ports of the SMTP relay, any GPU host and the internal systems agents will call, for networkPolicy.extraEgress
  • [ ] If live camera feeds will be used: the camera subnets and ports (RTSP is usually 554)
  • [ ] NTP on every node: the audit chain and sessions depend on synchronised clocks
  • [ ] Outbound internet: none is needed. Decide whether the daily licence check-in may leave (it sends the model name and uptime; it can be switched off)

Identity and keys

  • [ ] Identity provider details for SAML or OIDC, if SSO will be used
  • [ ] A secret manager or HSM to hold ENCRYPTION_KEY and AUDIT_CHAIN_KEY. Losing the first makes stored credentials unreadable; changing the second makes the earlier audit trail fail verification.

Phase 2: Install ​

Follow the guide for your route:

  • Kubernetes Install: create the Secret, install the chart with values-prod.yaml (and values-airgapped.yaml if air-gapped), load or pull the models.
  • Docker Compose Install: unzip the bundle, fill in .env, docker compose up -d, pull the models.

Order matters on Kubernetes: the Secret must exist before helm install, and the model volume must hold the models before the first agent run.

On a CPU model host, set the thread count (OLLAMA_NUM_THREAD, start with 8) and test other values on your hardware. Without it, the model server can slow down by two orders of magnitude inside a container with a CPU quota (measured on our hosted service).

Phase 3: Verify ​

Run every check. Record the results in the pilot report.

#CheckHowPass
1Services are upkubectl get pods or docker compose psAll running and ready
2Backend healthcurl http://<backend>/healthHTTP 200
3Model providerscurl http://<backend>/api/health/providersThe local model is listed as usable
4LicenceBackend log at start-upOn-prem license OK, not INVALID
5Web app talks to your backendSign up in the browser, then find the account in your MongoDBThe account is in your database
6Docs are served locallyOpen https://<your host>/docs/This site loads
7One agent end to endRun a catalogue agent in Power House StudioA run report with a real deliverable
8Files reach the runRun an agent with an attached documentThe report lists the document as read
9Long run is not cut offRun an agent that takes over a minuteCompletes; no 504 from the ingress
10Metrics are closedcurl http://<backend>/metrics without the token (port-forward, or localhost:8085 on Compose)Refused
11Air-gapped only: no cloud provider/api/health/providers and the start-up logCloud providers removed; only the private model
12Air-gapped only: no outbound trafficYour firewall logs during checks 7 and 8Nothing leaves the network

Phase 4: Configure governance ​

Customer admins do this in the app. Details are in Administration.

  • [ ] Create the organisation and set the owner. Transfer ownership to the customer's named owner if we created it.
  • [ ] Invite members with the lowest role that works: viewer, editor, admin, owner.
  • [ ] Connect SSO. Turn on "SSO required" only after an admin has signed in through it.
  • [ ] Set inference residency. Self-hosted forbids every hosted model, whatever keys exist.
  • [ ] Decide approval steps: approvals pause the run until a second admin approves. Name at least two admins, or approvals are recorded as self-approved.
  • [ ] If face recognition will be used: record the lawful basis, consent and purpose.
  • [ ] Set session length and MFA to the customer's own policy.

Phase 5: Pilot ​

  1. Pick 3 to 5 agents tied to real work, with a business owner for each.
  2. Agree what a good result is for each agent before the pilot starts.
  3. Run them on real inputs for 2 to 4 weeks. Use rehearsal mode first: it runs the real model and withholds side effects.
  4. Measure: run time, success rate, and how often people accept the deliverable unchanged. Run the acceptance test harness we provide on each agent.
  5. Compare run times with the sizing assumptions. If interactive use is slow on CPU, plan the GPU host (Tier B). See Models & GPU.

Exit: a short pilot report with the measured figures, a decision on tier and model, and the agents that pass acceptance.

Phase 6: Go-live ​

  • [ ] MongoDB backups scheduled, and a restore tested on a scratch environment
  • [ ] ENCRYPTION_KEY and AUDIT_CHAIN_KEY held in the customer's secret manager, with two named custodians
  • [ ] Monitoring scraping /metrics with the token, and the chart's alert rules loaded (prometheusRule.enabled); alerts for model-server down, agent failures and slow answers route to an on-call person
  • [ ] Tier C: MongoDB replica set (three members) and a second model host; the chart runs a single MongoDB
  • [ ] Runbooks handed over: restart, upgrade, rollback, key rotation, licence renewal
  • [ ] Support contacts and escalation path agreed

Phase 7: Operate ​

  • Upgrades. Pin image tags to a release. Upgrade on staging first; helm upgrade or docker compose pull && up -d on production. Keep the previous release's values for a one-step rollback.
  • Licence. The key carries its expiry date and is validated offline, so an air-gapped site keeps running until that date. Renew before it.
  • Keys. Never rotate AUDIT_CHAIN_KEY without an export of the existing chain. Rotating ENCRYPTION_KEY needs stored credentials re-entered.
  • Capacity. Review run volumes and run times quarterly against the model host's capacity: one CPU model instance handles roughly one run every 30 to 40 seconds (estimate, derived from measured latency).
  • Audit. Export the organisation's audit trail to your SIEM on your own schedule.

Known limitations that affect the plan ​

  • Cameras on your network need their subnets listed. Live camera feeds from private addresses are refused unless the operator lists the camera subnets in CAMERA_STREAM_ALLOWED_CIDRS (and, on Kubernetes, allows them in networkPolicy.extraEgress). Collect those subnets in Phase 1.
  • Sizing is not load-tested. Concurrency figures come from single-user latency.
  • The chart runs a single MongoDB. A replica set for Tier C is additional configuration.
  • First customer install. Both routes pass the checklist on our test machines, not yet on customer hardware with its own ingress, storage and identity provider. Install on a staging cluster or test server first.

What's next? ​

Served from this deployment. No page view leaves it.