- Newest
- Most votes
- Most comments
For your scenario with a 100GB vector index and 3-5 simultaneous searches (peaking at 15-20), the OpenSearch Serverless setup would likely require the following:
Search OCUs:
- Normal load: Approximately 17-18 OCUs (100GB / 6GB per OCU, rounded up)
- Peak load: Potentially scaling up to 20-25 OCUs to handle the increased query load
Indexing OCUs:
- In a steady state with minimal updates, you might only need 1-2 Indexing OCUs.
Estimated monthly cost: The cost would vary based on usage, but you can expect it to be in the range of $3,000 to $5,000 per month, considering the fluctuating load and the need for both search and indexing OCUs.
Your understanding about vector databases is correct. For vector search, the entire index needs to fit in RAM, so you should calculate OCUs based on the 6GB RAM per OCU rather than the 120GB disk storage used for regular search collections.
Regarding your current setup:
The minimum of 4 Search OCUs you're observing is likely due to your index size being over 6GB. OpenSearch Serverless aims to maintain high availability, so it's providing an additional OCU and then doubling that for redundancy across availability zones. This results in the 4 OCU minimum you're seeing.
If you were to use managed OpenSearch clusters instead of Serverless, your assumption about using r6g.2xlarge instances is reasonable for your current ~8GB index and query load. Two nodes (one per AZ) should be sufficient to handle your requirements and provide high availability.
For this scale of managed cluster:
- You likely don't need to configure Warm and Cold data storage yet.
- A specific number of dedicated master nodes isn't necessary; you can use your data nodes as master-eligible nodes.
- Dedicated coordinator nodes are typically not required at this scale.
However, as your data grows or if your query patterns become more complex, you may need to revisit these decisions and potentially add dedicated master or coordinator nodes.
Remember that while managed clusters give you more control, they also require more hands-on management compared to the Serverless option.
Sources
Amazon OpenSearch Serverless cost-effective search capabilities, at any scale | AWS Big Data Blog
Improve search results for AI using Amazon OpenSearch Service as a vector database with Amazon Bedrock | AWS Big Data Blog
Managing capacity limits for Amazon OpenSearch Serverless - Amazon OpenSearch Service
Opensearch Serverless scale related questions | AWS re:Post
answered a year ago
