Skip to main content

Documentation Index

Fetch the complete documentation index at: https://arivu.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Arivu is a containerized, scalable architecture designed for cloud deployment. This section provides detailed guidance for deploying Arivu across multiple cloud platforms and hosting providers.

Architecture Overview

Arivu consists of three main deployable components:

Backend API

FastAPI/Uvicorn server running the pipeline and integrations

Frontend Dashboard

Next.js React application for visualization and management

Supporting Services

Memory backend (Redis/SQLite), database connectors, LLM clients

Deployment Models

Complete deployment on one platform (AWS, Azure, GCP, etc.)
  • Simplified management
  • Single vendor lock-in
  • Consistent security policies

Key Considerations

Scalability

  • Backend: Horizontal scaling with load balancing
  • Frontend: CDN distribution for static assets
  • Database: Connection pooling and replication
  • Memory: Redis cluster for distributed state
  • Latency: Deploy close to users and databases
  • Caching: Browser cache + Redis for query results
  • Async: FastAPI async operations for concurrency
  • Optimization: Image compression, code splitting
  • API Keys: Secure storage in secrets manager
  • Database credentials: Never in code
  • TLS/HTTPS: Enforce across all communications
  • RBAC: Role-based access control
  • Network isolation: Private VPCs, security groups
  • Compute: Right-size instances, use spot/preemptible VMs
  • Storage: Use managed services where available
  • Data transfer: Minimize cross-region traffic
  • Monitoring: Pay-per-use or reserved capacity
  • HA: Multi-AZ deployments
  • Backup: Automated database backups
  • Failover: Health checks and auto-recovery
  • Monitoring: Real-time alerting
PlatformBest ForComplexityCost
AWS ECSMost flexible, largest ecosystemMedium$$$
AWS EKSKubernetes-first, multi-cloudHigh$$$
Azure App ServiceQuick deployment, integrated toolsLow$$
Azure Container InstancesSimple containerized appsLow$$
DigitalOcean App PlatformSimplicity, affordabilityLow$
VercelFrontend only, zero-configVery Low$
HerokuRapid prototypingVery Low$$

Next Steps

Start with your preferred platform:

AWS Deployment

ECS, EKS, Lambda, and RDS options

Azure Deployment

App Service, Container Instances, and managed databases

Other Platforms

DigitalOcean, Vercel, Heroku, and self-hosted