AWS Neptune Configuration
Configure Amazon Neptune as the graph provider for Graphiti
Neptune DB is Amazon’s fully managed graph database service that supports both property graph and RDF data models. Graphiti integrates with Neptune to provide scalable, cloud-native graph storage with automatic backups, encryption, and high availability.
Prerequisites
Neptune DB integration requires both Neptune and Amazon OpenSearch Serverless (AOSS) services:
- Neptune Service: For graph data storage and Cypher query processing
- OpenSearch Serverless: For text search and hybrid retrieval functionality
- AWS Credentials: Configured via AWS CLI, environment variables, or IAM roles
For detailed setup instructions, see:
- AWS Neptune Developer Resources
- Neptune Database Documentation
- Neptune Analytics Documentation
- OpenSearch Serverless Documentation
Setup
- Create a Neptune Database cluster in the AWS Console or via CloudFormation
- Create an OpenSearch Serverless collection for text search
- Configure VPC networking and security groups to allow communication between services
- Note your Neptune cluster endpoint and OpenSearch collection endpoint
Configuration
Set the following environment variables:
Installation
Install the required dependencies: