Skip to content

Commit

Permalink
chore(deployment) : Increase production datawarehouse vCPUs
Browse files Browse the repository at this point in the history
We noticed that the load was constantly above 10 on the production
datawarehouse, which is a nasty problem for almost all of our
infrastructure.
  • Loading branch information
vperron committed Oct 9, 2024
1 parent 5c872de commit ec9ebce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deployment/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand Down

0 comments on commit ec9ebce

Please sign in to comment.