This directory contains comprehensive operational documentation for running ThemisDB in production environments.
- DEPLOYMENT.md - Complete deployment guide for production environments
- LOAD_BALANCER_INTEGRATION.md - Load balancer configuration (NGINX, AWS ALB, GCP, Istio, HAProxy)
- SECURITY_POSTURE.md - Security defaults, unsafe modes, and hardening guide (integrators start here)
- SECURITY.md - Security hardening (GPU, TLS, audit logging, HSM, key rotation)
- RUNBOOKS.md - Overview of all operational runbooks
- Detailed Runbooks:
- CORE_MODULE_RUNBOOK.md - Required environment variables, failure modes, mitigations
- UPGRADE_RUNBOOK.md - Zero-downtime upgrade procedures (Rolling, Blue-Green, Canary)
- RESTORE_RUNBOOK.md - Backup restoration and PITR
- FAILOVER_RUNBOOK.md - Failover and recovery procedures
- SCALING_RUNBOOK.md - Horizontal/vertical scaling and HPA
- DISASTER_RECOVERY_PLAN.md - Complete DR plan with RTO/RPO targets, recovery procedures, and testing schedules
- MONITORING.md - Observability setup with Prometheus and Grafana
- PERFORMANCE_TUNING.md - Optimization techniques and best practices
- SECURITY.md - Security hardening and best practices
- TROUBLESHOOTING.md - Common issues and solutions
Pre-planned checklists for common operational scenarios:
- pre_deployment.md - Pre-deployment validation checklist
- post_deployment.md - Post-deployment validation checklist
- incident_response.md - Structured incident handling
- operational_compliance.md - Monthly compliance verification
- Maximum Downtime: 43 minutes per month
- MTTD: < 2 minutes (Mean Time To Detect)
- MTTR: < 30 minutes (Mean Time To Recover)
- P95 Latency: < 200ms
- P99 Latency: < 500ms
- Error Rate: < 0.1%
| Scenario | RTO | RPO |
|---|---|---|
| Single Node Failure | 5 min | 0 sec |
| Data Center Outage | 30 min | 5 sec |
| Regional Disaster | 2 hours | 1 min |
| Complete Data Loss | 4 hours | 15 min |
| Ransomware Attack | 6 hours | 1 hour |
helm install themisdb ./helm/themisdb \
--namespace production \
--set autoscaling.enabled=true \
--set autoscaling.minReplicas=3 \
--set autoscaling.maxReplicas=10 \
--set autoscaling.targetCPUUtilizationPercentage=75# Deploy SLA monitoring dashboard
kubectl apply -f ../../grafana/dashboards/sla-monitoring.json
# Apply SLA alerting rules
kubectl apply -f ../../prometheus/rules/sla-rules.yml# Monthly operational compliance check
./operational-compliance-check.sh# Quarterly disaster recovery test
themisdb-cli test dr-drill --scenario datacenter-failureLocated in ../../grafana/dashboards/:
- sla-monitoring.json - SLA compliance, availability, error budgets
Located in ../../prometheus/rules/:
- sla-rules.yml - SLA breach detection, error budget monitoring
Located in examples/:
- k8s_production_values.yaml - Production Helm values with TLS, env vars, probes, and autoscaling
- single_gpu_setup.yaml - Single GPU development/testing configuration
- multi_gpu_setup.yaml - Multi-GPU production configuration
- distributed_training.yaml - Distributed training setup
- raid_configuration.yaml - High-availability storage configuration
- SECURITY_POSTURE.md - Explicit security defaults vs. production-hardened settings
- RUNBOOKS/CORE_MODULE_RUNBOOK.md - Required environment variables and failure modes
- deploy/systemd/ - systemd service unit and production drop-in
- Review Pre-Deployment Checklist
- Follow Deployment Guide
- Configure Load Balancer
- Set up Monitoring
- Complete Post-Deployment Checklist
- Review Upgrade Runbook
- Create full backup
- Test in staging
- Execute rolling/blue-green/canary upgrade
- Validate and monitor
- Follow Incident Response Checklist
- Consult Troubleshooting Guide
- Execute appropriate runbook (Failover/Restore)
- Document and conduct post-incident review
- Complete Operational Compliance Checklist
- Review SLA metrics and error budgets
- Conduct capacity planning
- Update documentation as needed
- On-Call Engineer: [PagerDuty / Phone]
- Operations Lead: [Email / Phone]
- Engineering Manager: [Email / Phone]
- CTO: [Email / Phone]
- Main Operations Guide: ../OPERATIONS.md
- Architecture Documentation: ../de/architecture/
- API Reference: ../api/
- Contributing Guide: ../../CONTRIBUTING.md
- Security Policy: ../../SECURITY.md
Classification: Internal - Operations
Audience: Operations Teams, SREs, DevOps Engineers
Review Cycle: Quarterly
Version: 1.0
Last Updated: 2026-04-06
For questions or feedback, please:
- Open an issue: https://github.com/makr-code/ThemisDB/issues
- Start a discussion: https://github.com/makr-code/ThemisDB/discussions
- Contact operations team: ops@themisdb.com