Created
November 12, 2019 01:03
-
-
Save ssullivan/83d474bc7257d01245b686392643c9b3 to your computer and use it in GitHub Desktop.
AWS Neptune User Init Script
This file contains hidden or 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
| sudo yum install -y java-1.8.0-devel | |
| sudo /usr/sbin/alternatives --config java | |
| mkdir -p /opt/ | |
| wget https://archive.apache.org/dist/tinkerpop/3.4.1/apache-tinkerpop-gremlin-console-3.4.1-bin.zip | |
| mv apache-tinkerpop-gremlin-console-3.4.1-bin.zip /opt/ | |
| unzip /opt/apache-tinkerpop-gremlin-console-3.4.1-bin.zip | |
| cd apache-tinkerpop-gremlin-console-3.4.1 && wget https://www.amazontrust.com/repository/SFSRootCAG2.pem | |
| cat <<EOF > /opt/apache-tinkerpop-gremlin-console-3.4.1 | |
| hosts: [your-neptune-endpoint] | |
| port: 8182 | |
| connectionPool: { enableSsl: true, trustCertChainFile: "SFSRootCAG2.pem"} | |
| serializer: { className: org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV3d0, config: { serializeResultToString: true }} | |
| EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment