Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Is there any stats available for Amazon Bedrock Knowledge Database cost? #683

Open
1 of 2 tasks
typex1 opened this issue Jan 13, 2025 · 2 comments
Open
1 of 2 tasks
Labels
enhancement New feature or request

Comments

@typex1
Copy link

typex1 commented Jan 13, 2025

Describe the solution you'd like

I set up the full project stack keeping all settings default. Among them, enableRagReplicas=true. As a consequence, all my OpenSearch collections are set up with "Deployment type = Enabled redundancy" Currently, I have two collections in place, one is 2.9mb in size (1 document), the other one 2.3mb (3 documents).
I am interested in a more cost-effective vectorstore solution, as I want to scale to thousands of documents.

Why the solution needed

With my current setup, I have Opensearch cost of already 11.50 US$ in Region Frankfurt. Either I have done something wrong or otherwise I would consider this cost level as not acceptable.

Additional context

To be able to compare, I created a new Opensearch collection today, with enableRagReplicas=false. I would assume that this collection will have half of the cost than the redundant option, but I will see in a couple of days, or otherwise any comment on this cost level is appreciated. The Opensearch cost related documentation I found so far is not really going into that detail.

Implementation feasibility

Are you willing to collaborate with us to discuss the solution, decide on the approach, and assist with the implementation?

  • Yes, I am able to implement the feature and create a pull request.
  • No, I am unable to implement the feature, but I am open to discussing the solution.
@statefb
Copy link
Contributor

statefb commented Jan 14, 2025

The OpenSearch Serverless OCU is calculated by account / region level. Have you removed all the bots which are deployed by enableRagReplicas=true?

@statefb statefb added enhancement New feature or request and removed needs-triage labels Jan 14, 2025
@typex1
Copy link
Author

typex1 commented Jan 17, 2025

Yes I removed the bots and, as the collections have not been removed automatically, also the collections. What I have now is a single non-replicated collection in us-east-1. Cost is now at 3.36 US$ for a single day, even without bot requests. Collection size 2.6mb -> see screenshots. Any other figures from anyone?

Image Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants