Skip to main content

From a pod-based index

You can’t migrate a pod-based index directly to dedicated read nodes. First complete Migrate a pod-based index to serverless, which creates a new on-demand index with your data. If that index has multiple namespaces, consolidate to one namespace, or plan a different architecture. Dedicated read nodes support only a single namespace.

From an on-demand (serverless) index

To migrate an existing on-demand index to dedicated read nodes (including one you created by migrating from pods), follow these steps:
1

Create a backup of your index

Before migrating, back up your index so you can return to on-demand later, either by converting back or by restoring the backup to a new on-demand index.
2

Delete extra namespaces

If your index has multiple namespaces, delete all of them except the one you want to keep. Dedicated read nodes support only a single namespace.
If this is a production index, be sure to make a backup before deleting namespaces. Or, if you need multiple namespaces, contact support to discuss early access to multi-namespace support for dedicated read nodes.
3

Calculate your index size

Determine how many shards you need by sizing your index.
4

Migrate the index

Call Configure an index. In the request body, in the spec.serverless.read_capacity object, set the following fields:This example migrates an index to dedicated read nodes using b1 nodes, one shard, and one replica:
The response includes two status fields:
If status.state is set to Error, the allocated number of shards was insufficient for the size of the index. Try again, adding more shards as needed.
5

Monitor the migration

Check the status until spec.serverless.read_capacity.status.state is Ready.
6

Verify performance

Confirm the index meets your latency and throughput targets.