Skip to content

Create EC2 instance for PRODUCTION Neo4j #427

@lobsam

Description

@lobsam

Introduction:

Set up a powerful AWS server (EC2) to run our Neo4j database inside a Docker container. We are using a memory-optimized server because Neo4j performs best when it has plenty of RAM to cache graph data. We will also attach a high-speed virtual disk (EBS) to store the database files and set up an automatic backup system (DLM) to keep our data safe.

Endpoint

ssh -i <key> ubuntu@<EC2_PUBLIC_IP>

Task

  • Create an t3.medium instance (Ubuntu 24.04) on EC2.

  • Configure EBS: Attach a 100GB gp3 disk and tag it with Backup: Daily_Production.

  • Install Docker: Install the Docker Engine and Docker Compose on the Ubuntu instance.

  • Deploy Container: Run the Neo4j Docker container using a docker-compose.yml file.

  • Automation: Set up a DLM policy to take daily snapshots of the EBS volume.

  • Firewall: Open Security Group ports 7474 (HTTP), 7473 (HTTPS), and 7687 (Bolt).

Reviewer

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No fields configured for Task.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions