AWS Knowledge Base Deletion

0

Hi I am unable to Delete my Bedrock Knowledge bases and it keeps charging me? Knowledge Bases...

I desperately need help. I am using the Root User i have deleted all data source Error

Trying to delete dataDeletionPolicy

  • i deleted pinecone vector Database
  • I deleted the opensearch Vector Database

Does anyone now how i can get step by step guide to support because it keeps charging me by i can't delete

2 Answers
1

I understand your frustration with being unable to delete your Amazon Bedrock Knowledge bases and continuing to incur charges. Here's a step-by-step guide to help you resolve this issue:

  1. Open the Amazon Bedrock console and navigate to the Knowledge bases section.

  2. Select the Knowledge Base you're trying to delete.

  3. For each data source in the DELETE_UNSUCCESSFUL state:

    • Choose to edit the data source
    • Go to Advanced settings
    • Change the Data deletion policy to RETAIN
    • Save the changes
  4. After changing the data deletion policy, attempt to delete the data source again.

  5. Once the data source is successfully deleted, try deleting the Knowledge Base.

If you're still encountering issues after following these steps, it may be due to underlying problems with permissions or the vector database. In this case:

  1. Ensure the IAM service role associated with the Knowledge Base has the necessary permissions for deletion operations.

  2. If you've already deleted the vector database (OpenSearch or Pinecone), you might need to temporarily recreate it with the same name to complete the deletion process.

  3. Check your S3 buckets for any datasets you uploaded for the Knowledge Base and delete them if no longer needed.

If the problem persists, it's advisable to contact AWS Support. Even without a paid support plan, you can open a case under "Account and billing" for free assistance with this issue.

Remember to monitor your AWS Cost Explorer and Billing dashboard regularly to track ongoing charges and ensure all unnecessary resources are properly terminated.

If you're using the root user and still facing issues, try switching to another admin user, as some users have reported success with this approach.

Lastly, if all else fails, keep attempting the deletion process periodically, as there have been instances where the issue resolved itself over time, possibly due to background fixes by AWS.
Sources
Deleting Knowledgebase - previous advice not working | AWS re:Post
Resolve the "Failed to delete knowledge base" error in Bedrock | AWS re:Post
Bedrock Knowledge base - Delete unsuccessful | AWS re:Post

profile picture
answered 13 days ago
profile pictureAWS
EXPERT
reviewed 12 days ago
profile picture
EXPERT
reviewed 13 days ago
0

When deleting a knowledge base or data source, the vector store itself is not automatically deleted, which can result in continued charges. The data deletion policy for your data source can be set to either "Delete" (which deletes the data but not the vector store) or "Retain" (which keeps all data).

If you're experiencing deletion issues, try these steps:

  1. Check your vector store configurations and permissions
  2. If deletion fails, consider updating the dataDeletionPolicy of the data source to RETAIN and retry the request
  3. Ensure you've deleted both the OpenSearch Service and S3 used for search to stop the billing

Kindly refer the Knowledge Center article on How do I resolve the “Failed to delete knowledge base” error in Amazon Bedrock?

If you continue to experience billing issues after following these steps and successfully deleting the OpenSearch DB and Index, it's recommended to contact AWS Support.

profile pictureAWS
EXPERT
answered 12 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions