Self-hosted Pinecone alternative for air-gapped and on-premises AI

Pinecone is delivered as a managed service or as BYOC in your cloud account. Where no data may leave your network, self-hosted Qdrant, Milvus or pgvector on your own hardware are the options to evaluate.

On this page

Can a self-hosted Pinecone alternative keep AI search inside an air-gapped network?

Yes. Qdrant, Milvus and pgvector can each run entirely on your own hardware with no outbound connection to a vendor cloud, which is the core requirement when no data may leave your network. Qdrant is Apache-2.0 licensed and free to self-host, Milvus is Apache-2.0 with Standalone and Distributed deployment modes, and pgvector is a PostgreSQL extension under the PostgreSQL License. Pinecone's managed service and its BYOC option both place the index in AWS, Azure or GCP accounts, so they do not meet an air-gapped requirement, and the choice among the three open-source engines depends on scale, filtering needs and the operating capacity you have.

The constraint has practical consequences beyond the network boundary. Every component must be installed from artifacts you mirror inside the enclave, including container images, Helm charts and language packages, and nothing may phone home for licensing, telemetry or model downloads. Qdrant needs block-level storage with a POSIX-compatible file system, so NFS and S3-style object storage are out, and it is insecure by default, listening on all interfaces with no authentication until you configure API keys, TLS and JWT-based access. Milvus depends on etcd for metadata and an object store such as MinIO plus a log broker in distributed mode, so each of those is another system you must run and patch without vendor help. Confirm with each project which features and binaries your air-gap process allows, and whether your security team accepts the audit logging that Qdrant provides since v1.17.0.

Scale and filtering usually decide the engine. pgvector fits when vectors sit beside relational data, supports HNSW and IVFFlat indexes and up to 2,000 dimensions for indexed columns, and reuses PostgreSQL operations you already run. Qdrant and Milvus suit larger collections and heavier filtered search, and Qdrant recommends at least three nodes for a production cluster so quorum survives a node failure. Before committing, ask your team to size memory and SSD capacity for your vector count and replication factor, and to rehearse restoring from backup on an isolated host, because without vendor access the restore procedure is entirely yours.

What an air-gapped vector database must satisfy

A vector database in an isolated network has to be secure before it holds any data, keep its storage on local hardware, and run without calls to a vendor's cloud. The cards below set out six requirements to check against each candidate, from default network exposure to the export path you will need if you ever leave.

No open network exposure by default

Self-deployed Qdrant instances listen on all network interfaces and have no authentication configured by default, according to its security documentation. Treat that as a deployment step, not a setting you can assume is done. Bind the service to the internal interface you intend, place it behind your network policy, and confirm with a port scan from an adjacent segment before any data is loaded. The same check applies to Milvus, Weaviate and pgvector's host, since each depends on how your team configures it.

Qdrant security docs

Authentication and TLS on every interface

Qdrant supports admin and read-only API keys and TLS for both REST and gRPC, so an application that only reads can be given a key that cannot write or delete. Milvus documents authentication, TLS encryption and role-based access control. Confirm that each client path, including internal service-to-service calls and health checks, uses encrypted transport, and that certificate issuance and rotation can happen inside your own PKI without an external service.

Granular access control per collection

Qdrant's JWT-based access control grants read or write permissions per collection, which lets one application reach its own embeddings without touching another team's data. Map each collection to a data owner and a classification level before creating it. Milvus offers role-based access control and multi-tenancy at database, collection, partition or partition key level. Ask whether your directory group membership can drive these roles, because manual token issuance tends to outlast the people who created it.

Audit logging of API operations

Qdrant writes JSON audit logs of authenticated API operations, which is the record an assessor will ask for when reviewing who queried or changed a collection. Ship those logs to a store your security team controls, retain them for the period your policy sets, and test that a deleted collection still leaves a trace. Confirm the log fields cover reads as well as writes, since retrieval queries over sensitive documents are often the operation that matters most.

Local block storage, not network or object storage

Qdrant needs block-level storage with a POSIX-compatible file system and cannot run on NFS or on object storage such as S3. SSD or NVMe drives are recommended. In an on-premises build, this rules out many shared file arrays by default, so size local disks for the index and its snapshots before purchasing hardware. Milvus can use MinIO for object storage in its own cluster, but that is a component you must also run and patch inside the isolated network.

