Infrastructure Components
Dedicated Servers
| Server | Specifications | Primary Function | Location |
|---|---|---|---|
| AX41-NVMe | AMD Ryzen 5 3600, 64GB RAM, 2x512GB NVMe | Kubernetes Cluster | Helsinki |
| EX42-SSD | Intel Xeon E3-1270v6, 32GB RAM, 2x512GB SSD | Database & Storage | Nuremberg |
Cloud Instances
| Instance | Specifications | Primary Function | Location |
|---|---|---|---|
| CX21 | 2 vCPU, 4GB RAM, 40GB SSD | VPN Gateway | Falkenstein |
| CPX31 | 4 vCPU, 8GB RAM, 80GB SSD | CI/CD Runner | Helsinki |
| CX41 | 4 vCPU, 16GB RAM, 160GB SSD | Monitoring & Logging | Nuremberg |
Storage Boxes
| Storage | Size | Primary Function | Backup Schedule |
|---|---|---|---|
| BX20 | 2TB | Off-site Backups | Daily Incremental, Weekly Full |
| BX40 | 4TB | Media Archive | Monthly Archive |
Network Configuration
Private Network
Utilizing Hetzner’s vSwitch for secure inter-server communication: • 10.0.0.0/24 subnet for dedicated servers • 10.0.1.0/24 subnet for cloud instances • Internal firewall rules restricting traffic between segmentsVPN Connectivity
Secure connection between home lab and Hetzner infrastructure: • WireGuard VPN for site-to-site connectivity • Failover configuration with multiple endpoints • Traffic encryption for all data in transit • Split tunneling for optimized routingServices & Applications
Kubernetes Cluster
Running a production-grade Kubernetes cluster for containerized applications: • K3s lightweight distribution • Longhorn for distributed storage • MetalLB for load balancing • Cert-Manager for certificate automationBackup Infrastructure
Comprehensive backup strategy leveraging Hetzner resources: • Restic for encrypted backups • Automated verification and integrity checks • Geographic redundancy across multiple datacenters • Immutable backups for ransomware protectionMonitoring & Observability
Centralized monitoring solution for both Hetzner and home lab resources: • Prometheus for metrics collection • Grafana for visualization • Loki for log aggregation • Alertmanager for notificationsCost Optimization
Strategies implemented to maximize value from Hetzner resources: • Reserved instances for predictable workloads • Spot instances for batch processing jobs • Automation for scaling down during low-usage periods • Storage tiering based on access patterns| Resource | Monthly Cost (MAD) | Optimization Strategy |
|---|---|---|
| Dedicated Servers | 1.050,00 | Long-term commitment discount |
| Cloud Instances | 420,00 | Auto-scaling based on demand |
| Storage Boxes | 210,00 | Lifecycle policies for older data |
| Network Transfer | 105,00 | Content caching at edge |
| Total | 1.785,00 | ~25% savings from initial setup |
Deployment Workflow
Automated infrastructure provisioning and configuration:- Infrastructure as Code using Terraform
- Configuration management with Ansible
- GitOps workflow with ArgoCD
- CI/CD pipeline integration with GitHub Actions