From 7c1199f4c0e910cf6b01d0b781db74bb6554dd2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Mon, 19 Jul 2021 13:04:05 +0200 Subject: [PATCH] decomission old AWS Pyrmont hosts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/status-im/infra-nimbus/issues/65 Signed-off-by: Jakub SokoĊ‚owski --- ansible/inventory/test | 64 ------------- pyrmont.tf | 203 ----------------------------------------- 2 files changed, 267 deletions(-) diff --git a/ansible/inventory/test b/ansible/inventory/test index 1c2f7ee..50b25a4 100644 --- a/ansible/inventory/test +++ b/ansible/inventory/test @@ -2,7 +2,6 @@ # For emergency use when Consul fails [all] goerli-01.aws-eu-central-1a.nimbus.geth hostname=goerli-01.aws-eu-central-1a.nimbus.geth ansible_host=18.194.109.141 env=nimbus stage=geth data_center=aws-eu-central-1a region=eu-central-1a dns_entry=goerli-01.aws-eu-central-1a.nimbus.geth.statusim.net -libp2p-small-01.aws-eu-central-1a.nimbus.pyrmont hostname=libp2p-small-01.aws-eu-central-1a.nimbus.pyrmont ansible_host=18.195.225.101 env=nimbus stage=pyrmont data_center=aws-eu-central-1a region=eu-central-1a dns_entry=libp2p-small-01.aws-eu-central-1a.nimbus.pyrmont.statusim.net mainnet-01.aws-eu-central-1a.nimbus.geth hostname=mainnet-01.aws-eu-central-1a.nimbus.geth ansible_host=18.196.208.138 env=nimbus stage=geth data_center=aws-eu-central-1a region=eu-central-1a dns_entry=mainnet-01.aws-eu-central-1a.nimbus.geth.statusim.net metal-01.he-eu-hel1.nimbus.prater hostname=metal-01.he-eu-hel1.nimbus.prater ansible_host=65.21.73.183 env=nimbus stage=prater data_center=he-eu-hel1 region=eu-hel1 dns_entry=metal-01.he-eu-hel1.nimbus.prater.statusim.net metal-01.he-eu-hel1.nimbus.pyrmont hostname=metal-01.he-eu-hel1.nimbus.pyrmont ansible_host=65.21.196.45 env=nimbus stage=pyrmont data_center=he-eu-hel1 region=eu-hel1 dns_entry=metal-01.he-eu-hel1.nimbus.pyrmont.statusim.net @@ -15,39 +14,25 @@ node-02.aws-eu-central-1a.log-store.nimbus hostname=node-02.aws-eu-central-1a.lo node-03.aws-eu-central-1a.log-store.nimbus hostname=node-03.aws-eu-central-1a.log-store.nimbus ansible_host=18.156.65.18 env=log-store stage=nimbus data_center=aws-eu-central-1a region=eu-central-1a dns_entry=node-03.aws-eu-central-1a.log-store.nimbus.statusim.net qmerge-large-01.aws-eu-central-1a.nimbus.rayonism hostname=qmerge-large-01.aws-eu-central-1a.nimbus.rayonism ansible_host=54.93.141.16 env=nimbus stage=rayonism data_center=aws-eu-central-1a region=eu-central-1a dns_entry=qmerge-large-01.aws-eu-central-1a.nimbus.rayonism.statusim.net stable-large-01.aws-eu-central-1a.nimbus.prater hostname=stable-large-01.aws-eu-central-1a.nimbus.prater ansible_host=3.120.202.252 env=nimbus stage=prater data_center=aws-eu-central-1a region=eu-central-1a dns_entry=stable-large-01.aws-eu-central-1a.nimbus.prater.statusim.net -stable-large-01.aws-eu-central-1a.nimbus.pyrmont hostname=stable-large-01.aws-eu-central-1a.nimbus.pyrmont ansible_host=18.158.198.245 env=nimbus stage=pyrmont data_center=aws-eu-central-1a region=eu-central-1a dns_entry=stable-large-01.aws-eu-central-1a.nimbus.pyrmont.statusim.net stable-large-02.aws-eu-central-1a.nimbus.prater hostname=stable-large-02.aws-eu-central-1a.nimbus.prater ansible_host=3.65.99.236 env=nimbus stage=prater data_center=aws-eu-central-1a region=eu-central-1a dns_entry=stable-large-02.aws-eu-central-1a.nimbus.prater.statusim.net stable-large-03.aws-eu-central-1a.nimbus.prater hostname=stable-large-03.aws-eu-central-1a.nimbus.prater ansible_host=3.64.72.159 env=nimbus stage=prater data_center=aws-eu-central-1a region=eu-central-1a dns_entry=stable-large-03.aws-eu-central-1a.nimbus.prater.statusim.net stable-large-04.aws-eu-central-1a.nimbus.prater hostname=stable-large-04.aws-eu-central-1a.nimbus.prater ansible_host=3.65.240.81 env=nimbus stage=prater data_center=aws-eu-central-1a region=eu-central-1a dns_entry=stable-large-04.aws-eu-central-1a.nimbus.prater.statusim.net stable-small-01.aws-eu-central-1a.nimbus.mainnet hostname=stable-small-01.aws-eu-central-1a.nimbus.mainnet ansible_host=3.120.104.18 env=nimbus stage=mainnet data_center=aws-eu-central-1a region=eu-central-1a dns_entry=stable-small-01.aws-eu-central-1a.nimbus.mainnet.statusim.net -stable-small-01.aws-eu-central-1a.nimbus.pyrmont hostname=stable-small-01.aws-eu-central-1a.nimbus.pyrmont ansible_host=3.64.67.28 env=nimbus stage=pyrmont data_center=aws-eu-central-1a region=eu-central-1a dns_entry=stable-small-01.aws-eu-central-1a.nimbus.pyrmont.statusim.net stable-small-02.aws-eu-central-1a.nimbus.mainnet hostname=stable-small-02.aws-eu-central-1a.nimbus.mainnet ansible_host=3.64.117.223 env=nimbus stage=mainnet data_center=aws-eu-central-1a region=eu-central-1a dns_entry=stable-small-02.aws-eu-central-1a.nimbus.mainnet.statusim.net testing-large-01.aws-eu-central-1a.nimbus.prater hostname=testing-large-01.aws-eu-central-1a.nimbus.prater ansible_host=18.195.151.76 env=nimbus stage=prater data_center=aws-eu-central-1a region=eu-central-1a dns_entry=testing-large-01.aws-eu-central-1a.nimbus.prater.statusim.net -testing-large-01.aws-eu-central-1a.nimbus.pyrmont hostname=testing-large-01.aws-eu-central-1a.nimbus.pyrmont ansible_host=18.193.173.125 env=nimbus stage=pyrmont data_center=aws-eu-central-1a region=eu-central-1a dns_entry=testing-large-01.aws-eu-central-1a.nimbus.pyrmont.statusim.net testing-large-02.aws-eu-central-1a.nimbus.prater hostname=testing-large-02.aws-eu-central-1a.nimbus.prater ansible_host=18.158.6.76 env=nimbus stage=prater data_center=aws-eu-central-1a region=eu-central-1a dns_entry=testing-large-02.aws-eu-central-1a.nimbus.prater.statusim.net testing-large-03.aws-eu-central-1a.nimbus.prater hostname=testing-large-03.aws-eu-central-1a.nimbus.prater ansible_host=18.157.146.243 env=nimbus stage=prater data_center=aws-eu-central-1a region=eu-central-1a dns_entry=testing-large-03.aws-eu-central-1a.nimbus.prater.statusim.net testing-large-04.aws-eu-central-1a.nimbus.prater hostname=testing-large-04.aws-eu-central-1a.nimbus.prater ansible_host=18.197.120.187 env=nimbus stage=prater data_center=aws-eu-central-1a region=eu-central-1a dns_entry=testing-large-04.aws-eu-central-1a.nimbus.prater.statusim.net -testing-small-01.aws-eu-central-1a.nimbus.pyrmont hostname=testing-small-01.aws-eu-central-1a.nimbus.pyrmont ansible_host=18.198.155.216 env=nimbus stage=pyrmont data_center=aws-eu-central-1a region=eu-central-1a dns_entry=testing-small-01.aws-eu-central-1a.nimbus.pyrmont.statusim.net -testing-small-02.aws-eu-central-1a.nimbus.pyrmont hostname=testing-small-02.aws-eu-central-1a.nimbus.pyrmont ansible_host=3.124.251.140 env=nimbus stage=pyrmont data_center=aws-eu-central-1a region=eu-central-1a dns_entry=testing-small-02.aws-eu-central-1a.nimbus.pyrmont.statusim.net -testing-small-03.aws-eu-central-1a.nimbus.pyrmont hostname=testing-small-03.aws-eu-central-1a.nimbus.pyrmont ansible_host=35.156.225.126 env=nimbus stage=pyrmont data_center=aws-eu-central-1a region=eu-central-1a dns_entry=testing-small-03.aws-eu-central-1a.nimbus.pyrmont.statusim.net -testing-small-04.aws-eu-central-1a.nimbus.pyrmont hostname=testing-small-04.aws-eu-central-1a.nimbus.pyrmont ansible_host=18.193.215.229 env=nimbus stage=pyrmont data_center=aws-eu-central-1a region=eu-central-1a dns_entry=testing-small-04.aws-eu-central-1a.nimbus.pyrmont.statusim.net u-libp2p-s-large-01.aws-eu-central-1a.nimbus.prater hostname=u-libp2p-s-large-01.aws-eu-central-1a.nimbus.prater ansible_host=3.65.85.93 env=nimbus stage=prater data_center=aws-eu-central-1a region=eu-central-1a dns_entry=u-libp2p-s-large-01.aws-eu-central-1a.nimbus.prater.statusim.net u-libp2p-u-large-01.aws-eu-central-1a.nimbus.prater hostname=u-libp2p-u-large-01.aws-eu-central-1a.nimbus.prater ansible_host=18.158.170.20 env=nimbus stage=prater data_center=aws-eu-central-1a region=eu-central-1a dns_entry=u-libp2p-u-large-01.aws-eu-central-1a.nimbus.prater.statusim.net unstable-large-01.aws-eu-central-1a.nimbus.prater hostname=unstable-large-01.aws-eu-central-1a.nimbus.prater ansible_host=3.65.85.130 env=nimbus stage=prater data_center=aws-eu-central-1a region=eu-central-1a dns_entry=unstable-large-01.aws-eu-central-1a.nimbus.prater.statusim.net -unstable-large-01.aws-eu-central-1a.nimbus.pyrmont hostname=unstable-large-01.aws-eu-central-1a.nimbus.pyrmont ansible_host=18.198.99.61 env=nimbus stage=pyrmont data_center=aws-eu-central-1a region=eu-central-1a dns_entry=unstable-large-01.aws-eu-central-1a.nimbus.pyrmont.statusim.net unstable-large-02.aws-eu-central-1a.nimbus.prater hostname=unstable-large-02.aws-eu-central-1a.nimbus.prater ansible_host=3.65.180.246 env=nimbus stage=prater data_center=aws-eu-central-1a region=eu-central-1a dns_entry=unstable-large-02.aws-eu-central-1a.nimbus.prater.statusim.net -unstable-large-02.aws-eu-central-1a.nimbus.pyrmont hostname=unstable-large-02.aws-eu-central-1a.nimbus.pyrmont ansible_host=18.193.2.74 env=nimbus stage=pyrmont data_center=aws-eu-central-1a region=eu-central-1a dns_entry=unstable-large-02.aws-eu-central-1a.nimbus.pyrmont.statusim.net unstable-large-03.aws-eu-central-1a.nimbus.prater hostname=unstable-large-03.aws-eu-central-1a.nimbus.prater ansible_host=18.198.64.62 env=nimbus stage=prater data_center=aws-eu-central-1a region=eu-central-1a dns_entry=unstable-large-03.aws-eu-central-1a.nimbus.prater.statusim.net unstable-large-04.aws-eu-central-1a.nimbus.prater hostname=unstable-large-04.aws-eu-central-1a.nimbus.prater ansible_host=3.65.231.145 env=nimbus stage=prater data_center=aws-eu-central-1a region=eu-central-1a dns_entry=unstable-large-04.aws-eu-central-1a.nimbus.prater.statusim.net -unstable-small-01.aws-eu-central-1a.nimbus.pyrmont hostname=unstable-small-01.aws-eu-central-1a.nimbus.pyrmont ansible_host=52.57.100.135 env=nimbus stage=pyrmont data_center=aws-eu-central-1a region=eu-central-1a dns_entry=unstable-small-01.aws-eu-central-1a.nimbus.pyrmont.statusim.net -unstable-small-02.aws-eu-central-1a.nimbus.pyrmont hostname=unstable-small-02.aws-eu-central-1a.nimbus.pyrmont ansible_host=18.193.206.240 env=nimbus stage=pyrmont data_center=aws-eu-central-1a region=eu-central-1a dns_entry=unstable-small-02.aws-eu-central-1a.nimbus.pyrmont.statusim.net -unstable-small-03.aws-eu-central-1a.nimbus.pyrmont hostname=unstable-small-03.aws-eu-central-1a.nimbus.pyrmont ansible_host=52.28.209.174 env=nimbus stage=pyrmont data_center=aws-eu-central-1a region=eu-central-1a dns_entry=unstable-small-03.aws-eu-central-1a.nimbus.pyrmont.statusim.net -unstable-small-04.aws-eu-central-1a.nimbus.pyrmont hostname=unstable-small-04.aws-eu-central-1a.nimbus.pyrmont ansible_host=3.125.21.130 env=nimbus stage=pyrmont data_center=aws-eu-central-1a region=eu-central-1a dns_entry=unstable-small-04.aws-eu-central-1a.nimbus.pyrmont.statusim.net windows-01.gc-us-central1-a.nimbus.prater hostname=windows-01.gc-us-central1-a.nimbus.prater ansible_host=35.232.80.244 env=nimbus stage=prater data_center=gc-us-central1-a region=us-central1-a dns_entry=windows-01.gc-us-central1-a.nimbus.prater.statusim.net [aws-eu-central-1a] goerli-01.aws-eu-central-1a.nimbus.geth -libp2p-small-01.aws-eu-central-1a.nimbus.pyrmont mainnet-01.aws-eu-central-1a.nimbus.geth node-01.aws-eu-central-1a.dash.nimbus node-01.aws-eu-central-1a.log-store.nimbus @@ -55,34 +40,21 @@ node-02.aws-eu-central-1a.log-store.nimbus node-03.aws-eu-central-1a.log-store.nimbus qmerge-large-01.aws-eu-central-1a.nimbus.rayonism stable-large-01.aws-eu-central-1a.nimbus.prater -stable-large-01.aws-eu-central-1a.nimbus.pyrmont stable-large-02.aws-eu-central-1a.nimbus.prater stable-large-03.aws-eu-central-1a.nimbus.prater stable-large-04.aws-eu-central-1a.nimbus.prater stable-small-01.aws-eu-central-1a.nimbus.mainnet -stable-small-01.aws-eu-central-1a.nimbus.pyrmont stable-small-02.aws-eu-central-1a.nimbus.mainnet testing-large-01.aws-eu-central-1a.nimbus.prater -testing-large-01.aws-eu-central-1a.nimbus.pyrmont testing-large-02.aws-eu-central-1a.nimbus.prater testing-large-03.aws-eu-central-1a.nimbus.prater testing-large-04.aws-eu-central-1a.nimbus.prater -testing-small-01.aws-eu-central-1a.nimbus.pyrmont -testing-small-02.aws-eu-central-1a.nimbus.pyrmont -testing-small-03.aws-eu-central-1a.nimbus.pyrmont -testing-small-04.aws-eu-central-1a.nimbus.pyrmont u-libp2p-s-large-01.aws-eu-central-1a.nimbus.prater u-libp2p-u-large-01.aws-eu-central-1a.nimbus.prater unstable-large-01.aws-eu-central-1a.nimbus.prater -unstable-large-01.aws-eu-central-1a.nimbus.pyrmont unstable-large-02.aws-eu-central-1a.nimbus.prater -unstable-large-02.aws-eu-central-1a.nimbus.pyrmont unstable-large-03.aws-eu-central-1a.nimbus.prater unstable-large-04.aws-eu-central-1a.nimbus.prater -unstable-small-01.aws-eu-central-1a.nimbus.pyrmont -unstable-small-02.aws-eu-central-1a.nimbus.pyrmont -unstable-small-03.aws-eu-central-1a.nimbus.pyrmont -unstable-small-04.aws-eu-central-1a.nimbus.pyrmont [dash.nimbus] node-01.aws-eu-central-1a.dash.nimbus @@ -150,34 +122,12 @@ u-libp2p-u-large-01.aws-eu-central-1a.nimbus.prater [nimbus-prater-windows] windows-01.gc-us-central1-a.nimbus.prater -[nimbus-pyrmont-libp2p] -libp2p-small-01.aws-eu-central-1a.nimbus.pyrmont - [nimbus-pyrmont-metal] metal-01.he-eu-hel1.nimbus.pyrmont metal-02.he-eu-hel1.nimbus.pyrmont metal-03.he-eu-hel1.nimbus.pyrmont metal-04.he-eu-hel1.nimbus.pyrmont -[nimbus-pyrmont-stable] -stable-large-01.aws-eu-central-1a.nimbus.pyrmont -stable-small-01.aws-eu-central-1a.nimbus.pyrmont - -[nimbus-pyrmont-testing] -testing-large-01.aws-eu-central-1a.nimbus.pyrmont -testing-small-01.aws-eu-central-1a.nimbus.pyrmont -testing-small-02.aws-eu-central-1a.nimbus.pyrmont -testing-small-03.aws-eu-central-1a.nimbus.pyrmont -testing-small-04.aws-eu-central-1a.nimbus.pyrmont - -[nimbus-pyrmont-unstable] -unstable-large-01.aws-eu-central-1a.nimbus.pyrmont -unstable-large-02.aws-eu-central-1a.nimbus.pyrmont -unstable-small-01.aws-eu-central-1a.nimbus.pyrmont -unstable-small-02.aws-eu-central-1a.nimbus.pyrmont -unstable-small-03.aws-eu-central-1a.nimbus.pyrmont -unstable-small-04.aws-eu-central-1a.nimbus.pyrmont - [nimbus-rayonism-qmerge] qmerge-large-01.aws-eu-central-1a.nimbus.rayonism @@ -208,24 +158,10 @@ unstable-large-04.aws-eu-central-1a.nimbus.prater windows-01.gc-us-central1-a.nimbus.prater [nimbus.pyrmont] -libp2p-small-01.aws-eu-central-1a.nimbus.pyrmont metal-01.he-eu-hel1.nimbus.pyrmont metal-02.he-eu-hel1.nimbus.pyrmont metal-03.he-eu-hel1.nimbus.pyrmont metal-04.he-eu-hel1.nimbus.pyrmont -stable-large-01.aws-eu-central-1a.nimbus.pyrmont -stable-small-01.aws-eu-central-1a.nimbus.pyrmont -testing-large-01.aws-eu-central-1a.nimbus.pyrmont -testing-small-01.aws-eu-central-1a.nimbus.pyrmont -testing-small-02.aws-eu-central-1a.nimbus.pyrmont -testing-small-03.aws-eu-central-1a.nimbus.pyrmont -testing-small-04.aws-eu-central-1a.nimbus.pyrmont -unstable-large-01.aws-eu-central-1a.nimbus.pyrmont -unstable-large-02.aws-eu-central-1a.nimbus.pyrmont -unstable-small-01.aws-eu-central-1a.nimbus.pyrmont -unstable-small-02.aws-eu-central-1a.nimbus.pyrmont -unstable-small-03.aws-eu-central-1a.nimbus.pyrmont -unstable-small-04.aws-eu-central-1a.nimbus.pyrmont [nimbus.rayonism] qmerge-large-01.aws-eu-central-1a.nimbus.rayonism diff --git a/pyrmont.tf b/pyrmont.tf index 41e9adc..4b6b9df 100644 --- a/pyrmont.tf +++ b/pyrmont.tf @@ -1,206 +1,3 @@ -locals { - /* Volumes */ - pyrmont_root_vol_size = 20 - pyrmont_data_vol_size = 150 - pyrmont_data_vol_type = "io1" - pyrmont_data_vol_iops = 2500 - /* Instances */ - pyrmont_large_instance_type = "z1d.large" - pyrmont_small_instance_type = "t3a.medium" -} - -module "nimbus_nodes_pyrmont_stable_large" { - source = "github.com/status-im/infra-tf-amazon-web-services" - - name = "stable-large" - env = "nimbus" - stage = "pyrmont" - group = "nimbus-pyrmont-stable" - domain = var.domain - - /* Scaling */ - instance_type = local.pyrmont_large_instance_type - root_vol_size = local.pyrmont_root_vol_size - data_vol_size = local.pyrmont_data_vol_size - data_vol_type = local.pyrmont_data_vol_type - data_vol_iops = local.pyrmont_data_vol_iops - host_count = 1 - - /* Firewall */ - open_udp_ports = local.nimbus_ports - open_tcp_ports = local.nimbus_ports - - /* Plumbing */ - vpc_id = module.nimbus_network.vpc.id - subnet_id = module.nimbus_network.subnets[0].id - secgroup_id = module.nimbus_network.secgroup.id - keypair_name = aws_key_pair.jakubgs.key_name -} - -module "nimbus_nodes_pyrmont_stable_small" { - source = "github.com/status-im/infra-tf-amazon-web-services" - - name = "stable-small" - env = "nimbus" - stage = "pyrmont" - group = "nimbus-pyrmont-stable" - domain = var.domain - - /* Scaling */ - instance_type = local.pyrmont_small_instance_type - root_vol_size = local.pyrmont_root_vol_size - data_vol_size = local.pyrmont_data_vol_size - data_vol_type = local.pyrmont_data_vol_type - host_count = 1 - - /* Firewall */ - open_udp_ports = local.nimbus_ports - open_tcp_ports = local.nimbus_ports - - /* Plumbing */ - vpc_id = module.nimbus_network.vpc.id - subnet_id = module.nimbus_network.subnets[0].id - secgroup_id = module.nimbus_network.secgroup.id - keypair_name = aws_key_pair.jakubgs.key_name -} - -module "nimbus_nodes_pyrmont_testing_large" { - source = "github.com/status-im/infra-tf-amazon-web-services" - - name = "testing-large" - env = "nimbus" - stage = "pyrmont" - group = "nimbus-pyrmont-testing" - domain = var.domain - - /* Scaling */ - instance_type = local.pyrmont_large_instance_type - root_vol_size = local.pyrmont_root_vol_size - data_vol_size = local.pyrmont_data_vol_size - data_vol_type = local.pyrmont_data_vol_type - data_vol_iops = local.pyrmont_data_vol_iops - host_count = 1 - - /* Firewall */ - open_udp_ports = local.nimbus_ports - open_tcp_ports = local.nimbus_ports - - /* Plumbing */ - vpc_id = module.nimbus_network.vpc.id - subnet_id = module.nimbus_network.subnets[0].id - secgroup_id = module.nimbus_network.secgroup.id - keypair_name = aws_key_pair.jakubgs.key_name -} - -module "nimbus_nodes_pyrmont_testing_small" { - source = "github.com/status-im/infra-tf-amazon-web-services" - - name = "testing-small" - env = "nimbus" - stage = "pyrmont" - group = "nimbus-pyrmont-testing" - domain = var.domain - - /* Scaling */ - instance_type = local.pyrmont_small_instance_type - root_vol_size = local.pyrmont_root_vol_size - data_vol_size = local.pyrmont_data_vol_size - data_vol_type = local.pyrmont_data_vol_type - host_count = 4 - - /* Firewall */ - open_udp_ports = local.nimbus_ports - open_tcp_ports = local.nimbus_ports - - /* Plumbing */ - vpc_id = module.nimbus_network.vpc.id - subnet_id = module.nimbus_network.subnets[0].id - secgroup_id = module.nimbus_network.secgroup.id - keypair_name = aws_key_pair.jakubgs.key_name -} - -module "nimbus_nodes_pyrmont_unstable_large" { - source = "github.com/status-im/infra-tf-amazon-web-services" - - name = "unstable-large" - env = "nimbus" - stage = "pyrmont" - group = "nimbus-pyrmont-unstable" - domain = var.domain - - /* Scaling */ - instance_type = local.pyrmont_large_instance_type - root_vol_size = local.pyrmont_root_vol_size - data_vol_size = local.pyrmont_data_vol_size - data_vol_type = local.pyrmont_data_vol_type - data_vol_iops = local.pyrmont_data_vol_iops - host_count = 2 - - /* Firewall */ - open_udp_ports = local.nimbus_ports - open_tcp_ports = local.nimbus_ports - - /* Plumbing */ - vpc_id = module.nimbus_network.vpc.id - subnet_id = module.nimbus_network.subnets[0].id - secgroup_id = module.nimbus_network.secgroup.id - keypair_name = aws_key_pair.jakubgs.key_name -} - -module "nimbus_nodes_pyrmont_unstable_small" { - source = "github.com/status-im/infra-tf-amazon-web-services" - - name = "unstable-small" - env = "nimbus" - stage = "pyrmont" - group = "nimbus-pyrmont-unstable" - domain = var.domain - - /* Scaling */ - instance_type = local.pyrmont_small_instance_type - root_vol_size = local.pyrmont_root_vol_size - data_vol_size = local.pyrmont_data_vol_size - data_vol_type = local.pyrmont_data_vol_type - host_count = 4 - - /* Firewall */ - open_udp_ports = local.nimbus_ports - open_tcp_ports = local.nimbus_ports - - /* Plumbing */ - vpc_id = module.nimbus_network.vpc.id - subnet_id = module.nimbus_network.subnets[0].id - secgroup_id = module.nimbus_network.secgroup.id - keypair_name = aws_key_pair.jakubgs.key_name -} - -module "nimbus_nodes_pyrmont_libp2p_small" { - source = "github.com/status-im/infra-tf-amazon-web-services" - - name = "libp2p-small" - env = "nimbus" - stage = "pyrmont" - group = "nimbus-pyrmont-libp2p" - domain = var.domain - - /* Scaling */ - instance_type = local.pyrmont_small_instance_type - root_vol_size = local.pyrmont_root_vol_size - data_vol_size = local.pyrmont_data_vol_size - data_vol_type = local.pyrmont_data_vol_type - host_count = 1 - - /* Firewall */ - open_udp_ports = local.nimbus_ports - open_tcp_ports = local.nimbus_ports - - /* Plumbing */ - vpc_id = module.nimbus_network.vpc.id - subnet_id = module.nimbus_network.subnets[0].id - secgroup_id = module.nimbus_network.secgroup.id - keypair_name = aws_key_pair.jakubgs.key_name -} - module "nimbus_nodes_pyrmont_hetzner" { source = "./modules/hetzner"