Qdrant installation docs

No dependency on vendor control planes

Pinecone's documented way to read vectors back out lists record IDs only on serverless indexes, then fetches records by ID through its API. An isolated network may block that API path, and the index type may not match what your team deployed. Before choosing a platform, confirm that exports, upgrades, licensing checks and container image pulls all work from inside your network, and keep a documented copy of your own snapshot and restore process that depends on no external service.

Pinecone list IDs docs

Which open-source engines meet an air-gapped constraint

This table compares Qdrant, Milvus and pgvector on license, offline deployment, built-in security controls and operational trade-offs for a network with no outside access. Read the rows as the questions an assessor will ask, and treat the last rows as the places where the choice of engine changes your staffing and hardware plan.

RequirementQdrantMilvuspgvector
LicenseApache-2.0, free to self-hostApache-2.0, under LF AI and Data FoundationPostgreSQL License, extension to PostgreSQL 13 and later
Offline deployment pathSelf-deployed on your own block storage, with Helm chart or enterprise Kubernetes operatorMilvus Lite (Python library), Standalone (single machine) or Distributed on KubernetesInstalled as an extension in an existing PostgreSQL cluster on your own servers
Local dependenciesBlock storage with POSIX file system; not NFS or S3; SSD or NVMe recommendedDistributed mode also needs etcd for metadata and object storage (MinIO, or S3-compatible or Azure Blob) plus a log broker, all deployed locallyPostgreSQL operations you already run, including backup and replication tooling
API key and access controlAdmin and read-only API keys; TLS for REST and gRPCAuthentication, TLS and role-based access controlInherits PostgreSQL roles, privileges and TLS settings
Per-collection permissions and auditJWT-based permissions per collection since v1.9.0; JSON audit logging since v1.17.0Confirm role and object grants and audit options for your releaseTable-level privileges and PostgreSQL logging, confirm audit settings with your DBA
Default security postureSelf-deployed instances listen on all interfaces with no authentication until configuredConfirm defaults and secure the deployment before exposureSecured by the PostgreSQL instance hosting it
Dimension limit for indexesNo fixed limit in the supplied facts; confirm for your embedding sizeConfirm index limits in the release you deployVector columns with HNSW or IVFFlat indexes support up to 2,000 dimensions
Main trade-offSimple single-purpose engine; you own sizing, replication and upgradesLargest operational footprint, suited to large estates with platform staffFits existing PostgreSQL estates; a dedicated engine is worth it at larger scale

How to deploy a self-hosted vector database offline

This sequence takes a vector database from approved hardware and offline packages to a tested, access-controlled cluster that holds real data only after security controls are in place. The result is a deployment your security team can review and your applications can connect to with confidence.

  1. Size hardware for memory and local storage

    The infrastructure team estimates memory for the vectors, index overhead and replicas, then picks nodes with local NVMe or SSD storage. Qdrant requires block-level storage with a POSIX-compatible file system and cannot run on network file systems such as NFS or object storage such as S3, so confirm the storage design against the engine's installation documentation before ordering. Ask the vendor or project for memory guidance based on your vector count, dimensions and index type. Done means a written sizing sheet approved by the platform owner.

  2. Mirror images and packages into the isolated network

    The platform team copies the container images, Helm charts or operator bundles, and any language packages from an approved staging network into the air-gapped environment, then records checksums for each artifact. Confirm the exact versions and package sources for your chosen engine in your own environment, and check the project's release page for current versions before the transfer. Done means every artifact needed to install, upgrade and roll back is available inside the network with a signed inventory that the security team has reviewed.

  3. Deploy with TLS and API keys before loading data

    The platform engineers install the cluster with TLS on REST and gRPC, admin and read-only API keys, and network restrictions in place before any dataset is loaded. Qdrant instances listen on all interfaces and have no authentication by default, so these settings must be applied at install time rather than afterward. Done means an unauthenticated request is refused, a read-only key cannot write, and the configuration is stored in version control.

  4. Build a three-node cluster with sharding

    The team deploys at least three nodes so that quorum survives a single node failure, and sets the shard count to a multiple of the node count so data spreads evenly. The Qdrant distributed deployment documentation uses Raft for cluster topology, which is why an odd, quorum-capable node count matters. Done means every node reports healthy, the cluster reports a leader, and a test collection spreads its shards across all nodes.

  5. Configure replication for failure tolerance

    Engineers set the replication factor for each collection based on the availability target agreed with the business owner. A factor of 2 doubles storage, so the storage budget must reflect this choice before data loads. Done means a test node restart leaves queries working and the replicas show as in sync after recovery.

  6. Set backup and snapshot procedures

    The operations team schedules snapshots of collections, stores them on a separate encrypted volume or backup target inside the network, and writes a restore runbook. Test restores on a separate cluster and record how long they take at your data volume. Snapshot formats are tied to engine versions, so restore tests must run on the same version you plan to use. Done means a documented restore has completed successfully on an isolated test system.

  7. Validate recall and access controls

    Before any production load, the team loads a representative dataset, runs a set of known queries against a brute-force baseline, and measures recall and latency. They also test every API key and role, confirm that audit logs record authenticated operations, and verify that filtered queries return only permitted data. Done means recall meets the threshold set by the application owner and a signed test report is stored with the platform records.

  8. Connect applications after sign-off

    Application teams switch their services to the new endpoint only after the security and platform owners approve the test report. They use scoped keys per service, keep the previous retrieval path available until the switch is confirmed, and monitor errors and query latency. Done means the approval record, the key inventory and the first production monitoring review are filed together.

Where the vector store sits inside the enclosure and what can reach it

The diagram starts at the user's request inside the air-gapped enclosure, the trust boundary that has no outbound route to vendor endpoints. The retrieval API calls the embedding service and then the vector cluster over internal links only, whether that cluster is Qdrant nodes, Milvus with etcd and object storage, or PostgreSQL with pgvector. Administrators and the audit log path run separately, so reviewers can trace every API operation. Check that the enclosure has no default route out, that each internal link is authenticated and encrypted, and that the audit trail lives where the vector cluster cannot alter it.

Internal retrieval path, admin access and audit logging inside an enclosure with no vendor egress.

Choosing an option by estate and team skills

If your organization already runs PostgreSQL and the vector count is moderate, pgvector keeps embeddings in the same database as the relational data they describe. The operating load is largely the PostgreSQL work your team already does: backups, minor and major upgrades, replication and access control. pgvector is released under the PostgreSQL License and supports PostgreSQL 13 and later, so the extension adds no separate license to manage.

  • Operating capacity: A database administrator who already handles PostgreSQL backups, restores and upgrades can usually absorb pgvector without a new platform to run.
  • Index behavior: HNSW and IVFFlat indexes are approximate. Confirm recall against your own queries before relying on them, and check how memory and index build time behave at your data size.
  • Filtering: The README notes that approximate indexes apply filters after the index scan, so confirm that iterative index scans return enough results for your filtered queries.
  • Limits: Vector columns indexed with HNSW or IVFFlat are limited to 2,000 dimensions, so confirm your embedding model fits that limit.
  • Confirm in your environment: Ask your PostgreSQL vendor or internal DBA team whether the extension is approved for your database images, and whether vector workloads will share resources with transactional traffic.

If your team already runs PostgreSQL well, this is usually the smallest new skill set to add.

What does moving to an air-gapped vector database cost and require?

What are the cost components of running a self-hosted vector database offline?

The cost splits into hardware, staff time, support, backup and testing, and most of it is recurring. Hardware is the largest one-time item: Qdrant needs block-level storage with a POSIX-compatible file system, so you buy SSD or NVMe servers sized for vectors, memory, replicas and growth. Staff time recurs for patching, capacity planning and on-call. Support is optional for the open-source engines but is what you buy from Qdrant or Zilliz if you want enterprise features. Backups and restore testing need storage and a tested procedure, and they recur. Ask any quote to list each component separately so you can see what is one-time and what repeats each year.

Can our team run an air-gapped Qdrant or Milvus cluster without outside help?

Yes, if you already operate Kubernetes or Linux servers, storage, identity and monitoring in your own network. Qdrant's Apache-2.0 engine is free to self-host, and its installation docs describe single-node and Kubernetes paths. Milvus adds more moving parts: etcd for metadata, object storage such as MinIO, and a write-ahead log broker in distributed mode. Teams without that experience usually need outside help for the first build, hardening, and the upgrade and recovery runbooks. Whether to build in-house or bring in help depends on your staffing and on how many people can cover operations after handover.

