From dcecce7bb8c953ab1a8b41bb8d4b9e24bb5d450c Mon Sep 17 00:00:00 2001 From: jagdeep-sonar Date: Wed, 27 Nov 2024 14:43:16 -0800 Subject: [PATCH 1/2] updating apps directory size and test instance type --- examples/aws/poc/dsf_deployment/variables.tf | 2 +- examples/aws/poc/sonar_basic_deployment/variables.tf | 2 +- examples/aws/poc/sonar_hadr_deployment/variables.tf | 2 +- modules/aws/sonar-base-instance/setup.tftpl | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/aws/poc/dsf_deployment/variables.tf b/examples/aws/poc/dsf_deployment/variables.tf index 632e1a1a8..a6a1a937c 100644 --- a/examples/aws/poc/dsf_deployment/variables.tf +++ b/examples/aws/poc/dsf_deployment/variables.tf @@ -246,7 +246,7 @@ variable "agentless_gw_hadr" { variable "hub_instance_type" { type = string - default = "r6i.xlarge" + default = "r6i.2xlarge" description = "Ec2 instance type for the DSF Hub" } diff --git a/examples/aws/poc/sonar_basic_deployment/variables.tf b/examples/aws/poc/sonar_basic_deployment/variables.tf index 0b756b926..f7af1b956 100644 --- a/examples/aws/poc/sonar_basic_deployment/variables.tf +++ b/examples/aws/poc/sonar_basic_deployment/variables.tf @@ -94,7 +94,7 @@ variable "subnet_ids" { variable "hub_instance_type" { type = string - default = "r6i.xlarge" + default = "r6i.2xlarge" description = "Ec2 instance type for the DSF Hub" } diff --git a/examples/aws/poc/sonar_hadr_deployment/variables.tf b/examples/aws/poc/sonar_hadr_deployment/variables.tf index 5107852b9..cdbfefb98 100644 --- a/examples/aws/poc/sonar_hadr_deployment/variables.tf +++ b/examples/aws/poc/sonar_hadr_deployment/variables.tf @@ -110,7 +110,7 @@ variable "subnet_ids" { variable "hub_instance_type" { type = string - default = "r6i.xlarge" + default = "r6i.2xlarge" description = "Ec2 instance type for the DSF Hub" } diff --git a/modules/aws/sonar-base-instance/setup.tftpl b/modules/aws/sonar-base-instance/setup.tftpl index 757f83c9b..31ebe6112 100644 --- a/modules/aws/sonar-base-instance/setup.tftpl +++ b/modules/aws/sonar-base-instance/setup.tftpl @@ -92,7 +92,7 @@ function create_lvm() { # Create logical volumes with lowercase names lvcreate --name logs -L 20G $volume_group_name lvcreate --name local -L 20G $volume_group_name - lvcreate --name apps -L 30G $volume_group_name + lvcreate --name apps -L 40G $volume_group_name lvcreate -l 100%FREE --name data $volume_group_name # Format the logical volumes with desired filesystem (e.g., xfs) From 4881aa97c256184f666fbdf07f6525574e167115 Mon Sep 17 00:00:00 2001 From: jagdeep-sonar Date: Thu, 28 Nov 2024 17:29:06 -0800 Subject: [PATCH 2/2] updating aggentless_gw to 2xlarge --- .../aws/installation/dsf_single_account_deployment/variables.tf | 2 +- .../installation/sonar_multi_account_deployment/variables.tf | 2 +- .../installation/sonar_single_account_deployment/variables.tf | 2 +- examples/aws/poc/dsf_deployment/variables.tf | 2 +- examples/aws/poc/sonar_basic_deployment/variables.tf | 2 +- examples/aws/poc/sonar_hadr_deployment/variables.tf | 2 +- modules/aws/agentless-gw/variables.tf | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/examples/aws/installation/dsf_single_account_deployment/variables.tf b/examples/aws/installation/dsf_single_account_deployment/variables.tf index bb9d17b4d..47192731c 100644 --- a/examples/aws/installation/dsf_single_account_deployment/variables.tf +++ b/examples/aws/installation/dsf_single_account_deployment/variables.tf @@ -253,7 +253,7 @@ variable "hub_instance_type" { variable "agentless_gw_instance_type" { type = string - default = "r6i.xlarge" + default = "r6i.2xlarge" description = "Ec2 instance type for the Agentless Gateway" } diff --git a/examples/aws/installation/sonar_multi_account_deployment/variables.tf b/examples/aws/installation/sonar_multi_account_deployment/variables.tf index 223f7be5a..29354683f 100644 --- a/examples/aws/installation/sonar_multi_account_deployment/variables.tf +++ b/examples/aws/installation/sonar_multi_account_deployment/variables.tf @@ -203,7 +203,7 @@ variable "hub_instance_type" { variable "gw_instance_type" { type = string - default = "r6i.xlarge" + default = "r6i.2xlarge" description = "Ec2 instance type for the DSF gw" } diff --git a/examples/aws/installation/sonar_single_account_deployment/variables.tf b/examples/aws/installation/sonar_single_account_deployment/variables.tf index f205c72ad..c36cc8d30 100644 --- a/examples/aws/installation/sonar_single_account_deployment/variables.tf +++ b/examples/aws/installation/sonar_single_account_deployment/variables.tf @@ -150,7 +150,7 @@ variable "hub_instance_type" { variable "gw_instance_type" { type = string - default = "r6i.xlarge" + default = "r6i.2xlarge" description = "Ec2 instance type for the Agentless Gateway" } diff --git a/examples/aws/poc/dsf_deployment/variables.tf b/examples/aws/poc/dsf_deployment/variables.tf index a6a1a937c..43130cbd2 100644 --- a/examples/aws/poc/dsf_deployment/variables.tf +++ b/examples/aws/poc/dsf_deployment/variables.tf @@ -252,7 +252,7 @@ variable "hub_instance_type" { variable "agentless_gw_instance_type" { type = string - default = "r6i.xlarge" + default = "r6i.2xlarge" description = "Ec2 instance type for the Agentless Gateway" } diff --git a/examples/aws/poc/sonar_basic_deployment/variables.tf b/examples/aws/poc/sonar_basic_deployment/variables.tf index f7af1b956..bdeb4120b 100644 --- a/examples/aws/poc/sonar_basic_deployment/variables.tf +++ b/examples/aws/poc/sonar_basic_deployment/variables.tf @@ -100,7 +100,7 @@ variable "hub_instance_type" { variable "agentless_gw_instance_type" { type = string - default = "r6i.xlarge" + default = "r6i.2xlarge" description = "Ec2 instance type for the Agentless Gateway" } diff --git a/examples/aws/poc/sonar_hadr_deployment/variables.tf b/examples/aws/poc/sonar_hadr_deployment/variables.tf index cdbfefb98..283b63895 100644 --- a/examples/aws/poc/sonar_hadr_deployment/variables.tf +++ b/examples/aws/poc/sonar_hadr_deployment/variables.tf @@ -116,7 +116,7 @@ variable "hub_instance_type" { variable "agentless_gw_instance_type" { type = string - default = "r6i.xlarge" + default = "r6i.2xlarge" description = "Ec2 instance type for the Agentless Gateway" } diff --git a/modules/aws/agentless-gw/variables.tf b/modules/aws/agentless-gw/variables.tf index 6e062a6a5..4d94f42d7 100644 --- a/modules/aws/agentless-gw/variables.tf +++ b/modules/aws/agentless-gw/variables.tf @@ -97,7 +97,7 @@ variable "use_public_ip" { variable "instance_type" { # https://docs.imperva.com/bundle/z-kb-articles-km/page/a6defd0e.html type = string - default = "r6i.xlarge" # 4 cores & 32GB ram + default = "r6i.2xlarge" # 8 cores & 64GB ram description = "Ec2 instance type for the Agentless Gateway" }