From 84b086d076afae66003827c33d202108f86a5480 Mon Sep 17 00:00:00 2001 From: Piwccle Date: Mon, 15 Dec 2025 16:50:52 +0100 Subject: [PATCH] openvidu-deployment: GCP - update variables and disk types to use europe-west2 and hyperdisk-balanced --- .../community/singlenode/gcp/variables.tf | 4 ++-- .../pro/elastic/gcp/tf-gpc-openvidu-elastic.tf | 4 ++-- openvidu-deployment/pro/ha/gcp/tf-gpc-openvidu-ha.tf | 10 +++++----- openvidu-deployment/pro/singlenode/gcp/variables.tf | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/openvidu-deployment/community/singlenode/gcp/variables.tf b/openvidu-deployment/community/singlenode/gcp/variables.tf index e73a2c98a..8a27aa579 100644 --- a/openvidu-deployment/community/singlenode/gcp/variables.tf +++ b/openvidu-deployment/community/singlenode/gcp/variables.tf @@ -9,13 +9,13 @@ variable "projectId" { variable "region" { description = "GCP region where resources will be created." type = string - default = "europe-west1" + default = "europe-west2" } variable "zone" { description = "GCP zone that some resources will use." type = string - default = "europe-west1-b" + default = "europe-west2-b" } variable "stackName" { diff --git a/openvidu-deployment/pro/elastic/gcp/tf-gpc-openvidu-elastic.tf b/openvidu-deployment/pro/elastic/gcp/tf-gpc-openvidu-elastic.tf index 823e4e45a..f5013e376 100644 --- a/openvidu-deployment/pro/elastic/gcp/tf-gpc-openvidu-elastic.tf +++ b/openvidu-deployment/pro/elastic/gcp/tf-gpc-openvidu-elastic.tf @@ -142,7 +142,7 @@ resource "google_compute_instance" "openvidu_master_node" { initialize_params { image = local.ubuntu_image size = 100 - type = local.is_c4a_instance ? "pd-ssd" : "pd-standard" + type = local.is_c4a_instance ? "hyperdisk-balanced" : "pd-standard" } } @@ -205,7 +205,7 @@ resource "google_compute_instance_template" "media_node_template" { auto_delete = true boot = true disk_size_gb = 100 - disk_type = local.is_c4a_instance_media ? "pd-ssd" : "pd-standard" + disk_type = local.is_c4a_instance_media ? "hyperdisk-balanced" : "pd-standard" } network_interface { diff --git a/openvidu-deployment/pro/ha/gcp/tf-gpc-openvidu-ha.tf b/openvidu-deployment/pro/ha/gcp/tf-gpc-openvidu-ha.tf index 8a4a9ec66..d7ad18d1b 100644 --- a/openvidu-deployment/pro/ha/gcp/tf-gpc-openvidu-ha.tf +++ b/openvidu-deployment/pro/ha/gcp/tf-gpc-openvidu-ha.tf @@ -298,7 +298,7 @@ resource "google_compute_instance" "openvidu_master_node_1" { initialize_params { image = local.ubuntu_image size = var.masterNodesDiskSize - type = local.is_c4a_instance ? "pd-ssd" : "pd-standard" + type = local.is_c4a_instance ? "hyperdisk-balanced" : "pd-standard" } } @@ -351,7 +351,7 @@ resource "google_compute_instance" "openvidu_master_node_2" { initialize_params { image = local.ubuntu_image size = var.masterNodesDiskSize - type = local.is_c4a_instance ? "pd-ssd" : "pd-standard" + type = local.is_c4a_instance ? "hyperdisk-balanced" : "pd-standard" } } @@ -406,7 +406,7 @@ resource "google_compute_instance" "openvidu_master_node_3" { initialize_params { image = local.ubuntu_image size = var.masterNodesDiskSize - type = local.is_c4a_instance ? "pd-ssd" : "pd-standard" + type = local.is_c4a_instance ? "hyperdisk-balanced" : "pd-standard" } } @@ -461,7 +461,7 @@ resource "google_compute_instance" "openvidu_master_node_4" { initialize_params { image = local.ubuntu_image size = var.masterNodesDiskSize - type = local.is_c4a_instance ? "pd-ssd" : "pd-standard" + type = local.is_c4a_instance ? "hyperdisk-balanced" : "pd-standard" } } @@ -858,7 +858,7 @@ resource "google_compute_instance_template" "media_node_template" { auto_delete = true boot = true disk_size_gb = 100 - disk_type = local.is_c4a_instance_media ? "pd-ssd" : "pd-standard" + disk_type = local.is_c4a_instance_media ? "hyperdisk-balanced" : "pd-standard" } network_interface { diff --git a/openvidu-deployment/pro/singlenode/gcp/variables.tf b/openvidu-deployment/pro/singlenode/gcp/variables.tf index 3023f3196..0d1c19b42 100644 --- a/openvidu-deployment/pro/singlenode/gcp/variables.tf +++ b/openvidu-deployment/pro/singlenode/gcp/variables.tf @@ -9,13 +9,13 @@ variable "projectId" { variable "region" { description = "GCP region where resources will be created." type = string - default = "europe-west1" + default = "europe-west2" } variable "zone" { description = "GCP zone that some resources will use." type = string - default = "europe-west1-b" + default = "europe-west2-b" } variable "stackName" {