From 2a00fb47b04e9b3a0e34bcb0e308ab94dd855b71 Mon Sep 17 00:00:00 2001 From: cmyui Date: Sat, 7 Mar 2026 20:07:43 -0500 Subject: [PATCH] Switch to CPX42 in Nuremberg (CX53 unavailable) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CX53 is sold out globally. CPX42 is available in nbg1: - 8 vCPU, 16GB RAM, 320GB NVMe — €21.99/mo - MySQL buffer pool adjusted to 8GB for 16GB RAM system Co-Authored-By: Claude Opus 4.6 --- config/mysql/99-akatsuki.cnf | 4 ++-- setup.sh | 2 +- tf/server.tf | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config/mysql/99-akatsuki.cnf b/config/mysql/99-akatsuki.cnf index 840a75c..bcb3fb6 100644 --- a/config/mysql/99-akatsuki.cnf +++ b/config/mysql/99-akatsuki.cnf @@ -3,8 +3,8 @@ bind-address = 0.0.0.0 max_connections = 500 -# InnoDB - 20GB buffer pool for 32GB RAM system (CX53 VPS) -innodb_buffer_pool_size = 21474836480 +# InnoDB - 8GB buffer pool for 16GB RAM system (CPX42 VPS) +innodb_buffer_pool_size = 8589934592 innodb_buffer_pool_instances = 4 innodb_flush_log_at_trx_commit = 1 innodb_flush_method = O_DIRECT diff --git a/setup.sh b/setup.sh index 38d0235..61277ee 100644 --- a/setup.sh +++ b/setup.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash set -euo pipefail -# Hetzner Cloud CX53 server bootstrap script +# Hetzner Cloud CPX42 server bootstrap script # Installs and configures all services for Akatsuki production echo "=== Creating swap file (4GB) ===" diff --git a/tf/server.tf b/tf/server.tf index 4b2dabc..103dce5 100644 --- a/tf/server.tf +++ b/tf/server.tf @@ -5,8 +5,8 @@ resource "hcloud_ssh_key" "deploy" { resource "hcloud_server" "production" { name = "akatsuki-production" - server_type = "cx53" - location = "fsn1" + server_type = "cpx42" + location = "nbg1" image = "ubuntu-24.04" ssh_keys = [hcloud_ssh_key.deploy.id]