Deploying AnzoGraph on Akash

AnzoGraph is a high-performance graph database designed for advanced analytics and querying of connected data. It supports SPARQL and various graph-based analytics, making it ideal for use cases in data integration, knowledge graphs, and semantic reasoning. With its scalability and in-memory processing, it is tailored for large-scale enterprise data workloads. By deploying AnzoGraph on Akash, you leverage decentralized, cost-effective cloud infrastructure for hosting.

Why Deploy on Akash?

  • Cost Efficiency: Pay-as-you-go decentralized compute power.
  • Scalability: Scale resources easily as your graph data and queries grow.
  • Decentralization: Avoid vendor lock-in with a blockchain-based cloud platform.

Steps to Deploy AnzoGraph on Akash

1. Prerequisites

  • Akash Wallet: Ensure you have an Akash wallet with sufficient $AKT tokens for deployment.
  • Akash CLI: Install and configure the Akash CLI for interacting with the network.
  • SDL Template: Prepare a manifest file to define your deployment requirements.
  • Docker Image: Use the official Docker image cambridgesemantics/anzograph.

2. Create the SDL Manifest File

The SDL file describes the deployment configuration for Akash. Below is an example:

---
version: "2.0"
services:
anzograph:
image: cambridgesemantics/anzograph:latest
expose:
- port: 8080
as: 80
to:
- global: true
- port: 9000
as: 9000
to:
- global: true
env:
- ANZOGRAPH_LICENSE_ACCEPTED=true # Required to accept the AnzoGraph license
resources:
cpu:
units: 1.0
memory:
size: 2Gi
storage:
size: 10Gi
profiles:
compute:
anzograph-profile:
resources:
cpu:
units: 1.0
memory:
size: 2Gi
storage:
size: 10Gi
placement:
default:
attributes:
host: akash
signedBy:
anyOf:
- akash
pricing:
anzograph-profile:
denom: uakt
amount: 100
deployment:
anzograph-deployment:
profiles:
compute: anzograph-profile
placement: default
services:
- anzograph

3. Steps to Deploy

  1. Validate SDL File: Ensure the syntax is correct by running:

    Terminal window
    akash tx deployment create deploy.yaml --from <wallet-name>
  2. Upload the SDL File: Deploy the service using:

    Terminal window
    akash deployment create deploy.yaml
  3. Monitor Deployment: Track the deployment status:

    Terminal window
    akash query deployment get --owner <your-address> --dseq <deployment-sequence>
  4. Access AnzoGraph: Once the deployment is successful, you will be provided with the service endpoint. Access AnzoGraph’s admin interface or SPARQL endpoint via the exposed ports (default 80 and 9000).


Post-Deployment Configuration

  1. Verify Installation:

    • Open your browser and navigate to http://<service-endpoint>.
    • Confirm the AnzoGraph interface is accessible.
  2. Load Data:

    • Use the SPARQL endpoint to load your graph datasets.
    • Example:
      LOAD <http://example.com/my-dataset.ttl>
  3. Run Queries:

    • Start running SPARQL queries to analyze your graph data.
  4. Monitor Resources:

    • Regularly check resource usage (CPU, memory) through Akash or AnzoGraph’s interface.

Tips for Optimal Performance

  • Scale Resources: Adjust the cpu, memory, and storage in the SDL manifest based on your workload.
  • Persistent Storage: Use external storage solutions if you need persistent data across deployments.
  • Networking: Secure access by setting up specific firewalls or access rules.

By deploying AnzoGraph on Akash, you combine the power of advanced graph analytics with a decentralized, cost-effective infrastructure.

footer-logo-dark

© Akash Network 2025 The Akash Network Authors Documentation Distributed under CC BY 4.0

Open-source Apache 2.0 Licensed.

GitHub v0.20.0

Privacy