How long does an air-gapped vector database deployment take?

No researched timeline is available for this page, so treat any duration you see as a claim to verify. Duration depends on the number of environments, whether you run a single node or a distributed cluster, how long network and security approvals take, how much identity integration is needed, and how much testing you require before go-live. Ask for a schedule that lists the approval gates separately from build and test work. A fixed-scope engagement from DeployOpen is agreed in writing before work starts, with scope, deliverables and timelines set out in that document.

What does the client need to provide for an on-premises vector search deployment?

Plan for three groups of inputs before any installation starts:

  • Network and security approvals: which subnets can reach the cluster, how it is segmented, and what change process applies inside the air gap.
  • Identity integration: how users and services authenticate, since Qdrant's security docs state that self-deployed instances listen on all interfaces with no authentication by default, so API keys, TLS and access roles must be set before anything connects.
  • Data owners: people who approve which source documents and metadata may be embedded, who sets retention, and who signs off on access by collection.

Missing any of these typically delays the project more than the software work does.

What do Qdrant's and Milvus's paid enterprise options add?

Qdrant's paid options are Qdrant Hybrid Cloud, which runs managed clusters on your own infrastructure, and Qdrant Private Cloud, a dedicated isolated enterprise deployment, both priced through Qdrant sales. Qdrant's enterprise Kubernetes operator is part of Private Cloud, and the docs say the community Helm chart lacks features such as zero-downtime upgrades and automatic shard rebalancing. Zilliz offers fully managed Milvus with Serverless, Dedicated and bring-your-own-cloud options, but those are cloud services, which may not suit a fully air-gapped network. Ask each vendor which features are included, what support covers, and whether the license permits offline installation before you assume the feature set.

How do I get a fixed-scope quote for an air-gapped vector database?

Send DeployOpen a written brief covering the workload, the number of collections or indexes, expected vector dimensions and volume, filtering and hybrid search needs, the network zones involved, identity provider, backup and retention rules, and the compliance evidence your auditors will request. DeployOpen plans, implements, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms inside your own infrastructure, including air-gapped networks, and most engagements are fixed-scope with agreed deliverables. DeployOpen does not publish a price list, so the quote follows from that written scope. Ongoing support and continuous testing are available as retainers.

What operating tasks continue after an air-gapped vector database goes live?

Operations after go-live include patching the engine and its dependencies, testing restores, monitoring capacity and performance, rotating API keys and certificates, and reviewing audit logs. Qdrant's JSON audit logging of authenticated API operations, added in v1.17.0, supports that review. Release tracking matters too: Qdrant's latest release on GitHub as of October 2026 is v1.19.2, published October 5, 2026, and Milvus runs two release lines, v3.0.3 and v2.6.25. Confirm your own upgrade path and rollback plan against those release notes before you schedule changes inside the air gap.

Evidence assessors ask for under an air-gapped design

An air-gapped design is only as credible as the evidence behind it. The six items below connect the architecture to the controls an assessor will test, and each one should be produced from the running system rather than written after the fact. DeployOpen prepares this evidence, but independent auditors issue any assessment outcome.

Network diagrams showing no egress

A current diagram should show every segment that holds the vector database, its embedding pipeline, its object storage and its clients, with each boundary and the rules that govern it. Mark every path that could leave the network and show that it is blocked, including DNS, package mirrors and container registries used during installation. Ask your team to confirm that the diagram matches the firewall and routing configuration on the day of review, since a diagram that drifts from reality is a finding in itself.

TLS and API key configuration

Assessors will want to see that a self-deployed Qdrant instance was not left in its default state, which listens on all interfaces without authentication. Capture the configuration showing TLS for REST and gRPC, the admin and read-only API keys in use, and how those keys are stored and rotated. Confirm that Milvus authentication and TLS are enabled, and that pgvector connections require encrypted PostgreSQL sessions.

Qdrant security docs

Access control matrix

Map each role, such as ingestion service, retrieval service, administrator and auditor, to the collections, databases or tables it may read or write. For Qdrant, record which JWT-based permissions grant per-collection read or write access. For Milvus, record role-based grants, and for pgvector, record the PostgreSQL roles and grants. The matrix should be signed off by the data owner, because it defines who can retrieve which documents.

