Created
August 17, 2018 15:51
-
-
Save boydc7/0b5b02f594004254757d043ef65a838f to your computer and use it in GitHub Desktop.
Gremlin Console to AWS Neptune
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Download gremlin console (http://tinkerpop.apache.org/downloads.html), then: | |
unzip apache-tinkerpop-gremlin-console-3.3.3-bin.zip | |
cd apache-tinkerpop-gremlin-console-3.3.3-bin | |
# in /conf, create a neptune yaml file with following properties (see https://docs.aws.amazon.com/neptune/latest/userguide/access-graph-gremlin-console.html) | |
hosts: [AWS NEPTUNE ENDPOINT] | |
port: 8182 | |
serializer: { className: org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV3d0, config: { serializeResultToString: true }} | |
# Run gremlin console | |
bin/gremlin.sh | |
# Inside gremlin console, connect to neptune db instance: | |
:remote connect tinkerpop.server conf/neptune-dev.yaml | |
# Switch to remote mode inside gremlin | |
:remote console |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment