简体   繁体   English

在本地测试 Neptune(图形数据库)

[英]Testing Neptune (Graph DB) Locally

I have already found the "Request Preview" page , apart from that is there any way to deploy and test Neptune locally?我已经找到了“请求预览”页面,除此之外还有什么方法可以在本地部署和测试 Neptune?

AWS Neptune can be tested only from within the VPC. AWS Neptune 只能从 VPC 内进行测试。 What you can probably do is你可能做的是
1. Create an ec2 instance in the same VPC 1.在同一个VPC中创建一个ec2实例
2. Install Gremlin/ SPARQL console in ec2 (if you need to execute queries) 2.在ec2中安装Gremlin/SPARQL控制台(如果需要执行查询)
3. connect to Neptune via ec2 3.通过ec2连接海王星
4. Execute queries 4. 执行查询

Neptune DB can be either SPARQL/ Gremlin. Neptune DB 可以是 SPARQL/Gremlin。 It is based on the first query you hit.它基于您点击的第一个查询。

If SPARQL, metaphacts can be used for the visual representation of the database.如果是 SPARQL,metaphacts 可用于数据库的可视化表示。

Update: Neptune is Generally Available in 4 regions as of June 2018 and you should be able to create instances on your own without requiring any white-listing.更新:截至 2018 年 6 月,Neptune 已在 4 个地区普遍可用,您应该能够自行创建实例,而无需任何白名单。 You can use some of the cloud formation examples to get a test setup created in minutes.您可以使用一些云形成示例来在几分钟内创建测试设置。 There is no other way to test Neptune unfortunately.不幸的是,没有其他方法可以测试海王星。

如果您想在本地设置neptune Db,请查看此帖子https://dev.to/designfrontier/neptune-gremlin-local-dev-setup-469l

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM