From ec9ebce4b8450731c140762727517552e0c4e056 Mon Sep 17 00:00:00 2001 From: Victor Perron Date: Wed, 9 Oct 2024 12:50:38 +0200 Subject: [PATCH] chore(deployment) : Increase production datawarehouse vCPUs We noticed that the load was constantly above 10 on the production datawarehouse, which is a nasty problem for almost all of our infrastructure. --- deployment/main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deployment/main.tf b/deployment/main.tf index 4f0d6096f..9cad1443e 100644 --- a/deployment/main.tf +++ b/deployment/main.tf @@ -22,14 +22,14 @@ resource "scaleway_instance_security_group" "main" { } resource "scaleway_instance_server" "main" { - type = var.environment == "prod" ? "POP2-HM-2C-16G" : "GP1-XS" + type = var.environment == "prod" ? "POP2-HC-8C-16G" : "GP1-XS" image = "docker" ip_id = scaleway_instance_ip.main.id routed_ip_enabled = true security_group_id = scaleway_instance_security_group.main.id root_volume { - size_in_gb = var.environment == "prod" ? 150 : 50 + size_in_gb = var.environment == "prod" ? 200 : 100 delete_on_termination = false } }