Creating a Neo4j instance on GCP vm
To create a single instance of Neo4j in a GC virtual machine, follow the steps below:
Set up Docker in VM
SSH into your vm
Update apt-get
Download the following
Add docker key
Add fingerprint:
Add the following:
Update app-get again
Now install docker
Create Neo4J image
Run commands to create an instance:
Or Start an existing instance:
View Neo4j in browser by navigating to http://<vm external ip>:7474/browser
You can change the password from the browser console by running the following command:
Install APOC on Neo4j Docker
Install apoc jar file:
Install/start neo4j with plugins directory enabled:
Full text search on Neo4j
Create a FTS index on neo4j browser or via lib
Search based on constraints. For instance to search for
food stamps
in and only in zip_code76104
do the following:Add LIMIT, SKIP and ORDER BY params:
Resources and Links
Last updated
Was this helpful?