mongodb-partners / mongodb_atlas_as_aws_bedrock_knowledge_base Goto Github PK
View Code? Open in Web Editor NEWa repository for demonstrating MongoDB Atlas Vector store and Search and AWS Bedrock's knowledge base
a repository for demonstrating MongoDB Atlas Vector store and Search and AWS Bedrock's knowledge base
While running cdk bootstrap
, the default VPC ID and VPC CIDR are shown in the logs.
> cdk bootstrap
VPC ID: vpc-12345
VPC CIDR: 1.2.3.4/5
[]
Ports: 1024,1025,1026
Security Group ID: ${Token[TOKEN.21]}
Load Balancer ARN: ${Token[TOKEN.34]}
VPC Endpoint IPs: 10.0.0.7
Listener ARN for port 1024: ${Token[TOKEN.38]}
IP Targets for port 1024: [{"ipAddress":"10.0.0.7","port":1024}]
Listener ARN for port 1025: ${Token[TOKEN.57]}
IP Targets for port 1025: [{"ipAddress":"10.0.0.7","port":1025}]
Listener ARN for port 1026: ${Token[TOKEN.76]}
IP Targets for port 1026: [{"ipAddress":"10.0.0.7","port":1026}]
After debugging, I found that the following line lib\mongodb_atlas_as_aws_bedrock_knowledge_base-stack.ts
is not configured properly as per CDK Lib docs
const vpc = ec2.Vpc.fromLookup(this, vpcId, { isDefault: false });`
This line has to be modified as the following to make this work.
const vpc = ec2.Vpc.fromLookup(this, 'Vpc', { isDefault: false, vpcId: vpcId });`
Basically this filters the VPC using VPC ID.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.