Migrate from Zilliz Cloud to self-hosted Milvus

Moving from Zilliz Cloud to your own Milvus cluster is mostly a data, index and client-endpoint project. This page sets out what moves cleanly, what needs rework and how to sequence the cutover.

On this page

Migrate from Zilliz Cloud to self-hosted Milvus: what the move involves

Moving from Zilliz Cloud to your own Milvus cluster is a data, index, access and SDK endpoint project, and it runs on the same Apache-2.0 engine on both sides. Milvus is Apache-2.0 licensed and developed under the LF AI and Data Foundation with Zilliz as its primary contributor, so the collections, schemas and query behavior you already depend on carry over in principle. The work is in the details: getting the right Milvus version in place, moving the vectors and scalar fields, recreating indexes and partitions, and repointing every application at the new endpoint. Platform engineering usually owns the cluster, storage and access controls, while application owners own the recall checks and the endpoint switch, because only they know which queries must return the same results.

The effort and risk depend mostly on version matching. Milvus maintains two release lines, with v3.0.3 published on October 14, 2026 and v2.6.25 on September 29, 2026, so the first task is to confirm which version Zilliz Cloud runs and which version your cluster will run. Ask Zilliz for the exact version and read the Milvus release notes and backup compatibility notes for that pair before you plan a restore. If the versions do not match in a way Milvus Backup supports, plan to export vectors and scalar fields and rebuild collections, indexes and partitions with your own scripts, and budget test time for that path. Confirm the authentication, TLS and role-based access setup on the new cluster before any production traffic arrives, since none of that carries over automatically.

Which Zilliz Cloud capabilities map to self-hosted Milvus

This table maps the main Zilliz Cloud capabilities to what you get when you run open-source Milvus yourself. Read each row as clean (same behavior with your own setup), needs rework (possible, but you build or operate the parts), or gap (confirm before you commit). Managed-only items are flagged so you can check them against Zilliz documentation and your own requirements.

CapabilityZilliz CloudSelf-hosted MilvusStatus
Collections, vectors and scalar fieldsManaged collections with dense vectors and scalar fields defined in the schemaSame collection schema model in open-source Milvus; export and recreate with matching field typesClean
Index types (HNSW, IVF, FLAT, SCANN, DiskANN)Index choice and parameters set per collection on the managed clusterSupported in Milvus; confirm each index parameter and recall on your data after recreationNeeds rework
GPU indexing (NVIDIA CAGRA)Availability depends on the Zilliz plan and deployment optionSupported in Milvus, but you provision GPU nodes and drivers yourselfNeeds rework
BM25 full-text and sparse vectorsAvailable in the managed service, with sparse and hybrid searchSupported in open-source Milvus; re-run hybrid ranking tests after migrationClean
Partitions and partition keysConfigured per collection in the console or through the SDKSupported in Milvus; recreate partition keys before loading data to keep layoutClean
Multi-tenancy (database, collection, partition key)Tenant isolation configured through the managed serviceSupported in Milvus; you design and enforce tenant mapping in your own access modelNeeds rework
Authentication, TLS and RBACManaged identity and access controls in the Zilliz console and APIMilvus implements authentication, TLS and role-based access control; you issue certificates and map roles to your identity providerNeeds rework
Vendor-operated backup, SLA tiers and console toolingManaged backup, SLA tiers and console featuresNot provided by the open-source project; use Milvus Backup where versions allow and confirm your own recovery targetsGap

Which data, users and integrations must move

A Zilliz Cloud exit covers more than vectors. The data, schemas, index settings, users and the applications that call the cluster each need their own path and their own check. The cards below separate the items so each one gets an owner and a verification step before cutover.

Vectors and scalar fields

Vectors and their scalar fields are the core payload and the first thing to export. Export collection by collection, then compare row counts and sample primary keys against the target after each load. Confirm with Zilliz which export format and query limits apply to your collections, since large collections need paginated reads. Store the source schema alongside each export so the target can be checked against it.

Milvus architecture overview

Collection schemas and index settings

