Skip to content

Commit

Permalink
Merged in dev/can/MPC-1851-dev8-2021-08-30 (pull request elastic#216)
Browse files Browse the repository at this point in the history
MPC-1851: Add dev1 stack

Approved-by: Gideon Avida
  • Loading branch information
Can Yildiz committed Sep 1, 2021
1 parent 2dde663 commit bb76644
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 2 deletions.
55 changes: 55 additions & 0 deletions aws/ams-cluster-v1-tf/tfvars/dev1.tfvars
@@ -0,0 +1,55 @@
aws_profile = "225275207265_AWSAdministratorAccess"
region = "us-east-1"
stack_name = "dev1"
key_name = "cany"
domain = "us.engageli-dev.com."
cert_domain = "*.us.engageli-dev.com"
r53_zone_id = "/hostedzone/Z0968440QRMGMNA9P09"
sandboxes = ["class", "liza", "alex", "dima", "paul", "alexander", "nikita", "ori", "rotem", "andrei", "matan"]

sw_version = "v1.10"

instance_types = {
"redis" = "cache.t3.small"
"postgres" = "db.t3.small"
"mongodb" = "t3.micro" # Deprecated
"ams" = "t3.micro" # Deprecated
"ems" = "c5.large"
"engageli" = "m5.xlarge"
"merger" = "c5.large"
"bastion" = "t3.micro"
"recorder" = "c5.xlarge"
"ems_redis" = "cache.t3.small"
}

ebs_root_volume_size = {
"engageli" = 32
"ems" = 16
"merger" = 8
"recorder" = 8
}

redis_engine_version = "6.x"

# EMS
ems_asg_min_size = 2
ems_asg_max_size = 2
ems_enabled_sandboxes = ["class", "liza", "alex", "dima", "paul", "alexander", "nikita", "ori", "rotem", "andrei", "matan"]

# Merger
merger_asg_desired_size = 1
merger_asg_min_size = 0
merger_asg_max_size = 3

# Recorder
# recorder_asg_max_size = 7 # Uncomment for load testing

# CDN
cf_create = true
cf_domain = "*.us.engageli-dev.com"

# may be removed in future
bastion_public_key_file = "../ssh-public-keys/cany.pub"
ssh_public_key_file = "../ssh-public-keys/cany.pub"

extra_ssh_ips = ["0.0.0.0/0"] # Allow public ssh access to the system for Ukraine contractors to access
4 changes: 2 additions & 2 deletions aws/ams-cluster-v1-tf/variables.tf
Expand Up @@ -65,13 +65,13 @@ variable "ams_create" {
variable "ams_asg_min_size" {
description = "Minimum size for ant-media autoscaling cluster"
type = number
default = 1
default = 0
}

variable "ams_asg_max_size" {
description = "Maximum size for ant-media autoscaling cluster"
type = number
default = 3
default = 0
}

variable "ams_asg_default_cooldown" {
Expand Down

0 comments on commit bb76644

Please sign in to comment.