|
145 | 145 | # client-$REGION-$INSTANCE_TYPE-$ASG_SUFFIX
|
146 | 146 | in
|
147 | 147 | lib.listToAttrs (lib.forEach [
|
148 |
| - (mkAsgs "eu-central-1" 1 "m5.8xlarge" 1000 "prod" "prod" {} {}) |
149 |
| - (mkAsgs "eu-central-1" 3 "t3.xlarge" 200 "infra" "infra" {withPatroni = true;} {volumeType = "gp3";}) |
| 148 | + (mkAsgs "eu-central-1" 0 "m5.8xlarge" 1000 "prod" "prod" {} {}) |
| 149 | + (mkAsgs "eu-central-1" 0 "t3.xlarge" 200 "infra" "infra" {withPatroni = true;} {volumeType = "gp3";}) |
150 | 150 | (mkAsgs "eu-central-1" 0 "m5.metal" 1000 "baremetal" "baremetal" {} {primaryInterface = "enp125s0";})
|
151 | 151 | (mkAsgs "eu-central-1" 0 "t3a.medium" 100 "test" "test" {} {})
|
152 | 152 | (mkAsgs "eu-central-1" 0 "t3a.medium" 100 "perf" "perf" {} {})
|
|
261 | 261 | };
|
262 | 262 |
|
263 | 263 | routing = {
|
264 |
| - instanceType = "m5n.4xlarge"; |
| 264 | + instanceType = "t3a.large"; |
265 | 265 | privateIP = "172.16.1.20";
|
266 | 266 | subnet = cluster.vpc.subnets.core-2;
|
267 | 267 | volumeSize = 100;
|
@@ -346,24 +346,25 @@ in {
|
346 | 346 | };
|
347 | 347 | };
|
348 | 348 |
|
349 |
| - cache = { |
350 |
| - instanceType = "m5n.4xlarge"; |
351 |
| - privateIP = "172.16.0.52"; |
352 |
| - subnet = cluster.vpc.subnets.core-1; |
353 |
| - volumeSize = 13000; |
354 |
| - |
355 |
| - modules = [ |
356 |
| - (bitte + /profiles/auxiliaries/telegraf.nix) |
357 |
| - (bitte + /modules/docker-registry.nix) |
358 |
| - ./cache.nix |
359 |
| - ./r2-user.nix |
360 |
| - ./auth-keys-hub.nix |
361 |
| - {services.docker-registry.enable = true;} |
362 |
| - ]; |
363 |
| - securityGroupRules = { |
364 |
| - inherit (securityGroupRules) internet internal ssh; |
365 |
| - }; |
366 |
| - }; |
| 349 | + # Cache server and docker registry no longer in use |
| 350 | + # cache = { |
| 351 | + # instanceType = "m5n.4xlarge"; |
| 352 | + # privateIP = "172.16.0.52"; |
| 353 | + # subnet = cluster.vpc.subnets.core-1; |
| 354 | + # volumeSize = 13000; |
| 355 | + |
| 356 | + # modules = [ |
| 357 | + # (bitte + /profiles/auxiliaries/telegraf.nix) |
| 358 | + # (bitte + /modules/docker-registry.nix) |
| 359 | + # ./cache.nix |
| 360 | + # ./r2-user.nix |
| 361 | + # ./auth-keys-hub.nix |
| 362 | + # {services.docker-registry.enable = true;} |
| 363 | + # ]; |
| 364 | + # securityGroupRules = { |
| 365 | + # inherit (securityGroupRules) internet internal ssh; |
| 366 | + # }; |
| 367 | + # }; |
367 | 368 |
|
368 | 369 | zt = {
|
369 | 370 | # https://support.netfoundry.io/hc/en-us/articles/360025875331-Edge-Router-VM-Sizing-Guide
|
|
0 commit comments