Collection schemas define field types, dimensions, primary keys and dynamic fields, and index settings define how search behaves. Neither is restored by a data export alone, so record both in version control before you recreate anything. Index type and parameters such as HNSW or IVF settings affect recall, so confirm them with a recall test on the target rather than assuming the defaults match.

Partitions and partition keys

Partitions and partition keys determine how data is grouped and filtered for tenants or categories. Document each partition name, its key field and the rows it holds, then recreate them before loading data. Missing partitions often show up later as slow or incomplete queries, so check that filtered queries return the same results on both clusters.

Users, roles and access

Authentication and role-based access control on Zilliz Cloud must be rebuilt on your own cluster, since user accounts and role grants do not move with the data. List every user, service account and role grant, then recreate them with least privilege. Confirm which account types the Zilliz export covers, and assume that anything not listed must be created again by hand.

Milvus Backup and version match

Milvus Backup can restore a backup into a cluster only where the versions are compatible, so check the source and target release lines before choosing this route. The Milvus releases page lists two active lines, and mismatched lines mean you should fall back to export and reload. Test one restore in a non-production cluster and record the result before planning cutover.

Line to verify
v2.6.25
Milvus releases

SDK endpoints, secrets and TLS

Every application that calls Zilliz Cloud holds an endpoint, an API token or credentials, and often a client-side TLS configuration. Inventory each one, move credentials into your secrets store, and issue TLS certificates for your domain before switching. Bold the cutover risk: a single service still pointing at the old endpoint will fail once the source is retired.

Ingestion jobs and pipelines

Scheduled loaders, streaming consumers and embedding pipelines write to the cluster and must be repointed or paused during cutover. List each job, its schedule and its target collection, then decide whether it dual-writes during the overlap. Confirm that ingestion resumes from a known checkpoint so no vectors are duplicated or dropped.

Migration sequence from inventory to decommission

This sequence moves Zilliz Cloud collections into a self-hosted Milvus cluster in controlled stages, so each collection is proven on the target before traffic changes. It ends with a documented cutover, a recall and latency record, and a retained rollback path before the Zilliz Cloud cluster is decommissioned.

  1. Inventory collections, versions and access

    Start by listing every Zilliz Cloud cluster, database, collection, schema, index type and index parameters, partition and partition key, and the users, roles and API keys that touch them. Record the Milvus release line your Zilliz Cloud cluster reports, and confirm with Zilliz which open-source release line matches it, since version compatibility decides whether a backup can restore. Also record which SDK versions and application endpoints read and write each collection. The output is a signed inventory sheet that a platform owner and a data owner both review, with every collection marked for pilot, full migration or retirement.

  2. Deploy the matching Milvus cluster

    Stand up a self-hosted Milvus cluster on the release line you confirmed in the inventory, choosing Standalone for a single-machine test or Distributed on Kubernetes for production. Plan the dependencies that the architecture documentation lists, including etcd for metadata, object storage such as MinIO, S3 or Azure Blob, and the write-ahead log. Enable TLS, authentication and role-based access control before any data arrives, and map the roles from the inventory onto them. The output is a health-checked cluster with documented versions, storage locations and a completed access configuration, reviewed by the security team.

  3. Pilot one collection on the matching release

    Choose one representative collection, ideally one with a non-trivial index and partition layout, and move it first. Export vectors and scalar fields from Zilliz Cloud, or re-ingest them from the source system of record if export is incomplete, then recreate the schema, index settings and partitions on the self-hosted cluster before loading. Confirm that row counts match, that the index builds and that load completes. The output is a pilot collection with a reconciliation report showing counts, checksums where available, and any fields that did not transfer.

  4. Run a parallel period with dual writes or replayed ingestion

    Keep Zilliz Cloud as the system of record while the pilot collection receives the same writes. Either have the ingestion pipeline write to both clusters, or replay the ingestion log into the self-hosted collection after each batch. Compare row counts and sample entity IDs between the two clusters on a schedule the platform team sets. The output is a dated log of discrepancies, each explained and closed, showing that the self-hosted copy stays in step with the source.

  5. Check recall and latency against the baseline

    Build a fixed set of query vectors that represent production traffic, run them against Zilliz Cloud to capture top-k results and latency as the baseline, then run the same queries against the self-hosted collection with the same search parameters. Compare overlap of returned IDs to measure recall, and compare latency at the percentiles your application cares about. Repeat the check after any index or parameter change. The output is a recall and latency report signed off by the application owner, with a stated acceptance threshold agreed before the test runs.

  6. Repeat for remaining collections and cut over

    Apply the same steps to the remaining collections in the order the inventory set, keeping a rollback route to Zilliz Cloud for each one until its check passes. For each application, switch the SDK endpoint, credentials and TLS settings to the self-hosted cluster in a change window, and confirm that reads and writes land on the new cluster. Keep the Zilliz Cloud writes paused or mirrored according to the rollback plan. The output is a cutover record per application listing the endpoint change, the time of switch and the verification query results.

  7. Decommission Zilliz Cloud after retention

    Once every application has run on self-hosted Milvus through an agreed retention window, take a final backup or export of the Zilliz Cloud collections and store it under your retention policy. Revoke Zilliz Cloud API keys and users, remove the endpoints from configuration and secrets stores, and then cancel or downgrade the Zilliz Cloud subscription after confirming the terms with Zilliz. Ask Zilliz in writing how data is removed and what the final invoice covers. The output is a decommission checklist signed by the platform owner and the security lead, with the retained export location recorded.

