Skip to content

neo4j-partners/amazon-cloud-formation-neo4j

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,171 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

amazon-cloud-formation-neo4j

This repo contains Amazon CloudFormation Templates (CFT) that deploy Neo4j on AWS.

Editions

While deployable through the marketplace, it can also be useful to fork and customize the templates to meet your needs.

To deploy a template from the command line, follow these instructions.

Environment Setup

First we need to install and configure the AWS CLI. Follow the instructions Amazon provides here. Basically all you need to do is:

curl "https://awscli.amazonaws.com/AWSCLIV2.pkg" -o "AWSCLIV2.pkg"
sudo installer -pkg AWSCLIV2.pkg -target /

Once installed, configure with the command:

aws configure

You can confirm the CLI is working properly by running:

aws ec2 describe-account-attributes

Then you'll want to clone this repo. You can do that with the command:

git clone https://github.com/neo4j-partners/amazon-cloud-formation-neo4j.git
cd amazon-cloud-formation-neo4j

Creating a Stack

The AWS word for a deployment is a stack. Each edition folder contains a deploy.sh helper script. Take a look at it and modify any variables, then run it as:

cd neo4j-ee  # or neo4j-ce
./deploy.sh <STACK_NAME>

When complete you can access the Neo4j Browser at the Neo4jBrowserURL given in the stack outputs.

Deleting a Stack

To delete your deployment you can either run the command below or use the GUI in the web console here.

aws cloudformation delete-stack --stack-name <STACK_NAME>

Debugging

If the Neo4j Browser isn't coming up, there's a good chance something isn't right in your deployment. One thing to investigate is the cloud-init logs. /var/log/cloud-init-output.log is probably the best starting point. If that looks good, the next place to check out is /var/log/neo4j/debug.log.

About

Amazon CloudFormation Templates (CFT) for Neo4j

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors