Skip to content

Latest commit

 

History

History

neo4j-enterprise

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

scripts/neo4j-enterprise

This is a Google Deployment Manager (DM) template that deploys Neo4j Enterprise Edition. You can run it from the CLI.

The template provisions Instance Group Managers (IGM), pd-ssd, and a Service Account to create a Runtime Config.

Environment Setup

You will need a GCP account.

We also need to install glcoud. Instructions for installing the Google Cloud SDK that includes gcloud are here.

To set up your Google environment, run the command:

gcloud init

Now, you'll need a copy of this repo. To make a local copy, run the commands:

git clone https://github.com/neo4j-partners/google-deployment-manager-neo4j.git
cd google-deployment-manager-neo4j
cd scripts
cd neo4j-enterprise

Creating a Deployment

This repo contains different parameters files. You can deploy with any of them using deploy.sh. For example, to deploy the single configuration using parameters.single.yaml, run the command:

./deploy.sh <some deployment name> single

Note for Data Science and Machine Learning Use Cases: In general, we recommend starting with the single as opposed to cluster configuration. It is easier to get started using Graph Data Science (GDS) on a single instance and doing so has no impact on GDS algorithm and ML performance.

Using the parameters.custom.yaml configuration file, deploy could look like this:

./deploy.sh <some deployment name> custom

The script then passes the cluster configuration to GCP and builds your cluster automatically.

To access the cluster, open the Google Cloud Console, navigate to Compute Engine and pick a node. You can access the Neo4j Browser on port 7474 of the public IP of that node.

Deleting a Deployment

To delete your deployment you can either run the command below or use the GUI in the Google Cloud Console.

gcloud deployment-manager deployments delete <some deployment name>

Debugging a Deployment

There are a number of useful log files to debug. /var/log/messages is the startup agent log. /var/log/neo4j/debug.log is the Neo4j log.