Skip to content

Commit d0a5dde

Browse files
using proper key to auth on ec2 (#117)
* Added default key to rts deployments * Added default key to rts deployments * Removed hcl spurious lock file * Removed hcl spurious lock file * Added simple 2 nodes setup (1DB with HA enabled) * Updated base image from redis 7.1 to 7.4.0 * RediSearch spot instance should also use it * Increased volume size of spot instance * Added 4 and 8 m7a setups * WIP on perf-base image AMI * Updated ami on search TF setups to ami-0cda50c2e20879afb (perf-base-image-ubuntu22.04-m6i.8xlarge-20250306-0220) * using proper key to auth on ec2 * using proper key to auth on ec2 --------- Co-authored-by: filipecosta90 <filipecosta.90@gmail.com>
1 parent 81036af commit d0a5dde

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

terraform/oss-redisearch-m5-spot-instances/variables.tf

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,23 +56,32 @@ variable "public_key" {
5656
default = "~/.ssh/perf-ci.pub"
5757
}
5858

59+
5960
variable "key_name" {
6061
description = "key name"
61-
default = "perf-ci"
62+
default = "perf-cto-us-east-2"
6263
}
6364

6465
variable "region" {
6566
default = "us-east-2"
6667
}
6768

68-
# (Ubuntu 20.04)
69-
# ubuntu-bionic-20.04-amd64-server with redis 7.4.0 and memtier 2.1.1
70-
# https://us-east-2.console.aws.amazon.com/ec2/home?region=us-east-2#ImageDetails:imageId=ami-0cfbc88a79665b192
69+
# (Ubuntu 22.04, memtier 2.1.4 and redis unstable from March 6th 2025)
70+
# ubuntu@ip-10-3-0-162:~$ memtier_benchmark --version
71+
# memtier_benchmark 2.1.4
72+
# Copyright (C) 2011-2024 Redis Ltd.
73+
# This is free software. You may redistribute copies of it under the terms of
74+
# the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
75+
# There is NO WARRANTY, to the extent permitted by law.
76+
# ubuntu@ip-10-3-0-162:~$ redis-server --version
77+
# Redis server v=255.255.255 sha=f364dcca:0 malloc=jemalloc-5.3.0 bits=64 build=502a999850b32fd8
78+
# https://us-east-2.console.aws.amazon.com/ec2/home?region=us-east-2#ImageDetails:imageId=ami-0cda50c2e20879afb
7179
variable "instance_ami" {
72-
description = "AMI for aws EC2 instance - us-east-2 Ubuntu 20.04 - perf-cto-base-image-ubuntu20.04-redis-7.4.0-tuned-latency"
73-
default = "ami-0cfbc88a79665b192"
80+
description = "AMI for aws EC2 instance - us-east-2 Ubuntu 22.04 - perf-base-image-ubuntu22.04-m6i.8xlarge-20250306-0220"
81+
default = "ami-0cda50c2e20879afb"
7482
}
7583

84+
7685
variable "instance_device_name" {
7786
description = "EC2 instance device name"
7887
default = "/dev/sda1"

0 commit comments

Comments
 (0)