opensearch bedrock rag cdk
v0.10.0: Develop Cost Sensitive Self-Terminating Resources Using CDK Aspects
This is a CDK project written in TypeScript to demo how to implement a RAG solution using Amazon Bedrock and Amazon OpenSearch Serverless
For more details on how to deploy the infrastructure and the solution details, please refer to the Blog Posts:
Part 6: Enhancing Document Indexing with Event-Driven Architecture for a GenAI Application.
Part 7: Deploying on Amazon EKS.
Part 8: Integrating Amazon Cognito with Amazon EKS.
Part 9: Optimizing ECS and EKS Infrastructure with AWS Graviton.
Part 10: Develop Cost Sensitive Self-Terminating Resources Using CDK Aspects and Advanced CDK Tips.
The cdk.json
file tells the CDK Toolkit how to execute your app.
npm run build
compile typescript to jsnpm run watch
watch for changes and compilenpm run test
perform the jest unit testsnpx cdk deploy
deploy this stack to your default AWS account/regionnpx cdk diff
compare deployed stack with current statenpx cdk synth
emits the synthesized CloudFormation template