跳至內容

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

已提問 3 年前檢視次數 865 次

1 個回答
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

已回答 3 年前

專家

已審閱 3 年前

  • 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

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。