# Planed infrastructure setup
### Current situation (2021-06-17)
- Gameserver (Hetzner-Server-Cloud1)
- Auth (DO-Server-Cloud1)
- Gameserver Backups (DO-S3-1)
- Releases on website (DO-S3-1)
- Grafana/Prometheus (Hetzner-Server-Dedicated1)
- Torvus (Hetzner-Server-Dedicated1)
- Airshipper (Hetzner-Server-Dedicated1)
- BenchmarkCIDB (Hetzner-Server-Dedicated1)
- Wiki (xMAC94x-Server-Dedicated1)
### Current Servers
- DO-Server-Cloud1: ~15$/month
- DO-S3-1: ~10$/month
- Hetzner-Server-Cloud1: 27€/month
- Hetzner-Server-Dedicated1: 64€/month
- xMAC94x-Server-Dedicated1: 0€/month
## Plan
move ALL to dedicated server, and have some reliable staging progress in order to TEST changes not on the production system... changes need to happen, and if we only have production we cant test them before the world tests them:
### Planned Servers:
- Hetzner-Server-Dedicated1: 64€/month
- Hetzner-Server-Cloud1: 14€/month
- Hetzner-Server-Cloud2: 14€/month (optional)
- Wasabi-S3-1: 5€/month
### Planned Services:
- Host ALL services (Gameserver, auth, Grafana, Prometheus, Torvus, Airsipper, CIDB, Wiki) on the dedicated Hetzner box in a k8s cluster.
- Host Backups and Releases on Website on Wasabi-S3-1
- Host a staging system with a copy of ALL services on a Hetzner-Server-Cloud1. Before a change hits production it needs to hit staging first.
- Automate all deployments
- Have a optional 2nd cloud instance which people can create when needed and drop when needed to test out stuff that would interfeer with the staging system
### Diffs
Gameserver -> Moves to dedi
Wasabi -> Provisioned for 5€/month
- Backups
- Releases on website
DO vh-1 -> Removed
DO spaces -> Removed
Cloud-instance-1 -> Provisioned
- Staging for production cluster
Cloud-instance-2 -> Provisioned (as needed)