Reference Architecture
Resilient, horizontally scalable ERPNext built on load balancing, failover NFS, and MariaDB Galera.

Edge
Cloudflare CDN, WAF, DDoS, Origin Certificates, Anycast.
Load Balancer
HAProxy/Nginx with health checks and sticky sessions where needed.
App Nodes
Multiple ERPNext nodes (Contabo / DigitalOcean / AWS) with shared NFS for public/files
and private/files
.
Database
MariaDB Galera multi-master cluster with quorum and SST/IST replication.
Backups
Versioned object storage; point-in-time recovery; cross-region copies.
Observability
Centralized logs, metrics, and alerts; synthetic monitoring and SLOs.
Key Guarantees
- Unlimited memory, CPU, traffic, and storage
- High availability with automated failover
- Enterprise-grade security at the edge and core