Why matching Milvus versions decides the restore path

Matching versions is the first decision in this migration, because it determines whether you can restore a Zilliz Cloud backup into your own cluster or must rebuild the data by hand. Milvus currently maintains two release lines: the v2.6.x line, with v2.6.25 published on September 29, 2026, and the v3.0.x line, with v3.0.3 published on October 14, 2026, according to the Milvus GitHub releases page. Check which line and patch level your Zilliz Cloud cluster runs, and which line your self-hosted cluster will run, before you write any plan.

The target cluster must run a version that can read the backup's format. Do not assume that a newer target can always read an older backup. Confirm the exact compatibility rules for your source and target versions with Zilliz, and read the Milvus Backup documentation for the version you plan to deploy. Ask Zilliz which Milvus version your cluster runs, whether backups can be exported in a form you can take out of the service, and whether any restrictions apply to Zilliz-specific settings. Record the answers in the migration runbook so the restore decision rests on written facts rather than memory.

When the versions do not line up, plan for a re-export and re-ingest instead of a direct restore. In that path, you read vectors and scalar fields out of the source collections, recreate the schemas, indexes and partitions on the target, and load the data again, then run the recall check described in the next section. This path takes longer and needs more compute and storage capacity during the load, so size it before the cutover window is fixed.

What drives the cost and duration of the move

This table compares the main cost and effort drivers for moving Zilliz Cloud collections to a self-hosted Milvus cluster, showing who pays for each item and whether it is one-time or recurring. Use it to shape the questions you put to a migration partner and your own cost model, since most of the duration comes from data volume, index rebuilds and the operations skills your team already has.

DriverWhy it changes cost or effortWhat to ask for or confirm
Collection count and vector volumeEach collection needs its own schema, index and load step, and total vector volume sets how much data moves and how long the export and import runAsk for an inventory of collections, row counts, vector dimensions and index types, and a transfer plan per collection
Embedding re-generationIf vectors cannot be exported in a usable form, the source embedding model must run again over the original documents, which adds compute, model access and a validation stepConfirm with Zilliz which export paths apply to your collections, and whether your source documents and embedding model version are still available
Index rebuild time on the new clusterIndexes such as HNSW, IVF, DiskANN or GPU-based CAGRA are built on the target hardware, so rebuild time scales with volume and index choiceAsk the partner to benchmark rebuilds on a copy of a representative collection and report the hardware used
Object storage and etcd capacityMilvus stores segments in MinIO, S3 or Azure Blob and keeps metadata in etcd, so storage is paid monthly and grows with data, backups and retentionAsk for the storage class, replication settings, backup retention and the monthly cost model your provider will charge you
In-house Kubernetes and operations skillsDistributed Milvus runs on Kubernetes with a coordinator, worker nodes and a write-ahead log, so upgrades, scaling and incident response need staff who already run these componentsList which people already operate Kubernetes, object storage and message queues, and whether the work is covered by an internal team or a retainer
Parallel-run durationRunning the old and new clusters side by side for recall and latency checks keeps two environments paid for until the cutover is acceptedAgree the length of the parallel run and the acceptance criteria in writing before work starts
Security review and access controlsAuthentication, TLS, role-based access control, network policy and audit logging must be configured and evidenced before production data moves, which adds review timeAsk for a written security configuration baseline and the evidence your assessors will expect to see

What usually goes wrong and how to prevent it

Most failed Zilliz Cloud exits are not data loss. They are quiet differences in versions, index settings, tenancy, access control and client configuration that only show up after cutover. Each card below names one such failure and the check that catches it before users do.

Version mismatch on restore

A backup taken from a managed cluster may not restore into the open-source Milvus release you deploy, and you may not know which release Zilliz Cloud runs underneath. Before you pick a target, confirm the source and target versions against the compatibility rules in the Milvus backup documentation, and run a restore of one non-critical collection into a staging cluster. Record the exact Milvus version in your runbook.

Milvus architecture docs

Recall drift after index rebuilds

Rebuilding an index with different parameters, or a different index type such as HNSW against IVF, changes which nearest neighbors come back, so search results can look fine while relevance quietly drops. Capture the index type and build parameters from Zilliz Cloud before you rebuild. Then run a fixed set of reference queries against both systems and compare the top results before you switch traffic.

Dropped partition keys and tenancy settings

Partition keys, partitions and database-level isolation are easy to omit when recreating collections by hand, and a missing partition key can turn a tenant filter into a full-collection scan or expose one customer's vectors to another's queries. Export the schema, partition definitions and any multi-tenancy settings, then diff the recreated collection against the source. Test a query scoped to each tenant.

Lost users and roles

Zilliz Cloud accounts, database users and role grants do not move with the vectors. Applications that connected as a service user can fail on day one, or worse, teams recreate broad admin access to get unblocked. Inventory every user and role, map each to the least privilege it needs in self-hosted Milvus, and confirm that authentication and TLS are enabled before any application connects.

Unnoticed endpoint and TLS changes

Moving to a new host changes the URI, port, certificate chain and sometimes the TLS settings the SDK expects. Clients that hard-code the old endpoint, or that silently skip certificate verification to get connected, keep working in testing and fail or weaken security in production. Search your codebases and configuration repositories for the old endpoint and token, update them together, and confirm certificate validation is enforced.

Running out of object storage or etcd capacity

A self-hosted Milvus cluster depends on etcd for metadata and on object storage such as MinIO, S3 or Azure Blob for segment data, and both can fill up during a bulk import or a backup run. Size both from the data volume you measured in the source, set alerts well before capacity limits, and keep etcd on fast, dedicated disks. Check the write-ahead log backend too, since it also consumes resources during imports.

How the move differs by size and starting point

A single small collection is the lightest case. Milvus Lite runs as a Python library for development and small workloads, and Milvus Standalone runs on one machine. For a collection like this, the export and recreate steps are short, and the main risk is that a developer's local setup quietly becomes the production store with no backups, authentication or TLS configured. The Milvus README lists authentication, TLS and role-based access control as features to enable, so decide before cutover whether a single node meets your availability needs.

  • Schema and index first: Recreate the collection with the same field types, vector dimensions and metric type, then choose an index such as HNSW or IVF for the restored data.
  • Lite versus Standalone: Lite suits prototypes and tests, while Standalone is the realistic minimum for shared use and needs its own storage and backup plan.
  • Backups on a single machine: Without a second node, plan where snapshots of the data directory or Milvus Backup output will be stored.
  • Access controls: Turn on authentication and TLS before pointing applications at the new endpoint.
  • Version pinning: Install the same Milvus version line as the source where possible.

