Deployment Options
Quick Decision Guide
Section titled “Quick Decision Guide”🏠 Development/Testing
Section titled “🏠 Development/Testing”Use: Docker Compose
make setup-epc-complete
- ✅ 5-minute setup - Get running immediately
- ✅ All-in-one - Everything runs on one machine
- ✅ Easy debugging - Simple logs and troubleshooting
🏢 Small Business Production
Section titled “🏢 Small Business Production”Use: Docker Compose with HTTPS
make setup-epc-complete# Runs on: https://localhost:8443
- ✅ Bank-grade security - Full SSL/TLS encryption
- ✅ Production ready - Handles 1000+ requests/day
- ✅ Low maintenance - Minimal operational overhead
🏭 Enterprise Production
Section titled “🏭 Enterprise Production”Use: Kubernetes
kubectl apply -f k8s/
- ✅ High availability - 99.9% uptime guarantee
- ✅ Auto-scaling - Handles traffic spikes automatically
- ✅ Multi-region - Deploy across multiple data centers
Deployment Comparison
Section titled “Deployment Comparison”Feature | Docker Compose | Kubernetes |
---|---|---|
Setup Time | 5 minutes | 30 minutes |
Complexity | Simple | Advanced |
Scalability | Up to 10,000 req/day | Unlimited |
High Availability | Single point of failure | 99.9% uptime |
Team Size | 1-3 developers | 5+ with DevOps |
Monthly Cost | $50-200 | $500-5000+ |
Docker Compose (Recommended for Most)
Section titled “Docker Compose (Recommended for Most)”What You Get
Section titled “What You Get”Internet → NGINX → VoP API → PostgreSQL (SSL) (Secure) (Encrypted)
Perfect For:
Section titled “Perfect For:”- Development teams - Quick setup and testing
- Small to medium businesses - Up to 10,000 verifications/day
- Simple operations - One person can manage it
- Cost-effective - Runs on a single server
Quick Setup
Section titled “Quick Setup”# Clone and deploygit clone <repository-url>cd govopmake setup-epc-complete
# Service ready at: https://localhost:8443
Kubernetes (For Large Scale)
Section titled “Kubernetes (For Large Scale)”What You Get
Section titled “What You Get”Load Balancer → Kubernetes Cluster → Auto-scaling VoP Pods → Database Cluster → Monitoring Stack
Perfect For:
Section titled “Perfect For:”- Enterprise deployments - Millions of verifications/day
- High availability - 99.9% uptime requirements
- Global scale - Multiple regions and data centers
- Advanced monitoring - Complete observability
Setup Requirements
Section titled “Setup Requirements”- Kubernetes cluster (AWS EKS, Google GKE, Azure AKS)
- DevOps team with Kubernetes experience
- Advanced monitoring and alerting setup
Environment Strategy
Section titled “Environment Strategy”🧪 Development
Section titled “🧪 Development”# Local developmentmake setupmake dev# Access: http://localhost:8080
🎭 Staging
Section titled “🎭 Staging”# Production-like testingmake setup-epc-complete# Access: https://localhost:8443
🚀 Production
Section titled “🚀 Production”# Choose based on scale:# Small: Docker Compose with HTTPS# Large: Kubernetes deployment
Security by Deployment
Section titled “Security by Deployment”🔒 Docker Compose Security
Section titled “🔒 Docker Compose Security”- ✅ TLS 1.3+ encryption for all communications
- ✅ Client certificate authentication (mTLS)
- ✅ Container isolation - Services run in separate containers
- ✅ Automated certificate management - No manual certificate handling
🛡️ Kubernetes Security
Section titled “🛡️ Kubernetes Security”- ✅ All Docker Compose security features
- ✅ Pod security policies - Advanced container security
- ✅ Network policies - Micro-segmentation
- ✅ Secrets management - Encrypted secret storage
- ✅ RBAC - Role-based access control
Performance Expectations
Section titled “Performance Expectations”Docker Compose Performance
Section titled “Docker Compose Performance”- Response time: < 500ms average
- Throughput: 1,000-10,000 requests/day
- Uptime: 99.5% (with proper monitoring)
- Resource usage: 2-4 GB RAM, 2-4 CPU cores
Kubernetes Performance
Section titled “Kubernetes Performance”- Response time: < 200ms average
- Throughput: Unlimited (auto-scaling)
- Uptime: 99.9% (with multi-zone deployment)
- Resource usage: Scales automatically