Hi all,
I’ve reviewed this topic and this topic but none of them provided useful insights for my case.
I’m trying to set up a Knowledge Base in Amazon Bedrock using a vector collection in MongoAtlas. I’m following this guide and, to connect it with PrivateLink, I’m trying to use this CDK script as pointed out in the guide.
But that script requires me to know several things that I can’t figure out how to get.
First, there is this step:
- Next, look up the ports for your MongoDB Atlas cluster, by running the command below. Replace the values for XXXX to that of your MongoDB Atlas server.
nslookup -type=SRV _mongodb._tcp.XXXXX-pl-0.XXXX.mongodb.net
But I don’t know how to get that URL. My connection URL looks like this my_cluster_name.xxxxxx.mongodb.net
, and I can’t find anything like the one in the command.
If I try to do the NSLOOKUP with my cluster URL I get the following:
Non-authoritative answer: *** Can't find my_cluster_name.xxxxxx.mongodb.net: No answer
Then, in Bedrock KB Configuration section, the penultimate bullet point states:
Proceed with the configuration of the KB in Bedrock as per blog. When asked for Hostname enter the PrivateLink DNS name. It looks something like
cluster2-pl-0.XXXX.mongodb.net
Again, I can’t find that PrivateLink DNS name or something similar in MongoAtlas UI or my AWS account.
I would appreciate any information about how to get those values. Thank you very much.