Before cutover, confirm the Zilliz Cloud version, the target Milvus version and the recall results on a sample of real queries.

Running both platforms in parallel and cutting over safely

The safest cutover keeps both clusters receiving the same writes until the team has proven that Milvus returns what Zilliz Cloud returns. Dual ingestion means the application writes each new or changed vector to Zilliz Cloud and to the self-hosted cluster, or replays the write log into the new cluster after the snapshot. Which of these is workable depends on how your application writes today, including batch jobs, upserts and deletes. Confirm the write-path behavior with your application team before anything goes live, especially how deletes and partial failures are retried, because a missed delete on one side will show up later as a recall problem that looks like an index issue.

Before the switch, run a fixed test set of query vectors against both collections and record the top-k IDs, scores and any scalar filter results. Compare overlap and recall on the same index settings, and expect small differences where index types or parameters differ between the two sides, so agree on an acceptable threshold in advance. Keep the test set, the query parameters and the comparison script under version control so the result can be reproduced. Check that hybrid searches using BM25 or sparse vectors, partition keys and role-based access controls return the same results for the same identities, since these are the features most often misconfigured on a new cluster.

Keep the Zilliz Cloud project readable and its credentials valid until the cutover is accepted by the business owner, not just by the engineering team. Rollback then means pointing the SDK endpoint and credentials back to Zilliz Cloud, which only works if writes made during the parallel period were also applied there. Freeze schema changes, index rebuilds, collection drops and user or role changes on both sides for the switch window, and pause non-essential batch writes so the comparison stays valid. Document who can approve the switch and who can trigger rollback, and confirm with your vendor or your own environment how long the Zilliz Cloud project remains available after you stop paying for it.

Questions buyers ask before moving off Zilliz Cloud

How much effort does a move from Zilliz Cloud to self-hosted Milvus take?

The effort depends mostly on how many collections you have, how large they are, which index types and partitions they use, and how many client applications point at the endpoint. The work splits into standing up the Milvus cluster and its dependencies (etcd for metadata, object storage such as MinIO, S3 or Azure Blob, and a write-ahead log such as Woodpecker, Kafka or Pulsar), exporting data, recreating schemas, indexes and partitions, validating recall, and switching SDK endpoints. Each collection is a repeatable unit of work, so the count and complexity of collections is the best input for a scoped estimate. Ask any implementation partner to break the quote down by these steps and by collection group.

Can Milvus Backup restore data exported from Zilliz Cloud?

Only if the versions line up, and you must confirm that before planning around it. Milvus publishes two release lines, with v3.0.3 dated October 14, 2026 and v2.6.25 dated September 29, 2026, so a backup taken from one line may not restore into the other. Check the Zilliz Cloud version, the version you plan to run, and the Milvus Backup release that supports both. Where a direct restore is not possible, the fallback is a data export and reinsert, which is slower and needs recreated schemas, indexes and partitions. The data export and version compatibility rules are covered in the Zilliz Cloud export guide linked from this section.

How long should the parallel run last before cutover?

The parallel run should last until recall and latency on your own workload match what Zilliz Cloud returned, across the query patterns your applications actually send. The length is set by how often your data changes and how many query types you run, not by a fixed calendar period. Plan for at least one full cycle of your normal write and read traffic, including any batch re-indexing, hybrid dense plus sparse queries and filtered searches. Agree the acceptance thresholds in writing before the parallel run starts, so the cutover decision rests on measured results.

What does our team need to provide for the migration?

You need to provide a named owner for the Zilliz Cloud account and the target environment, read access to collection schemas, index settings and partitions, and a list of client applications and SDK versions that will change endpoints. You also need a Kubernetes environment or a single-machine host for Standalone, object storage, an etcd and message queue plan, and network paths for TLS and authentication. Your security team should define the Milvus users, roles and TLS certificates before the cutover. Ask any partner to list these inputs in the written scope so gaps are found before the schedule is set.

Can our own engineers run the migration without outside help?

