Error creating knowledge bases amazon bedrock "Failed to create the Amazon Opensearch Serverless collection."

0

The error is too generic which why I don't know the full reason behind it I'm trying to create amazon bedrock knowledge bases with web scrapper

just following this tutorial -> https://www.youtube.com/watch?v=oSnFZhHuIgg

on the last step after hitting "create knowledge base" button, the error message occurs which is "Failed to create the Amazon Opensearch Serverless collection."

Set ups below: Data source -> web crawler.

Content chunking and parsing -> default.

Embeddings model - > Embed English v3.

Vector database -> Quick create a new vectore store - Recommended.

Policies attached to my user: AmazonBedrockFullAccess AmazonOpenSearchServiceFullAccess AWSQuicksightOpenSearchPolicy

and custom policies:

{ "Version": "2012-10-17", "Statement": [ { "Sid": "MarketplaceBedrock", "Effect": "Allow", "Action": [ "aws-marketplace:ViewSubscriptions", "aws-marketplace:Unsubscribe", "aws-marketplace:Subscribe" ], "Resource": "*" } ] }

and the other one is:

{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "aoss:CreateAccessPolicy", "aoss:CreateSecurityPolicy", "aoss:CreateCollection" ], "Resource": "*" } ] }

region: ap-southeast-2 or ap-southeast-1

2 Answers
0

Hello Jay!

To address the "Failed to create the Amazon OpenSearch Serverless collection" issue, ensure that your IAM policies include all necessary permissions for OpenSearch Serverless operations, such as aoss:CreateCollection. Additionally, verify that your configuration for the OpenSearch collection is correctly set according to AWS requirements. Proper permissions and configuration alignment are key to successfully creating the collection. For more detailed guidance, refer to the AWS OpenSearch Serverless documentation.

I’m here to help, tell me if it works.

profile picture
EXPERT
answered a month ago
  • @vito, I follow this, i got new error "Failed to create the Amazon Opensearch Serverless collection. Failed to fetch" what do you think i'm missing?

0

can someone help me ?

Jay
answered 2 months 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