From 1bdcf1cab9b4d7a255b121522a329c617900fb11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Tue, 30 Aug 2022 20:19:47 +0200 Subject: [PATCH] nimbus.prater: provision new bigger linux hosts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Part of deploying dedicated Geth nodes. https://github.com/status-im/infra-nimbus/issues/125 Signed-off-by: Jakub SokoĊ‚owski --- ansible/inventory/test | 24 ++++++++++++++++++++++++ prater.tf | 23 ++++++++++++++++++++++- 2 files changed, 46 insertions(+), 1 deletion(-) diff --git a/ansible/inventory/test b/ansible/inventory/test index 01a8b07..fdcc4e7 100644 --- a/ansible/inventory/test +++ b/ansible/inventory/test @@ -2,6 +2,12 @@ # 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 +linux-01.he-eu-hel1.nimbus.prater hostname=linux-01.he-eu-hel1.nimbus.prater ansible_host=95.217.198.113 env=nimbus stage=prater data_center=he-eu-hel1 region=eu-hel1 dns_entry=linux-01.he-eu-hel1.nimbus.prater.statusim.net +linux-02.he-eu-hel1.nimbus.prater hostname=linux-02.he-eu-hel1.nimbus.prater ansible_host=95.217.230.20 env=nimbus stage=prater data_center=he-eu-hel1 region=eu-hel1 dns_entry=linux-02.he-eu-hel1.nimbus.prater.statusim.net +linux-03.he-eu-hel1.nimbus.prater hostname=linux-03.he-eu-hel1.nimbus.prater ansible_host=65.108.132.230 env=nimbus stage=prater data_center=he-eu-hel1 region=eu-hel1 dns_entry=linux-03.he-eu-hel1.nimbus.prater.statusim.net +linux-04.he-eu-hel1.nimbus.prater hostname=linux-04.he-eu-hel1.nimbus.prater ansible_host=135.181.20.36 env=nimbus stage=prater data_center=he-eu-hel1 region=eu-hel1 dns_entry=linux-04.he-eu-hel1.nimbus.prater.statusim.net +linux-05.he-eu-hel1.nimbus.prater hostname=linux-05.he-eu-hel1.nimbus.prater ansible_host=95.217.224.92 env=nimbus stage=prater data_center=he-eu-hel1 region=eu-hel1 dns_entry=linux-05.he-eu-hel1.nimbus.prater.statusim.net +linux-06.he-eu-hel1.nimbus.prater hostname=linux-06.he-eu-hel1.nimbus.prater ansible_host=95.217.204.216 env=nimbus stage=prater data_center=he-eu-hel1 region=eu-hel1 dns_entry=linux-06.he-eu-hel1.nimbus.prater.statusim.net macos-01.ms-eu-dublin.nimbus.prater hostname=macos-01.ms-eu-dublin.nimbus.prater ansible_host=207.254.102.98 env=nimbus stage=prater data_center=ms-eu-dublin region=eu-dublin dns_entry=macos-01.ms-eu-dublin.nimbus.prater.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.eth1 hostname=metal-01.he-eu-hel1.nimbus.eth1 ansible_host=65.21.230.244 env=nimbus stage=eth1 data_center=he-eu-hel1 region=eu-hel1 dns_entry=metal-01.he-eu-hel1.nimbus.eth1.statusim.net @@ -46,6 +52,12 @@ unstable-large-01.aws-eu-central-1a.nimbus.prater node-01.aws-eu-central-1a.dash.nimbus [he-eu-hel1] +linux-01.he-eu-hel1.nimbus.prater +linux-02.he-eu-hel1.nimbus.prater +linux-03.he-eu-hel1.nimbus.prater +linux-04.he-eu-hel1.nimbus.prater +linux-05.he-eu-hel1.nimbus.prater +linux-06.he-eu-hel1.nimbus.prater metal-01.he-eu-hel1.nimbus.eth1 metal-01.he-eu-hel1.nimbus.fluffy metal-01.he-eu-hel1.nimbus.kiln @@ -111,6 +123,12 @@ stable-small-02.aws-eu-central-1a.nimbus.mainnet macos-01.ms-eu-dublin.nimbus.prater [nimbus-prater-metal] +linux-01.he-eu-hel1.nimbus.prater +linux-02.he-eu-hel1.nimbus.prater +linux-03.he-eu-hel1.nimbus.prater +linux-04.he-eu-hel1.nimbus.prater +linux-05.he-eu-hel1.nimbus.prater +linux-06.he-eu-hel1.nimbus.prater metal-01.he-eu-hel1.nimbus.prater metal-02.he-eu-hel1.nimbus.prater metal-03.he-eu-hel1.nimbus.prater @@ -158,6 +176,12 @@ stable-small-01.aws-eu-central-1a.nimbus.mainnet stable-small-02.aws-eu-central-1a.nimbus.mainnet [nimbus.prater] +linux-01.he-eu-hel1.nimbus.prater +linux-02.he-eu-hel1.nimbus.prater +linux-03.he-eu-hel1.nimbus.prater +linux-04.he-eu-hel1.nimbus.prater +linux-05.he-eu-hel1.nimbus.prater +linux-06.he-eu-hel1.nimbus.prater macos-01.ms-eu-dublin.nimbus.prater metal-01.he-eu-hel1.nimbus.prater metal-02.he-eu-hel1.nimbus.prater diff --git a/prater.tf b/prater.tf index eb77e93..4a87f71 100644 --- a/prater.tf +++ b/prater.tf @@ -109,7 +109,7 @@ module "nimbus_nodes_prater_windows" { ] } -module "nimbus_nodes_prater_hetzner" { +module "old_nimbus_nodes_prater_hetzner" { source = "github.com/status-im/infra-tf-dummy-module" name = "metal" @@ -130,6 +130,27 @@ module "nimbus_nodes_prater_hetzner" { ] } +module "nimbus_nodes_prater_hetzner" { + source = "github.com/status-im/infra-tf-dummy-module" + + name = "linux" + env = "nimbus" + stage = "prater" + group = "nimbus-prater-metal" + region = "eu-hel1" + prefix = "he" + domain = var.domain + + ips = [ + "95.217.198.113", # linux-01.he-eu-hel1.nimbus.prater + "95.217.230.20", # linux-02.he-eu-hel1.nimbus.prater + "65.108.132.230", # linux-03.he-eu-hel1.nimbus.prater + "135.181.20.36", # linux-04.he-eu-hel1.nimbus.prater + "95.217.224.92", # linux-05.he-eu-hel1.nimbus.prater + "95.217.204.216", # linux-06.he-eu-hel1.nimbus.prater + ] +} + /* Community test REST API endpoints. */ resource "cloudflare_record" "unstable_prater_beacon_api" { zone_id = local.zones["nimbus.team"]