How do I connect to S3 from a remote machine which is the neo4j import directory


(Shashankupadhye7) #1

How do I connect to S3 from a remote machine which is the neo4j import directory.

Even If I do connect to access the files in the S3 directory do we need to make the files or directories in the S3 buck "Public"? Is this a compulsion?


(Benoit Simard) #2

Sorry I don't understand.

Are you trying to make a LOAD CSV (as example), with a file that is located on a S3 ?


(Shashankupadhye7) #3

Sorry for the late reply. Yes I am trying to load the data stored in S3 using Load CSV utility. Currently it says that we cannot access the files without it being made public from S3 end.


(Ryan Boyd) #4

@shashankupadhye7 this is not possible with LOAD CSV, but there is a way!

Check out the APOC function APOC.load.csv which accepts a URL. APOC includes a s3 protocol handler, so you can use a format like s3://accessKey:secretKey@endpoint:port/bucket/key

Cheers!
-Ryan