Browse Source

update size

Chris Mague 4 years ago
parent
commit
933a808082
2 changed files with 13 additions and 7 deletions
  1. 12 6
      ansible/nodes.yml
  2. 1 1
      main.tf

+ 12 - 6
ansible/nodes.yml

@@ -26,12 +26,18 @@
       - zlib1g-dev
       - zlib1g-dev
       - libssl-dev
       - libssl-dev
     redis_ports:
     redis_ports:
-      - {"port": 19901, "start-hslot": 0, "end-hslot": 2730}
-      - {"port": 19902, "start-hslot": 2731, "end-hslot": 5460}
-      - {"port": 19903, "start-hslot": 5461, "end-hslot": 8191}
-      - {"port": 19904, "start-hslot": 8192, "end-hslot": 10921}
-      - {"port": 19905, "start-hslot": 10922, "end-hslot": 13651}
-      - {"port": 19906, "start-hslot": 13652, "end-hslot": 16383}
+      - {"port": 19901, "start-hslot": 0, "end-hslot": 1365}
+      - {"port": 19902, "start-hslot": 1366, "end-hslot": 2730}
+      - {"port": 19903, "start-hslot": 2731, "end-hslot": 4096}
+      - {"port": 19904, "start-hslot": 4097, "end-hslot": 5460}
+      - {"port": 19905, "start-hslot": 5461, "end-hslot": 6826}
+      - {"port": 19906, "start-hslot": 6827, "end-hslot": 8191}
+      - {"port": 19907, "start-hslot": 8192, "end-hslot": 9557}
+      - {"port": 19908, "start-hslot": 9558, "end-hslot": 10921}
+      - {"port": 19909, "start-hslot": 10922, "end-hslot": 12287}
+      - {"port": 19910, "start-hslot": 12288, "end-hslot": 13651}
+      - {"port": 19911, "start-hslot": 13652, "end-hslot": 15017}
+      - {"port": 19912, "start-hslot": 15018, "end-hslot": 16383}
 
 
   handlers:
   handlers:
     - name: reload_redis_services
     - name: reload_redis_services

+ 1 - 1
main.tf

@@ -23,7 +23,7 @@ module "nodes" {
   open-nets        = ["76.14.80.208/32"]
   open-nets        = ["76.14.80.208/32"]
   data-node-count  = 3
   data-node-count  = 3
   enable-volumes   = false
   enable-volumes   = false
-  re-instance-type = "t3.2xlarge"
+  re-instance-type = "c5a.4xlarge"
   vpc-cidr         = var.vpc-cidr
   vpc-cidr         = var.vpc-cidr
   vpc-azs          = var.vpc-azs
   vpc-azs          = var.vpc-azs
   vpc-name         = var.vpc-name
   vpc-name         = var.vpc-name