From scratch
1
Create the index
Call Create an index. In the request body, in the This example creates an index with two shards and one replica:The response includes two status fields:
spec.serverless.read_capacity object, set the following fields:To learn how to determine the number of shards and replicas your index requires, see Calculate the size of your index.
When creating a dedicated read nodes index,
status.state transitions to Ready as soon as the index is ready for reads and writes.However, spec.serverless.read_capacity.status.state remains Migrating until the index scales to its full read capacity, at which point it transitions to Ready.From a backup
1
Restore the backup
Restore the backup to a new on-demand index with the same data as the original.
2
Delete extra namespaces
If the restored index has multiple namespaces, delete all of them except the one you want to keep. Dedicated read nodes support only one namespace.
3
Migrate to dedicated read nodes
Convert the restored on-demand index by following Migrate to dedicated read nodes.