Passer au contenu

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")

demandé il y a 3 ans859 vues

1 réponse
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.

AWS

répondu il y a 3 ans

EXPERT

vérifié il y a 3 ans

  • 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

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.