跳至内容

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 年前863 查看次数

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

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。