This chapter describes how to deploy and run Neo4j Causal Cluster from the GCP Marketplace.
Neo4j Enterprise is registered in GCP Marketplace.
Deploy Neo4j Enterprise from the Google Cloud Launcher console following the interactive prompts.
Once the deploy finishes, save the URL, username, and password.
Use your browser to access the cloud-based database URL, and log in with the initial username and password provided. You may see an SSL warning screen because the out-of-the-box deployment uses an unsigned SSL certificate. The initial password is set to a strong, random password and is saved as a metadata entry on the VMs.
To verify that the cluster has formed correctly, run the following Cypher statement:
The result is one leader and minimum two followers. The IP addresses and endpoints must be the same as the ones for your running instances, displayed by the Compute Engine.
Cluster members are regular Google Compute Engine VMs. Therefore, you can access any of them via SSH from the Deployment Manager screen, or by running the following command in the Google Cloud CLI:
gcloud compute ssh my-cluster-deploy-vm-1
For details on internals of Google VMs, including how to stop and start system services, configure Neo4j from the VM, etc., consult Section 3.1, “Neo4j cloud VMs”.
The following notes are provided on your default cluster configuration.
7473(HTTPS access) are the only ports exposed to the entire internet. Consider narrowing the access to these ports to only your needed networks. External unencrypted HTTP access is disabled by default.
7000are enabled only for internal network access (
10.0.0.8), between the cluster nodes.
You can use the deployment manager to delete the deployment. To ensure data safety, the disks that back the VMs are not removed when you delete the cluster deployment.