Zilliz Cloud vs self-hosted Milvus

Zilliz Cloud and self-hosted Milvus run the same Apache-2.0 engine family, so the choice comes down to who operates the cluster, where data sits and what your team can run. This page sets out when each fits.

On this page

Which fits: Zilliz Cloud or self-hosted Milvus for your vector workload

Choose Zilliz Cloud when your team wants Milvus without operating it, and self-hosted Milvus when data location, network isolation or existing Kubernetes skills outweigh the cost of running the stack yourself. The deciding factors are operating capacity, where the vectors and their metadata must live, how much uptime you must contractually guarantee, and how large your collections will grow. Both options run the same Apache-2.0 engine, so the question is who carries the operational load and where the data sits.

Zilliz Cloud fits teams that have no spare platform engineers for etcd, object storage, the write-ahead log and Milvus upgrades, and that need a vendor-backed service level. The Standard through Business Critical tiers are the place to check whether the contractual SLA, support response and features such as cross-region backup match your requirements, and the Bring Your Own Cloud option keeps data in your cloud account while Zilliz operates the service. Confirm the exact feature list per tier with Zilliz before you rely on it, since the tiers change.

Self-hosted Milvus fits when residency rules, air-gapped networks or policy require the vectors, scalar fields and backups to stay in infrastructure you control, or when your Kubernetes team already runs stateful workloads with the required backup and access controls. Milvus provides authentication, TLS and role-based access control, so the controls exist; your team must configure them, rotate credentials and prove them to auditors. Expect to own the upgrade path, the etcd backup plan and the Kubernetes control plane that Milvus depends on.

Before you decide, ask Zilliz for the SLA terms in writing, map your current data residency and operational staffing against the Milvus architecture, and estimate your collection sizes and query volume with a pilot. If your renewal is near, use the export and version compatibility checks as leverage in the conversation, not as a plan you have not tested.

Which option fits which scenario

This table matches common situations to the option that usually fits better, with the reason tied to deployment modes, dependencies and managed features. Read each row against your own team size, residency rules and traffic before deciding, since the right answer depends on who will operate the cluster.

ScenarioBetter fitReason to check
Small team with no Kubernetes operatorsZilliz Cloud (managed)Self-hosted distributed Milvus runs on Kubernetes and depends on etcd, object storage and a write-ahead log, so someone must operate all of them.
Prototype or local developmentMilvus Lite or StandaloneMilvus Lite runs as a Python library and Standalone runs on one machine, so you can test schemas and search quality without a cluster.
Regulated workload that must stay in your accountSelf-hosted Milvus or Zilliz Cloud BYOCSelf-hosted keeps data and access fully under your controls, while BYOC keeps data in your cloud account but runs the service under Zilliz operations; confirm which controls your assessor accepts.
Team that wants a managed service inside its own cloud accountZilliz Cloud BYOCBYOC removes most day-to-day cluster operation while data stays in your account; confirm which features and backup options apply to your plan.
High-volume production search with in-house platform engineersSelf-hosted distributed MilvusOperating the cluster directly gives your team control over node sizing, index choice (HNSW, IVF, DiskANN or GPU CAGRA) and upgrade timing.
Team that already runs Kubernetes, etcd and object storage wellSelf-hosted MilvusExisting operators can reuse the platform skills they already have, so the main new cost is Milvus-specific tuning and on-call coverage.

Where your vectors and metadata live under each model

Serverless runs Milvus as a managed service in Zilliz's infrastructure. Your collections, scalar fields, indexes and metadata are stored in storage that Zilliz operates, and your team works through API credentials and database users. Zilliz runs the nodes, metadata services and object storage, so your control over the underlying infrastructure is limited to what the service exposes.

  • Data location: Records are stored in Zilliz-operated infrastructure. Ask which regions are offered and whether a collection can be pinned to one region.
  • Keys and access: Your administrators manage API keys and Milvus users. Ask which Zilliz staff can reach the data plane and what internal controls govern that access.
  • Audit trail: Ask which activity logs customers can export, how long they are kept, and whether they record data access as well as administrative changes.
  • Compliance evidence: Request Zilliz's current assessment reports and its shared responsibility statement. This is vendor-level evidence and says little about how your own applications use the service.

