This guide helps you deploy a Neo4j graph database on the Akash decentralized cloud network with persistent storage.
Neo4j is a powerful graph database that stores data as nodes and relationships. This deployment provides:
- Neo4j 5.15.0 (latest stable version)
- Browser interface (port 7474)
- Bolt protocol access (port 7687)
- Persistent storage for data and logs
- Optimized memory configuration
Critical: Change the default password in deploy.yaml:
- NEO4J_AUTH=neo4j/your-secure-password-hereReplace your-secure-password-here with a strong password.
Modify the compute resources based on your needs:
cpu:
units: 2 # CPU cores
memory:
size: 4Gi # RAM
storage:
- size: 10Gi # Database storage
- size: 5Gi # Logs storageCheck current Akash market rates and adjust the bid price:
pricing:
neo4j:
denom: uact
amount: 1000 # Adjust based on current market ratesOnce deployed, access the Neo4j Browser at:
http://<provider-uri>:7474
Login with:
- Username: neo4j
- Password: (the password you set in deploy.yaml)
Connect your applications using the Bolt protocol:
bolt://<provider-uri>:7687
This deployment uses Akash's persistent storage feature:
- Data Volume: 10 GB mounted at
/data(database files) - Logs Volume: 5 GB mounted at
/logs(log files) - Storage Class: beta3
Your data will persist across:
- Container restarts
- Pod rescheduling
- Redeployments to the same provider
Important: Persistent storage requires providers with storage support enabled.