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

0

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 a year ago565 views
1 Answer
0

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 a year ago
profile picture
EXPERT
reviewed a year ago
  • What if I am not using IAM authentication for my Neptune cluster? I am seeing the following error: Connection to ipv4ip:8182 closed with incomplete handshake response

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