Before you sign, confirm in writing the regions, log retention, subprocessors and the evidence Zilliz will share under your contract.

How the self-hosted Milvus parts fit together

The diagram starts at the client application, which sends reads and writes to stateless proxies inside the cluster boundary. Proxies hand writes to the write-ahead log, and worker nodes consume it to build segments that land in object storage, while coordinators track metadata held in etcd. Every arrow in that path is a dependency you install, patch, back up and monitor yourself. Check which object store and log backend your team will operate, and who owns etcd backups and restores.

Milvus Distributed components and dependencies inside a client-run Kubernetes cluster.

What you must run yourself with open-source Milvus

Zilliz Cloud hides the cluster, its storage and its security plumbing behind a service contract. With open-source Milvus, each of these layers becomes a platform you build, back up, secure and upgrade yourself. The cards below cover the Kubernetes and storage components that carry that load.

Control plane high availability

A production Kubernetes control plane needs at least three control plane nodes behind a TCP load balancer on port 6443, either with stacked etcd on the same nodes or with an external etcd cluster. etcd should run with an odd number of members, and Kubernetes recommends five members in production. Check which topology your team can staff and monitor, since the choice changes failure behavior and upgrade steps.

Recommended etcd members
5
kubeadm HA guide

etcd backups and restores

etcd holds the Kubernetes cluster state, so losing it means losing the cluster. Schedule snapshots with etcdctl snapshot save, store them off the cluster, and rehearse restores with etcdutl before you need one. Zilliz Cloud carries this duty for you under its service terms, so ask your team who owns the restore runbook and how often it is tested.

etcd operations guide

Secrets encryption and RBAC

Kubernetes stores Secrets unencrypted in etcd by default, which includes the credentials Milvus uses for authentication, object storage and the message queue. Configure encryption at rest, restrict list and watch access with least-privilege RBAC, or pull credentials from an external store through the Secrets Store CSI Driver. Confirm how Milvus role-based access control maps to these Kubernetes roles before go-live.

Secrets good practices

Object storage and deep dependencies

Milvus Distributed separates storage from compute and keeps data in MinIO, S3 or Azure Blob, with etcd holding metadata. Each store needs its own sizing, replication, encryption and backup plan, and an outage in one of them stalls ingestion or queries. Confirm which object store your residency rules allow and who operates it, because Zilliz Cloud manages these tiers on your behalf.

Write-ahead log choice

Milvus writes incoming data through a write-ahead log, using Woodpecker, Kafka or Pulsar depending on your configuration. Each option adds a distributed system to size, patch, monitor and recover, and it changes how durable writes are during node failures. Decide which log you will operate before you size the cluster, and confirm the supported combination for your Milvus release on the architecture documentation.

Milvus architecture overview

Upgrade skew and version paths

Kubernetes requires kube-apiserver to move one minor version at a time, to upgrade it before the controller manager, scheduler and kubelets, and it allows kubelets to be up to three minor versions behind. Milvus runs on two release lines, so pick one and plan Milvus upgrades separately from Kubernetes upgrades. Confirm each Milvus upgrade path against the releases page before you schedule it.

Milvus releases

How cost of ownership splits between a managed service and self-hosting

On Zilliz Cloud, most of the bill is a single line of usage and tier. Serverless and Dedicated clusters are priced on capacity consumed, and the SLA tier you choose (from Standard through Business Critical) changes what you pay for beyond raw compute and storage. Zilliz's pricing page is the place to read the current unit definitions, and a quote should state the vCU or cluster sizing assumed, the storage and backup charges, data transfer, support level and any minimum commitment. Costs rise with vector count, dimensionality, index choice and replication, and fall when you can tolerate a lower SLA tier or right-size collections. You pay Zilliz for the operations, so the recurring cost is predictable, but it scales with your footprint rather than with your team.

Self-hosting moves the same cost into line items you own. Expect recurring charges for Kubernetes worker nodes sized for query and data nodes, object storage such as MinIO, S3 or Azure Blob, a write-ahead log (Woodpecker, Kafka or Pulsar), and the etcd cluster that holds Milvus metadata. Etcd needs an odd number of members, and the Kubernetes documentation recommends five in production, so budget for those nodes and their backups. The largest variable is engineering time: one-time work covers architecture, deployment, hardening and the migration itself, while recurring work covers on-call, Kubernetes minor upgrades (roughly three releases a year), Milvus upgrades on the v2.6 or v3.0 lines, etcd snapshot testing and capacity reviews. Confirm with your platform team whether these hours already exist in their roster.

Before comparing totals, ask for three things in writing: a Zilliz quote that states the tier, sizing and usage assumptions for your expected vector count and query rate, a sized self-hosted design with node counts per role, and an honest estimate of the people hours for on-call and upgrades. Then model the volumes where each side wins. Managed pricing usually looks better for small or spiky workloads that do not justify a dedicated platform team, while steady, large workloads with existing Kubernetes operations tend to shift the balance toward self-hosting. Run both models under the same growth curve, because the crossover point depends on how fast your collections grow.

Cost components, one-time and recurring, and what drives them

Zilliz Cloud bundles most of the operating cost into one usage or subscription line, while self-hosted Milvus spreads it across infrastructure, dependencies and people. Each card below names one component, whether it is one-time or recurring, what moves it, and what to request before comparing totals.

Zilliz Cloud subscription or usage fees

On the managed side, you pay Zilliz for the service tier, the capacity it provisions and the SLA level you select, and these fees recur for as long as the cluster runs. Serverless and Dedicated plans price differently, so the same workload can land in different cost bands. Ask for the unit basis of the quote, the included storage and backup allowances, what counts as overage, and which SLA tier applies to each cluster you need.

Milvus architecture overview

Kubernetes nodes and compute

Self-hosted Milvus runs on Kubernetes, so you pay your cloud provider or data center for worker nodes, control plane nodes and spare capacity for upgrades and failover. Node count is driven by query concurrency, index memory and the headroom you keep for rolling upgrades. Ask your provider or platform team to size proxies, coordinators and worker pools separately, because the managed quote already bundles that work.

Object storage and its requests

Milvus uses MinIO, S3 or Azure Blob for stored segments, so you pay for capacity, request volume and cross-zone traffic on those buckets. Storage grows with vector count, dimensionality and index type, and request charges rise with compaction and heavy query load. Confirm how Zilliz Cloud prices storage and backup separately from compute before you compare the two totals.

Milvus architecture overview

Write-ahead log and messaging

The write-ahead log is Woodpecker, Kafka or Pulsar, and each choice carries its own nodes, disks and retention settings. A Kafka or Pulsar cluster is a separate system to size, patch and monitor, while Woodpecker reduces that footprint but is still infrastructure you own. Ask which option the managed service uses internally and whether your self-hosted design needs a separately licensed or supported messaging service.

etcd, backups and recovery testing

etcd holds Milvus metadata and needs an odd number of members, with five recommended for production. Recurring costs include the nodes, snapshot storage and restore drills, which are one-time to design and recurring to run. Managed Zilliz Cloud backup and restore is billed as a service line, so check its retention, cross-region options and restore time before you assume the self-hosted backup plan is equivalent.

Operating etcd clusters

Staff time for operations and upgrades

Self-hosted operations are the largest recurring cost that does not appear on an infrastructure invoice. Milvus releases run on two lines, and Kubernetes ships about three minor versions a year, so someone must plan upgrades, respect the version skew rules and keep dependencies current. Estimate on-call coverage and upgrade hours from your own team, and compare that with any support tier or response commitment you would buy from Zilliz.

Kubernetes releases a year
3
Kubernetes version skew policy

Security testing and compliance evidence

