Chroma self-hosted

Chroma can run in your own infrastructure under Apache 2.0, but its self-hosting docs do not cover SSO, role-based access or audit logging. Those controls have to be built around the server and verified before approval.

On this page

Is Chroma self-hosted enough for an on-premise requirement?

A security or platform team that needs Chroma inside its own network can self-host it under the Apache 2.0 open-source edition. The Docker and client-server documentation do not describe SSO, role-based access or audit logging, so your organization has to add each of those controls yourself. Before approval, decide where authentication is enforced, for example at a reverse proxy tied to your identity provider, and who owns the access policy for the server and the data it holds. Ask your security team to write down which network segments may reach the server on port 8000, and whether traffic is encrypted between clients and the server.

Verify the parts the documentation does cover before you sign off on the design. The official image, chromadb/chroma, serves port 8000 and keeps data in a mounted /data volume, so your backup and restore plan must target that volume. Configuration comes from a YAML file mounted at /config.yaml, and OpenTelemetry traces go to the endpoint you set through CHROMA_OPEN_TELEMETRY__ENDPOINT. Starting with version 1.5.4, Chroma no longer collects product telemetry, so nothing from your instance is shared with Chroma, but you must still build the audit trail from logs and traces you control. Size memory early, because the single-node HNSW index must fit in RAM. The performance guide gives about 1,700,000 embeddings for 8 GB and about 7,500,000 for 32 GB, so plan a distributed deployment if you expect data beyond tens of millions of embeddings.

Chroma Cloud is a separate decision. Its Enterprise plan is custom-priced, and this page does not confirm what that plan's feature list includes, so confirm the Enterprise feature list with Chroma in writing before you rule the managed option in or out. Ask specifically about SSO, role-based access, audit logging and where data is stored. Read the Chroma pricing page for the published plan structure first. Whatever Chroma confirms, the self-hosted design still needs a named owner for each control the open-source server leaves out, plus the evidence you will keep for your compliance review, recorded before the approval meeting.

Chroma self-hosted capabilities by edition and what to confirm

This table compares what the Apache 2.0 open-source Chroma server includes for self-hosting with what Chroma Cloud plans cover, and what your team must confirm before relying on either. Read the open-source column as built-in behavior and the last column as the item to check with Chroma or in your own tests. The main takeaway is that the server runs in Docker or on a host and can export OpenTelemetry traces when configured, but authentication, access control, audit logging and air-gapped operation are not documented and must be designed and confirmed by your team.

CapabilityOpen-source self-hosted (Apache 2.0)Chroma Cloud plansWhat to confirm
Docker image on port 8000Built in. The image serves port 8000 and keeps data in a mounted /data volumeChroma operates the service. You do not run the containerVolume backup, upgrade path and container hardening in your environment
chroma run server modeBuilt in. Runs on a host or a cloud machine on AWS, GCP or AzureNot applicable. Chroma runs the hosted serviceProcess supervision, TLS termination and network exposure on your machine
Kubernetes manifestsProvided in the repository. You operate the deploymentChroma operates the service. Customer-run clusters not described hereManifest version, sizing and who patches and upgrades the cluster
Single-node versus distributed storageTwo modes with different storage subsystems. Single-node mode may lack some distributed featuresRuns the distributed system that Chroma operatesWhich features your workload needs, and whether the single-node index fits in RAM
OpenTelemetry trace exportBuilt in through CHROMA_OPEN_TELEMETRY__ENDPOINT and CHROMA_OPEN_TELEMETRY__SERVICE_NAME. Requires your collectorNot described here. Confirm with ChromaCollector, trace retention and access. Trace data is not an audit trail
Product telemetryBuilt in. No product telemetry from version 1.5.4 onward. Self-run OpenTelemetry data is not shared with ChromaChroma operates the service. Confirm data handling termsConfirm your pinned version is 1.5.4 or later
SSO, OIDC and RBACNot documented. Needs an identity-aware proxy or gateway that you build and testEnterprise features not stated. Confirm with ChromaWhether your gateway enforces login, OIDC and roles before requests reach Chroma
Audit loggingNot documented. Needs logging at your proxy or gatewayEnterprise features not stated. Confirm with ChromaWhich events are recorded, where they are stored and how long they are retained
Air-gapped operationNot documented. Test image pulls, dependencies and updates offlineHosted service. Confirm offline options with ChromaOffline image mirror, package sources and the update process inside your network

How Chroma enforces access in a self-hosted deployment

Chroma's self-hosted server does not come with an access layer that the documented deployment pages describe. The official Docker image listens on port 8000, keeps data in a mounted /data volume, and reads its settings from a YAML file mounted at /config.yaml. Clients reach the server over HTTP on that port. The Docker and client-server pages do not describe user identity, roles or request logging, so any identity check, access rule or audit trail has to sit in front of the server, in a reverse proxy or gateway you operate, or in the platform around it, such as network segmentation and host-level logging. Chroma Docker deployment docs

Absence from the docs is not proof of absence in the code. The repository may include authentication settings that the deployment pages do not mention, and those settings can change between releases. Before you assume the server has no login, test it directly. From a host that is not the Chroma server and sits on the network segment where your clients would run, send an unauthenticated request to port 8000 and record the response. Then send the same request through the path you intend to expose, and repeat both tests after every upgrade. If the server answers without credentials, treat it as open and keep it off any shared network until a gateway enforces login. Ask Chroma's maintainers through GitHub Issues or Discord to confirm which authentication settings exist for your version.

Settle three decisions before the deployment goes live. First, pick the component that enforces identity and roles, and block direct access to port 8000 at the network layer so that component is the only route in. Second, set file permissions so only the service account can read /config.yaml and write the /data volume, since both hold the server settings and the stored embeddings and metadata that an attacker or insider would target. Third, decide where audit records come from. Because request logging is not documented, the proxy or gateway logs are the likely source, so confirm they record caller identity, request path, method and response status before you rely on them in an investigation. Write these decisions into the written scope before work starts, so the security review has a defined boundary to test.

Design decisions for Chroma self-hosted identity, tenants and logs

Chroma's Docker and client-server docs leave authentication, access control and audit logging to the deploying organization. The five decisions below set where those controls live, how far a failure can reach and what evidence your security team can review, so settle them before the first production collection is created.

Where identity is enforced

Chroma's docs do not describe authentication, so you choose the enforcement point. An authenticating gateway in front of the Chroma port (8000 in the official image) can check sessions, tokens and roles before any request reaches the database. Network isolation alone, with the port reachable only from named application subnets, limits who can connect but does not record which user made a request. The two can be combined, and the choice decides where review effort goes: gateway configuration, network policy or both. Confirm with your auditors which layer they will test.

Client-server docs

Identity provider and protocol

Pick the identity provider and the protocol the gateway speaks, commonly OpenID Connect or SAML for workforce sign-in. Map groups to a small set of roles such as reader, writer and admin. Every role lives in the gateway or proxy you deploy, because Chroma has no documented user model to map onto. Check token lifetime, group claims and how quickly a departing employee loses access to the collections they could read. Decide separately how ingestion jobs authenticate, since service credentials often outlive the people who created them.

Tenant boundary

Choose between one Chroma instance per tenant and one shared instance with collection-level separation enforced outside the server. Separate instances keep each tenant's data, index memory and failure domain apart, at the cost of more containers, volumes and upgrades to repeat. A shared instance is cheaper to run, but the server does not document collection-level access control, so the gateway must map each tenant to its collections and reject everything else. Test that a request for another tenant's collection fails, because one missed mapping is a data exposure.

Log destination

