Running on AWS

Client Setup

Ensure you have the Python package xgt installed in your environment:

$ python -m pip install --user xgt

Launch EC2 Instance

Launch an EC2 instance, with TCP port 4367 open for incoming connections.

Connect Client to Server

import xgt
server = xgt.Connection(host='<public-ip-of-EC2-instance>', port=4367,
                        auth=xgt.BasicAuth('ec2-user'))

Additional Information

See Trovares documentation for help on writing Python scripts, getting data ingested, and writing Cypher queries.

If needed, you may ssh connect to the EC2 instance:

$ ssh -i <path/to/keys.pem> ec2-user@<public-ip-of-EC2-instance>