A regulated buyer pays for evidence either way, but the source differs. Managed service evidence comes from Zilliz's own attestations and your contract terms, while self-hosted evidence means you configure and document authentication, TLS, role-based access control, Secrets encryption and Pod Security settings yourself, then have them tested. Ask Zilliz which reports it can share, and budget independent testing and assessment fees for your own environment as a one-time cost with periodic retests.

What moving from Zilliz Cloud to self-hosted Milvus involves

The sequence turns a managed Zilliz Cloud deployment into a self-hosted Milvus cluster that holds the same collections, indexes, access rules and query behavior, verified against a recall check before traffic moves.

  1. Match Milvus versions on both sides

    Confirm which Milvus version your Zilliz Cloud instance runs and choose a self-hosted Milvus release from the same line. Milvus publishes two release lines, so the target must be on a version that can read your backup or snapshot format. Ask Zilliz which engine version your instance uses and check the Milvus release notes before installing anything. The step is done when you have a written version pair and a test cluster running it.

  2. Inventory schemas, indexes, partitions and users

    Record every database, collection schema, vector field, scalar field, index type and parameter, partition and partition key, and the users and roles attached to them. The inventory is what you rebuild against, so it must come from the source, not from memory. Export the schema definitions and index settings as files your team can review. The step is done when the inventory matches the source instance field for field and a second engineer has signed off on it.

  3. Export vectors and scalar data

    Move the stored vectors and scalar fields out of Zilliz Cloud into files or a staging store that your self-hosted cluster can read. Use the export path described in the data export guidance, and confirm which fields and metadata come through in what form. Large collections take longer to export, so plan the window with the actual data volume. The step is done when row counts and a sample of record IDs match between source and staging.

  4. Recreate collections, indexes and partitions

    Create the collections on the self-hosted Milvus cluster using the schemas from the inventory, then build the same indexes with the same parameters and create the partitions or partition keys. Index build time depends on data volume and hardware, so confirm capacity with your own test load. Load the exported data into the new collections in the order the source used. The step is done when each collection reports the expected entity count and every index is built and loaded.

  5. Restore with Milvus Backup where versions allow

    If the version pair is compatible, use Milvus Backup to restore collections, which carries schema and data together and reduces manual recreation. Restore depends on version compatibility, so a backup taken from one release line may not restore into another. Where the restore is not supported, fall back to the export and recreate path. The detailed backup, export and version rules sit on the sibling migration and export pages. The step is done when the restore log shows no errors and collection counts match the inventory.

  6. Rebuild users, roles and access controls

    Milvus authentication, TLS and role-based access control do not move automatically with the data, so recreate the users, roles and privileges on the self-hosted cluster from your inventory. Confirm that TLS is enabled on client connections and that each application account has only the privileges it needs. Confirm the credential handling for the new cluster in your secrets store. The step is done when a test client connects with each role and is denied the operations it should not perform.

  7. Switch SDK endpoints after a recall check

    Run the same benchmark queries against Zilliz Cloud and the self-hosted cluster, comparing top-K results and recall for representative queries, including hybrid and filtered searches. Only after the results are acceptable, point SDK connection settings at the new endpoint in a staged rollout, keeping the Zilliz Cloud endpoint available until the new one has run under real traffic. The step is done when the recall comparison is signed off and application traffic is served from the self-hosted endpoint.

Common questions before choosing or moving

How much effort does it take to self-host Milvus?

Effort depends mostly on which deployment mode you pick and how many dependencies you must run yourself. Milvus Lite is a Python library, Standalone runs on one machine, and Distributed runs as a Kubernetes-native cluster. A Distributed deployment is the one that matches Zilliz Cloud's scale, and it adds work in four areas: the Kubernetes cluster, etcd for metadata, object storage such as MinIO, S3 or Azure Blob, and a write-ahead log such as Woodpecker, Kafka or Pulsar. Each of these needs its own upgrades, backups, monitoring and on-call coverage. Ask your team to list every component it would own before comparing the work with the managed service.

