【问题标题】:access Amazon Neptune from EC2 windows从 EC2 窗口访问 Amazon Neptune
【发布时间】:2018-06-08 16:13:58
【问题描述】:

我在同一个 VPC 中有一个 Amazon EC2(Windows)和一个 Amazon Neptune。我想使用 sparql 或 Gremlin 从 EC2 连接到 Neptune,但不知道该怎么做。我找到了

https://docs.aws.amazon.com/neptune/latest/userguide/access-graph-sparql.html

https://docs.aws.amazon.com/neptune/latest/userguide/access-graph-gremlin.html

两者都没有解释如何使用 sparql 或 Gremlin 调用 Neptune(是来自终端还是他们有自己的工作室?)感谢任何提示。

【问题讨论】:

    标签: java amazon-web-services sparql gremlin amazon-neptune


    【解决方案1】:

    我想您会使用 Gremlin 控制台之类的工具连接到您的 Neptune 实例。我觉得文档还不错:http://tinkerpop.apache.org/docs/3.3.3/tutorials/getting-started/#_the_first_five_minutes

    从下载的文件中解压缩控制台,然后运行 ​​bin/gremlin.bat(在 Windows 上)。

    【讨论】:

    • 谢谢。我能够切换到 linux 实例并使用您推荐的页面。
    【解决方案2】:

    有关如何使用 Gremlin 控制台从 EC2 连接到 Neptune 的文档位于此处 [1]。您还可以使用以 Java 等语言编写的程序从 EC2 进行连接。您还可以在下面链接的文档中找到有关如何执行此操作的示例的其他链接。

    [1]https://docs.aws.amazon.com/neptune/latest/userguide/access-graph-gremlin-console.html

    您可以在基本终端/命令窗口中从您的 EC2 实例运行 Gremlin 控制台。

    如果您更喜欢 IDE/GUI 方法,您也可以从 Cloud9 连接到 Neptune

    希望这会有所帮助, 开尔文

    【讨论】:

      猜你喜欢
      • 2018-03-26
      • 2018-09-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-01-22
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多