Send gateway audit logs to a store you control, recording who called which collection and when, since Chroma's docs do not describe audit logging. Export Chroma's traces with OpenTelemetry to your own collector using CHROMA_OPEN_TELEMETRY__ENDPOINT and CHROMA_OPEN_TELEMETRY__SERVICE_NAME. The trace stream adds operational detail such as latency and errors. Starting with version 1.5.4, Chroma no longer collects product telemetry, so data from your instance is not shared with Chroma. Confirm retention, who can read the log store and whether query text is stored, since queries may contain personal data.

Docker deployment docs

Deployment mode and network boundary

Single-node Chroma keeps the HNSW index in RAM, so memory sets the ceiling. The performance docs give about 1,700,000 embeddings for 8 GB and about 7,500,000 for 32 GB, and advise against less than 2 GB of RAM. They recommend a distributed deployment beyond tens of millions of embeddings, and the repository includes Kubernetes manifests. In an isolated network, decide how the chromadb/chroma image reaches your cluster: mirror it into an internal registry, pin a tag and scan it before import. Upgrades then follow your own change calendar.

Single-node performance docs

Illustrative reference design for an on-premise Chroma deployment

This is an illustrative proposed design, not an architecture that Chroma provides. Internal clients send requests to an authenticating gateway, which checks SSO identity and role permissions and writes an audit record for each call. Only permitted requests are forwarded to the Chroma server on port 8000. The server stores data in a mounted /data volume and reads its settings from a /config.yaml file. It exports OpenTelemetry data to your own collector. Confirm that port 8000 is reachable only through the gateway, because the Chroma docs do not describe authentication, access control or audit logging.

Illustrative proposed design: clients reach Chroma only through the gateway.

Where Chroma self-hosted leaves gaps for security review

A self-hosted Chroma server gives you the vector database and little else for a security review. The five gaps below are the ones the docs leave open, and each one needs a control that your team or a partner builds around the server.

Authentication and SSO

The Docker and client-server pages do not describe authentication settings, so a self-hosted Chroma server does not bring its own single sign-on. The usual cover is a gateway in front of port 8000 that validates tokens from your identity provider over OIDC or SAML before any request reaches the server. Check that no path bypasses the gateway, including host port mappings in your Compose file and any Kubernetes service exposed directly.

Chroma Docker docs

Role-based access and tenant isolation

The supplied material does not describe role-based access or tenant isolation for Chroma, so do not assume per-collection permissions exist in the version you deploy. Confirm with Chroma which access controls the server enforces itself. Where it does not, enforce roles at the gateway by mapping identity groups to allowed operations and collections, and consider one instance per tenant when data from different customers or business units must stay apart. Test that a user in one group cannot read another group's collections.

Audit logging

OpenTelemetry export through CHROMA_OPEN_TELEMETRY__ENDPOINT sends traces to a collector you run, but traces show system activity and do not attribute actions to named users. Auditors will ask for the user, action, collection, time and outcome of each write and delete. Build that record at the gateway, log the authenticated identity with every request, and ship the logs to storage your security team controls. Confirm retention and tamper resistance before you call it an audit trail.

Production hardening

The Docker and client-server docs do not document production hardening, so transport security and network policy are your work. Decide where TLS terminates, whether port 8000 is reachable outside the application network, and which hosts can reach the /data volume. Confirm that the image supports running as a non-root user and read-only filesystems on your platform before you rely on either. Record the resulting settings in config.yaml and your infrastructure code so a reviewer can read them.

Client-server mode docs

Support and patching

Community support for Chroma runs through GitHub Issues and Discord, and the docs state that a small core team reviews pull requests with no timeline. The docs publish no response timeline, so any commitment to fix a security issue has to come from your own process or a party that commits to one in writing. Tagged releases usually ship on Mondays with hotfixes at any time, so write down who watches the release feed, who tests each new image or package tag against your data, and how quickly a security fix reaches production.

Chroma GitHub repository

How the Chroma self-hosted answer changes by situation