Audit log samples

Export representative entries from the audit log for authenticated API operations, covering a successful write, a denied read and an administrative change to keys or roles. Check that each entry records who acted, what they did, when, and against which collection. Qdrant has provided JSON audit logging of authenticated API operations since v1.17.0, so confirm which version runs in your environment and where the logs are shipped inside the network.

Backup and restore test records

A backup that has never been restored is not evidence. Keep dated records of a snapshot taken, restored to a separate cluster and queried with a known set of vectors, along with the time the restore took and any discrepancies. Qdrant snapshots, Milvus object storage backups and pgvector logical or physical backups each need their own test. Record the version used for both the source and the target, because version compatibility affects whether a restore succeeds.

Recall and access validation reports

Retrieval quality and access controls both need proof. A recall report compares approximate search results against an exact baseline on a fixed query set, and records the index type, its parameters and the date. An access validation report shows that a user without permission cannot retrieve a restricted document, even through a near-duplicate vector. Ask your assessor which sample sizes and thresholds they expect before the tests run, so the report is not designed after the results are known.

What changes for your team after moving off Pinecone

Moving to a self-hosted engine such as Qdrant, Milvus or pgvector moves patching, upgrades, backups and capacity planning from Pinecone's operations staff to your team. Pinecone's managed service absorbs those tasks, so once vectors sit on your own hardware, someone must own the release calendar, the security patch process and the restore tests. For Qdrant, the community Helm chart lacks enterprise features such as zero-downtime upgrades and automatic shard rebalancing, so an air-gapped team should confirm early whether it needs the enterprise Kubernetes operator or can accept rolling restarts. Upgrades also need an offline path: you will download images, packages and release artifacts through your approved transfer process, then validate them in a staging enclave before production. Snapshots are only useful if you test restores on a schedule, and you should document who approves each upgrade.

Monitoring and capacity planning also become your job. Qdrant holds indexes in memory and needs block storage with a POSIX-compatible file system on SSD or NVMe, so memory headroom, disk latency and shard placement must be watched and forecast as the corpus grows. A replication factor of 2 doubles storage, and Qdrant's distributed docs recommend at least three nodes for production so quorum survives a node failure. Pinecone's per-unit billing hid these trade-offs, while your own hardware makes them visible. Ask whether your platform team can alert on node memory, replica health and query latency from inside the enclave, and whether your security team has approved the logging pipeline.

Index and embedding pipelines must run inside the network too. Embedding models, document parsers, chunking jobs and the ingestion services that write vectors all need approved model weights, internal package mirrors and access to source systems without an outbound internet path. Pinecone's documented read-out path, listing record IDs on serverless indexes at up to 100 IDs per page and then fetching records by ID, can serve as a migration source only where your network rules allow a connection from the enclave to Pinecone's API. In many air-gapped setups that connection is not permitted, so the safer route is to re-embed from your own source data inside the network. Confirm this decision with your security and compliance owners before cutover.

How DeployOpen deploys vector search inside your network

DeployOpen plans, implements, hardens and documents self-hosted vector search inside your own data center, cloud account or air-gapped network, so the engine and its data stay under your control. The work follows a fixed written scope from the first architecture review through handover and ongoing support.

How we scope

  • Map which document sets, embeddings and query paths must stay inside the network boundary.
  • Agree in writing the candidate engine, hardware profile, replication approach and recall targets.
  • Confirm storage type, since Qdrant needs block storage and cannot run on NFS or S3 object storage.

How we build

  • Install the chosen engine on your hardware or Kubernetes cluster, with TLS and API keys enabled before any data loads.
  • Configure access control, audit logging and backups to match your identity and logging standards.
  • Test security and recall on your own data, including filters, and document results before go-live.

How we hand over

  • Deliver architecture, configuration, runbooks and upgrade notes that your own operators can follow.
  • Provide evidence for your security and compliance reviews, such as access settings and audit log samples.
  • Walk through restore testing so your team has seen a recovery before production traffic depends on it.

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer, scoped in writing.
  • Plan version upgrades against the engine's release notes and test them in a staging copy first.
  • Retest access controls and configuration after changes, so drift from the documented baseline is caught.

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.