Developer Guides Getting Started Getting Started What is a Graph Database? Intro to Graph DBs Video Series Concepts: RDBMS to Graph Concepts: NoSQL to Graph Getting Started Resources Neo4j Graph Platform Graph Platform Overview Neo4j Database Neo4j Desktop Intro Neo4j… Read more →
Hosting Neo4j in the Cloud
Do you want to deploy Neo4j to the cloud? This section features guides and tutorials to help you understand the available options.
- Deploying with Neo4j Aura
- Deploying on Google Cloud Platform (GCP)
- Deploying on Amazon EC2
- Deploying on Microsoft Azure
- Deploying with Docker, Kubernetes, and more (any cloud platform)
- Deploying on other PaaS offerings
Aura is a database-as-a-service hosted by Neo4j that is designed to be flexible and highly reliable in providing graphs for any project.
Whether dealing with critical business applications or 24/7 access needs, Neo4j Aura ensures it is always available. This means developers can build applications and solutions with Neo4j anytime, anywhere without the maintenance concerns of other databases or implementations.
Google Cloud Platform, offered by Google, is a suite of cloud computing services that runs on the same infrastructure that Google uses internally for its end-user products, such as Google Search and YouTube. Alongside a set of management tools, it provides a series of modular cloud services including computing, data storage, data analytics, and machine learning.
Running on Google Cloud provides a few options, depending on what you want to do.
- Test Drive – GCP and Neo4j offer a free test drive with hands-on walkthroughs and introduction materials on graphs and Neo4j.
- Single instance – our Google cloud image documentation gives you the steps to launch a single instance from an image with a few commands and interact with the Neo4j instance.
- Causal Cluster – the Enterprise edition of Neo4j is also available on GCP Marketplace, and users can launch a causal cluster from there. The launch and interaction steps to deploy Neo4j causal clusters on GCP are shown in the Neo4j documentation. We also have a step-by-step tutorial for deploying a Neo4j cluster with GCP.
- Google Kubernetes Marketplace (Docker container-based) – Neo4j Enterprise is also available on Kubernetes Marketplace, so users can launch Neo4j clusters into Google Kubernetes Engine (GKE) clusters. For a walkthrough, please consult the blog post showing how to launch Neo4j on Google Kubernetes Marketplace. Technical artifacts and templates that support GKE can be found on the GitHub repository.
The Neo4j documentation also contains a section on automating your deployment using Google Cloud Deployment Manager.
Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides secure, resizable compute capacity in the cloud. It is designed to make web-scale cloud computing easier for developers.
There are three options for running on EC2 detailed below, with each option depending on the needs of the user and environment.
- Single instance (VM-based) – instructions for launching VMs with Amazon’s command line tool are provided in the developer guide to deploy Neo4j on EC2 with a custom Amazon Machine Image (AMI). Using this method, both Community and Enterprise options are available.
- Neo4j Community edition – available from the AWS marketplace.
For this installation, we recommend you select the option in security group settings to “Create new security group based on seller settings”. This will ensure that when the instance is launched, the default ports that are needed will be open.
- Causal Cluster – launch directly from the AWS Marketplace, as well. This option creates a multi-VM clustered configuration with the choice to configure a number of aspects of the cluster, including number of core nodes, read replicas, hardware sizing, encrypted EBS volumes, and other options.
The Neo4j documentation also contains a section on automating your deployment using CloudFormation.
Microsoft Azure is a cloud computing service created by Microsoft for building, deploying, and managing applications and services through a global network of Microsoft-managed data centers. It provides software as a service, platform as a service and infrastructure as a service and supports many different programming languages, tools and frameworks, including both Microsoft-specific and third-party software and systems.
Neo4j can be deployed directly from Azure Marketplace.
The Neo4j documentation also contains a section on automating your deployment using Azure Resource Manager.
For Docker users, Neo4j provides complete instructions on using provided Docker containers.
For users who wish to run Neo4j in kubernetes clusters, Neo4j provides a helm chart, which permits installation using standard
These kubernetes tools and approaches all take advantage of the standard Neo4j docker container mentioned above, but add clustering and coordination capabilities.
Additional information is provided in the orchestration developer guide, and a walkthrough of how to use the helm chart to get started is available on Neo4j blog.
For those interested in running Neo4j with Mesosphere DC/OS, the orchestration developer guide provides more details and resources.
There are other hosting providers that can run Neo4j, as well.