Skip to content

Commit a56547d

Browse files
committed
same VM type for client server
1 parent c20139f commit a56547d

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

terraform/oss-standalone-redisearch-m5/bench-client-resources.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ resource "aws_instance" "client" {
77
vpc_security_group_ids = ["${data.terraform_remote_state.shared_resources.outputs.performance_cto_sg_id}"]
88
key_name = var.key_name
99
associate_public_ip_address = "true"
10-
placement_group = data.terraform_remote_state.shared_resources.outputs.perf_cto_pg_name
10+
#placement_group = data.terraform_remote_state.shared_resources.outputs.perf_cto_pg_name
1111
availability_zone = "us-east-2a"
1212

1313
root_block_device {

terraform/oss-standalone-redisearch-m5/db-resources.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ resource "aws_instance" "server" {
77
vpc_security_group_ids = ["${data.terraform_remote_state.shared_resources.outputs.performance_cto_sg_id}"]
88
key_name = var.key_name
99
associate_public_ip_address = "true"
10-
placement_group = data.terraform_remote_state.shared_resources.outputs.perf_cto_pg_name
10+
#placement_group = data.terraform_remote_state.shared_resources.outputs.perf_cto_pg_name
1111
availability_zone = "us-east-2a"
1212

1313
cpu_options {

terraform/oss-standalone-redisearch-m5/shared_resources.tf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@ provider "aws" {
33
region = var.region
44
}
55

6+
terraform {
7+
required_providers {
8+
aws = {
9+
source = "hashicorp/aws"
10+
version = "5.94.1"
11+
}
12+
}
13+
}
14+
615
################################################################################
716
# This is the shared resources bucket key -- you will need it across environments like security rules,etc...
817
# !! do not change this !!

terraform/oss-standalone-redisearch-m5/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ variable "server_instance_cpu_threads_per_core" {
171171

172172
variable "client_instance_type" {
173173
description = "type for aws EC2 instance"
174-
default = "c6i.4xlarge"
174+
default = "m6i.4xlarge"
175175
}
176176

177177
variable "client_instance_count" {

0 commit comments

Comments
 (0)