i want to connect my aws Neptune instance using bolt how to get credentials for it .


im using this code but getting time out

from neo4j import GraphDatabase driver = GraphDatabase.driver("bolt://db-neptune-1.cluster-xxxxxxxx.us-west-2.neptune.amazonaws.com")

asked 2 months ago187 views
1 Answer

Here are the docs on how to connect to Neptune using Bolt in Python against a Neptune cluster that is configured to use IAM Authentication: https://docs.aws.amazon.com/neptune/latest/userguide/access-graph-opencypher-bolt.html#access-graph-opencypher-bolt-python-iam-auth.

You'll need IAM credentials that provide access to Neptune's data plane: https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-access-policies.html

Ensure that you are connecting to Neptune from inside the same VPC where Neptune is hosted, as Neptune is not accessible outside of it's hosting VPC.

profile pictureAWS
answered 2 months ago
profile picture
reviewed 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