Can a small team run self-hosted Milvus in production?

A small team can run it, but only if it already operates Kubernetes and understands stateful services. The Kubernetes project maintains only its three most recent minor releases, so the cluster needs regular upgrades, and the version skew policy requires control plane components to be upgraded in a fixed order. etcd should run with an odd number of members and needs tested snapshot backups. Count the people who can take a pager at night and who can restore etcd or object storage without guesswork. If that bench is thin, a managed option or a retainer may suit you better than a single engineer learning the stack under pressure.

How long does a migration from Zilliz Cloud to self-hosted Milvus take?

No supplied figure sets a fixed duration, so treat any timeline as something to agree in writing. The main drivers are the number and size of collections, whether your Milvus version on the target matches the source, how many indexes, partitions and users must be recreated, and how long a recall check takes against your real queries. Restores through Milvus Backup only work where versions allow, so a version mismatch can turn a restore into an export and re-ingest project. Ask for a scope that lists each collection, its volume and the validation steps before agreeing to a schedule.

Can I export my vectors out of Zilliz Cloud?

You should confirm the exact export options with Zilliz for your plan and version before you depend on them. In general, plan to take out vectors and scalar fields, collection schemas, index settings, partitions and user definitions as separate pieces of work, because a backup file may not carry all of them. Check version compatibility first, since the Milvus version on your target determines whether a backup restores cleanly. Keep an export of your embedding source data as well, so you can regenerate vectors if a format or model change makes the stored ones unusable.

Is Milvus Lite ready for production use?

Confirm this with the Milvus project before you decide. Milvus Lite is documented as a Python library for local development and prototyping, while production workloads are normally expected to use Standalone or Distributed deployments. Check the current README and release notes for the version you plan to use, including any stated limits on scale, concurrency and high availability. If your team plans to run Lite behind an application, test failure and restart behavior as part of your own validation.

What does the work need from my organization?

You need a Kubernetes environment you can operate, object storage with clear backup rules, a message queue for the write-ahead log, and identity and access controls for the database itself. Milvus implements authentication, TLS encryption and role-based access control, but you must configure them, rotate credentials and set network policy. Secrets belong in encrypted storage, since Kubernetes stores Secrets unencrypted in etcd by default unless you enable encryption at rest. You also need named owners for upgrades, capacity planning, monitoring and incident response, plus a place to keep runbooks current.

Can DeployOpen run the self-hosted Milvus setup for us?

Yes, DeployOpen plans, implements, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts, and ongoing support and upgrades are available as retainers. DeployOpen does not publish a price list, so a quote follows from the written scope. If your team wants to do the work itself, the upstream documentation for Milvus and Kubernetes is the place to start, and a scoping call can show which parts are worth handing over.

Primary sources for the self-hosted and managed comparison

Start with the Milvus source and release record before comparing any plan or SLA. The milvus-io/milvus repository states the Apache-2.0 license and the LF AI and Data Foundation governance, and the Milvus GitHub releases page shows the two active release lines. Check which line your collections were built on, because Zilliz Cloud and your own cluster must run versions that your restore path supports. Then read the Milvus architecture overview to list every dependency you would own yourself: etcd for metadata, MinIO, S3 or Azure Blob for object storage, and Woodpecker, Kafka or Pulsar as the write-ahead log.

Next, treat the Kubernetes sources as the operating contract for the self-hosted side. The Kubernetes releases page and the version skew policy set the upgrade order and how long each minor version receives patches, which determines how often your team must upgrade the cluster under Milvus. The kubeadm high availability guide and the etcd operations guide cover control plane topology and etcd backups, and both should be reviewed by the team that will carry the pager.

Finally, verify the security controls that Zilliz Cloud handles for you. Review Milvus authentication, TLS and role-based access settings against the Kubernetes authentication documentation and the Secrets good practices page, which states that Secrets are stored unencrypted in etcd by default. Ask Zilliz in writing which SLA tier, backup scope and identity integrations apply to your plan, and confirm each answer against your own environment before relying on it.

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.