What is our primary use case?
I use it for database. For RAG, you need a vector store to store embeddings.
To store the vectors, you need embedding models to convert the data into vectors. You then need to store those vectors in any vector store. Popular ones are like Chroma DB.
As a new alternative, I selected OpenSearch, which falls under the whole AWS infrastructure. So to bring our full architecture into AWS, I use OpenSearch as a service as my vector store.
How has it helped my organization?
It is effective for data analysis. This service already sorts data like vectors. They have classified the storage pre-defined. We just need to select the purpose of the data, like time series data or vectors. It will be as effective as any other DVR or vector tool.
We need to retrieve data and implement our tools or libraries for analysis. The scalability is good; they use a serverless solution, so we don't need to worry about it.
Security features:
Security is decent, but there aren't enough security features. I don't see any built-in authentication functions. However, there is an option to enable or disable the public or private subnet like other AWS services. So, we can make the dashboard public or private. Using AWS signer, you can sign in with AWS tokens.
What needs improvement?
The pricing aspect is a concern. The service is way too costly. For the past month, I used only 30 to 40 MB of data, and the cost was $500. AWS could improve pricing.
Even being serverless, it incurs charges during idle times. For just holding data, you need to create a list. AWS should add an option to make data idle, so it won't include computing charges. They charge for OCU units based on the time the serverless solution is up, not on indexing or retrieval speed. Once the service starts, it starts getting billed.
It would help if there were an option to limit computing. When using it as a database, storing data without frequent fetching would save computing costs.
For how long have I used the solution?
I've started using Amazon OpenSearch Service (AOSS) as a vector store for RAG since May.
What do I think about the stability of the solution?
There is a minor latency issue when creating a new index or updating data. The backend update takes 10 to 20 seconds. Even though the query runs successfully, deleted indexes might still appear for 10 to 20 seconds. After 30 seconds, it's fine.
What do I think about the scalability of the solution?
Scalability is good because it's serverless.
How are customer service and support?
There is AI support feature, called Amazon Q, like a chat. You can find it in the AWS console, ask basic queries about services, and it will refer to articles to answer questions.
How was the initial setup?
The installation has medium complexity. If you have good AWS knowledge, you're good to go. For freshers, it may be tougher, but not too complicated.
I encountered issues with authenticating through a Lambda function, but changing from one authentication method to another, I finally sorted it out.
For an experienced one, it would be easy. But freshers might need some supervision when it comes to integrations.
For me, it took about three to four days to implement. Maintenance isn't an issue, it will continue running in the background. But I would prefer an option to make it an idle state.
As a developer, I handle integrations for clients. AWS provides plenty of documentation, so integration isn't tedious.
What's my experience with pricing, setup cost, and licensing?
The pricing is way too costly. I used it for around 40 MB of data for a month, and it cost $500. Even when idle, it continues to incur charges. They could improve this by allowing us to limit computing and keep data idle when not actively used.
I would rate the pricing a nine out of ten, with ten being expensive. This service is three to four times more expensive than other solutions.
Which other solutions did I evaluate?
I've looked at Pinecone and MongoDB Atlas. I prefer MongoDB Atlas.
Mongo Atlas is a better solution because of its dedicated platform and configuration. AWS OpenSearch is limited compared to MongoDB Atlas, which is versatile and has broader community support.
What other advice do I have?
I would rate the solution a five out of ten. I would recommend to compare pricing and other possible solutions before diving into OpenSearch. If you need Open Source for a specific purpose and are sure of what you're doing, you can go for it.