The Chroma docs do not describe authentication, so the identity design sits outside Chroma, in a gateway or proxy in front of port 8000. An OIDC or SAML-capable gateway lets you hand sign-in to your existing workforce identity provider. A directory-based setup usually means the gateway checks group membership against LDAP or Active Directory and maps those groups to access. Either way, the gateway must enforce identity, because Chroma will not read your identity claims on its own.

  • OIDC or SAML gateway: Terminate sign-in at the gateway and pass only validated identity to the Chroma container on an internal network.
  • Directory-based setup: Map directory groups to application-level access in the gateway, and name the team that administers those groups.
  • Session lifetime: Set token and session expiry at the gateway, since Chroma does not manage sessions for you.
  • Service accounts: Give indexing jobs and application clients their own credentials so that automated writes are traceable to a system, not a person.
  • Per-collection access: Confirm whether your gateway can scope requests to individual collections, because that control must live outside Chroma.

Confirm with your security team which identity source is authoritative and how the gateway will enforce access for each collection before you build the routing.

Order of work to put Chroma self-hosted into production controls

This sequence takes a self-hosted Chroma server from a pinned image to a reviewed production setup. Each step closes with evidence your security, operations and compliance teams can review. Chroma's docs do not cover authentication or hardening, so the controls come from the gateway, logging and testing work around the server.

  1. Confirm the version and pin the image

    Your platform or security team confirms which Chroma release you will run and where the image comes from. Check the chromadb/chroma image on Docker Hub or ghcr.io against the chromadb release listed on PyPI, and review the release notes before choosing a tag. Note that from version 1.5.4 onward the product no longer collects telemetry, which matters for your data flow review. Pin the image to an exact tag or digest in your deployment files. The step is done when the pinned reference, the release notes reviewed and the approver's name are recorded in your change record.

  2. Test default access from another host

    Start the pinned container with port 8000 published on a test network, then connect from a separate host. Record which endpoints answer and which return errors when no credentials are sent, and confirm that no other ports or management interfaces are exposed. Because the Docker and client-server docs do not describe authentication, you are testing what the default server does, not a setting you can turn on. Keep the request and response records. The step is done when every reachable endpoint without credentials is listed in the gap record.

  3. Place an authenticating gateway and map roles

    The platform team places a gateway you operate in front of the Chroma port, terminates TLS there, and requires SSO sign-in before any request reaches the server. Map identity provider groups to roles, and write down which collections and operations each role may call. Confirm that clients can no longer reach port 8000 directly, since a gateway that can be bypassed does not control access. Test each role with allowed and denied requests. The step is done when the role matrix is approved and every denied request returns an error and is logged at the gateway.

  4. Route logs to audit and OpenTelemetry destinations

    Point the server's OpenTelemetry export at your collector by setting CHROMA_OPEN_TELEMETRY__ENDPOINT and CHROMA_OPEN_TELEMETRY__SERVICE_NAME in the container environment. Treat these traces as operational telemetry, because the docs describe them as traces and do not describe audit events. Audit records for who called what should come from the gateway, which is configured to send its access logs to your audit store. Send one test request with a known identifier and find it in the collector and in the audit store. The step is done when both destinations hold matching records and the retention owner has confirmed where each one is kept.

  5. Size memory for embedding count and mode

    Decide between single-node and distributed Chroma before you buy hardware. The single-node HNSW index must fit in RAM, and the performance docs give about 7,500,000 embeddings for 32 GB and about 1,700,000 for 8 GB, with advice against less than 2 GB of RAM. These documented figures are reference points, so calculate for your own embedding count and vector size, then load test with representative query traffic and confirm peak memory with headroom. The docs recommend a distributed deployment beyond tens of millions of embeddings, and the repository includes Kubernetes manifests. The step closes when the worksheet and load test memory readings are signed off.

  6. Test backup and restore of the data volume

    Identify the host path or volume bound to the /data mount and decide how it is backed up. Stop writes or take the snapshot at a consistent point, copy the volume, then restore it to a clean host running the same pinned image. Compare collection names, record counts and results from a fixed set of test queries against the original. Confirm with Chroma's documentation for your pinned version which backup method is supported and what consistency it gives, then test it in your environment. The step is done when a restored instance matches the original on your checks and the restore steps are written into the runbook.

  7. Run security testing and retest before approval

    Run security testing against the deployed stack: the gateway, the Chroma API paths, role boundaries, container settings, and how credentials and configuration files are stored. Findings go into a report with fixes, and each fix is retested before sign-off. Ask for the findings, the retest results and the list of accepted risks to be kept in the approval file. This evidence supports, but does not replace, an assessment by an independent auditor or certification body. The step is done when no high-severity finding stays open without a named owner.

Evidence a security reviewer asks for in a Chroma self-hosted deployment

This table lists the evidence a security reviewer typically requests for a self-hosted Chroma deployment and where each item comes from. Chroma's own docs do not cover authentication, audit logging or hardening, so most rows point to the gateway, network and storage records your team controls. Treat each row as a file or export you can produce on request, and check that the dates and versions match the deployed system.

Evidence itemWhere it comes fromWhat the reviewer checks
Architecture and data flow diagramDrawn by your team from the deployed topology, showing clients, gateway, the Chroma container on port 8000 and the /data volumeEvery query and write path passes through the gateway, and the diagram matches the running configuration
Pinned image version and sourceYour deployment manifest or Compose file showing the chromadb/chroma tag or digest and the registry it was pulled fromThe tag is pinned to an explicit version and matches the image your scanner reviewed
Authentication and role configurationGateway configuration exported from your proxy or identity layer, showing SSO settings and roles mapped to Chroma routesRoles map to named operations, and admin routes are limited to named groups
Sample audit recordsLog extract from your gateway and Chroma container for allowed and denied requests, with user, route, timestamp and request IDRecords show who acted, what they called and the outcome, stored outside the container
OpenTelemetry configurationYour config.yaml and environment settings for CHROMA_OPEN_TELEMETRY__ENDPOINT and CHROMA_OPEN_TELEMETRY__SERVICE_NAMEChroma stopped product telemetry at version 1.5.4, so traces go only to your collector
Network policy and boundary descriptionFirewall rules, Kubernetes NetworkPolicy or security group exports showing which sources can reach port 8000Only the gateway can reach port 8000, and no public route exists
Data volume storage and backup recordsStorage class, mount path for /data, and backup job logs with schedule, retention and encryption settingsBackup covers /data and retention matches your data classification policy
Restore test resultsDated restore runbook output from a separate environment, with restored collection counts compared to the sourceTest restored a full /data copy and queries returned matching results

Questions buyers ask before approving Chroma self-hosted

What drives the cost of self-hosting Chroma when the license is free?

The Apache 2.0 license carries no license fee, so the cost sits in the infrastructure, the gateway and logging build, and the testing and operation that follow. Chroma's performance docs advise against less than 2 GB of RAM, and the single-node HNSW index must fit in memory, so compute and memory sized to your embedding count are usually the largest recurring line. The same docs give about 1,700,000 embeddings for 8 GB and about 7,500,000 for 32 GB as reference points, and they recommend a distributed deployment beyond tens of millions of embeddings. Build costs cover the authentication, access control and audit logging that the Docker and client-server pages do not document. Ask any quote to separate one-time build work from recurring operation, upgrades and retesting, and to name who is paid for each item.

How long does a self-hosted Chroma implementation take?

Duration follows from the scope and from how the identity setup is designed, so ask for a timeline tied to each component. A single-node deployment behind an existing identity provider is a smaller job than a distributed deployment on Kubernetes with multi-team access rules and audit retention. The identity work often sets the critical path, because single sign-on, group mapping and role design need decisions from your identity and security owners before the gateway can enforce them. Testing, review and evidence collection add time at the end of the build, and they repeat after fixes. Ask for a written scope that lists each component, the environments covered, the review steps and the dependencies on your own teams. DeployOpen agrees scope, deliverables and timelines in writing before work starts, so the written scope is where the timeline should appear.

What must our organization provide for a self-hosted Chroma deployment?

Your organization provides the identity provider, the network, the infrastructure and the review owners. Each has a concrete part of the work:

  • An identity provider that supports the sign-in protocols your gateway will use, with group membership that maps to roles.
  • Network segments, DNS, TLS certificates and firewall rules for the hosts or cluster that run Chroma.
  • Compute, memory, storage for the mounted /data volume and backup targets, in your cloud account, data center or air-gapped network.
  • Named owners in security, compliance and the application team who approve access rules, audit log retention and the move to production.

Agree these inputs before the build starts. Missing identity or review decisions are the most common reason a schedule slips, so name the owners and their dates in the written scope.

Can our own team run Chroma self-hosting without a partner?

Yes, for a small scope, if the team already has container, Linux and identity skills. The official image listens on port 8000, keeps data in a mounted /data volume and reads a YAML file mounted at /config.yaml, so the first running instance is a manageable task. The main effort sits in the parts the Docker and client-server docs leave out: the gateway that enforces authentication and access control, and the audit logging design that records who queried or changed which collection. Those need threat modeling, testing and a review by people who did not build them. A larger scope, such as distributed Kubernetes serving several teams, adds operations and review work that may justify an outside partner. Decide after you have a written list of required controls and a named reviewer for each.

Does Chroma Cloud Enterprise remove these self-hosting gaps?

Confirm this with Chroma before you decide, because the Enterprise feature list is not in the material this page relies on. Chroma's pricing page lists Enterprise as a custom plan, and that is the place to start the conversation. Ask for written answers on each control you need, including authentication, access control, audit log export to your monitoring or SIEM tooling, the regions where data is hosted, and how deletion and retention work. Chroma Cloud is a different operating model from self-hosting, so the split of cost and responsibility changes, and so does the evidence you will need to show. Compare the written answers against the control list your own security and compliance reviewers produced.

Does DeployOpen certify our self-hosted Chroma system?

No. DeployOpen does not issue audit reports, attestations or certifications. DeployOpen prepares the systems, controls and evidence that a compliance assessment will examine, such as the access configuration, the audit logging setup and the test results behind them. An independent auditor or certification body decides whether the controls meet a given standard and issues any report. Ask the partner which evidence it will hand over, in what format, and which items it will retest after fixes. Confirm early with your auditor which controls they expect to see, so the evidence is built to their questions rather than assembled after the fact.

How DeployOpen builds Chroma self-hosted controls in your infrastructure

DeployOpen plans, builds and hands over self-hosted Chroma inside your own cloud accounts, data centers or air-gapped networks. Chroma's Docker and client-server documentation does not describe authentication, access control or audit logging, so that work is scoped and built with your identity and security teams. Every engagement starts from a written scope with agreed deliverables and timelines.

How we scope

  • The written scope names the Chroma version, deployment target and any Kubernetes or Docker Compose layout.
  • Sizing covers whether a single node fits the in-memory HNSW index, or a distributed layout is needed.
  • Scope lists the identity, access control and audit logging components you need added on top of Chroma.

How we build

  • Deploy the chromadb/chroma image with a pinned version, a persistent /data volume and a reviewed /config.yaml.
  • Add authentication, TLS, a reverse proxy and access controls, which the Docker and client-server pages do not describe.
  • Wire OpenTelemetry export to your own collector, with telemetry settings reviewed before go-live.

How we hand over

  • Handover includes the written configuration, deployment files and runbooks for your operations team.
  • Documentation records the access model, audit log locations and the evidence your compliance team asks for.
  • Your team walks through backup, restore and memory-capacity checks before go-live.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Upgrades follow Chroma's release line, with changes tested in a staging environment before production.
  • Security testing of the deployment can be scheduled as a separate engagement, with findings and retests.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.