Yes, many teams can, provided they have Kubernetes or container operations skills, experience with object storage and a message queue, and someone who can validate recall on real queries. The main risks in self-run moves are version mismatches, index parameters that are not carried over, and endpoint switches that are not rolled back cleanly. Milvus Lite and Standalone let an engineer test schemas and queries before committing to the Distributed deployment. If the skills or time are not available, an implementation partner can plan, implement and document the move under a fixed scope with written deliverables.

What happens to our SLA and vendor support after cutover?

After cutover, the Zilliz Cloud service level agreement no longer applies to the cluster you run, and vendor support for the managed service ends with the subscription. Your own operations team, or a support retainer, becomes responsible for upgrades, backups, monitoring and incident response. Confirm the exact end date, notice period and any data retention terms in your Zilliz Cloud contract before scheduling cutover. Milvus itself is Apache-2.0 licensed and maintained under the LF AI and Data Foundation, so community support and the project's own release process are available, but they carry no contractual response time unless you buy one.

Is self-hosted Milvus licensed for commercial use?

Milvus is licensed under Apache-2.0, which permits commercial use, modification and redistribution under the license terms. The license does not cover your cloud or hardware costs, nor the staff time needed to operate the cluster. Confirm that your open-source inventory and software bill of materials list Milvus with its Apache-2.0 license, and check the licenses of its dependencies, such as etcd, MinIO or the message queue you choose, since they carry their own terms. Legal review is the right place to confirm this for your organization.

What should we check first to decide whether the move is worth it?

Start with the cost components on each side: the Zilliz Cloud plan and usage charges, versus the Kubernetes nodes, storage, network, dependency operations and engineer time for self-hosted Milvus. Then check data residency and access requirements, because a self-hosted cluster keeps vectors inside your own accounts and network. Finally, confirm that your required features, such as BM25 full-text search, sparse vectors, hybrid search, multi-tenancy and role-based access control, are available in the self-hosted release you plan to run. A short written scope and quote from a partner turns these checks into a decision.

How the migration phases and data paths connect

The diagram starts with an inventory of collections, schemas, indexes and partitions in Zilliz Cloud, then splits into two paths: exporting data out of the managed service and re-ingesting it, or restoring a Milvus Backup where versions allow. Both paths land in a self-hosted Milvus cluster whose metadata sits in etcd, whose segments sit in object storage, and whose writes pass through the write-ahead log. Check recall on a sample before the SDK endpoint switch at cutover, because that step is the point of no return for application traffic.

Migration phases from inventory to cutover, with export, restore and re-ingest paths.

How DeployOpen scopes and runs the migration

DeployOpen plans and implements the self-hosted Milvus cluster inside your own infrastructure, then moves your collections across with a written scope that names every collection, index and access path in the move. The work is fixed-scope, so the collections, recall checks, cutover steps and handover documents are agreed in writing before any data is copied.

How we scope

  • Inventory every collection, its schema, index type, partitions and partition keys in Zilliz Cloud before any copy starts.
  • Confirm which Milvus version your target cluster will run and whether a Milvus Backup restore is possible between your source and target versions.
  • Agree in writing which applications, SDK endpoints and user accounts switch during cutover, and which stay on Zilliz Cloud until retired.

How we build

  • Deploy the target Milvus cluster in your infrastructure with authentication, TLS and role-based access control configured from the start.
  • Recreate collections, indexes and partitions from the exported schema settings, then load vectors and scalar fields in resumable batches.
  • Run recall checks against agreed queries on both clusters, and record the results so a cutover decision rests on measured evidence.

How we hand over

  • Deliver runbooks covering cluster operation, backup schedules, restore steps and the SDK endpoint changes your teams need to make.
  • Document the recall check method, query set and results, so your compliance and security reviewers can trace how the migration was verified.
  • Walk your platform and data teams through the cluster, then transfer administration to them in the agreed handover session.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover, covering Milvus version upgrades in your environment.
  • Retainer scope for backup testing, restore drills and periodic recall regression checks can be agreed in writing with your team.
  • Ask for the written scope, the list of deliverables and the retainer terms in the quote before committing to a migration window.

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.