From df96f214cd1a4725943e101475c078dd54a3640d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Thu, 15 Jul 2021 13:51:41 +0200 Subject: [PATCH] add 4 metal Hetzner hosts for Pyrmont migration 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 | 18 ++++++++++++++++++ pyrmont.tf | 17 +++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/ansible/inventory/test b/ansible/inventory/test index 7b0bbc6..1c2f7ee 100644 --- a/ansible/inventory/test +++ b/ansible/inventory/test @@ -5,6 +5,10 @@ goerli-01.aws-eu-central-1a.nimbus.geth hostname=goerli-01.aws-eu-central-1a.nim 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 +metal-02.he-eu-hel1.nimbus.pyrmont hostname=metal-02.he-eu-hel1.nimbus.pyrmont ansible_host=65.21.196.46 env=nimbus stage=pyrmont data_center=he-eu-hel1 region=eu-hel1 dns_entry=metal-02.he-eu-hel1.nimbus.pyrmont.statusim.net +metal-03.he-eu-hel1.nimbus.pyrmont hostname=metal-03.he-eu-hel1.nimbus.pyrmont ansible_host=65.21.196.47 env=nimbus stage=pyrmont data_center=he-eu-hel1 region=eu-hel1 dns_entry=metal-03.he-eu-hel1.nimbus.pyrmont.statusim.net +metal-04.he-eu-hel1.nimbus.pyrmont hostname=metal-04.he-eu-hel1.nimbus.pyrmont ansible_host=65.21.196.48 env=nimbus stage=pyrmont data_center=he-eu-hel1 region=eu-hel1 dns_entry=metal-04.he-eu-hel1.nimbus.pyrmont.statusim.net node-01.aws-eu-central-1a.dash.nimbus hostname=node-01.aws-eu-central-1a.dash.nimbus ansible_host=52.28.100.116 env=dash stage=nimbus data_center=aws-eu-central-1a region=eu-central-1a dns_entry=node-01.aws-eu-central-1a.dash.nimbus.statusim.net node-01.aws-eu-central-1a.log-store.nimbus hostname=node-01.aws-eu-central-1a.log-store.nimbus ansible_host=35.157.196.157 env=log-store stage=nimbus data_center=aws-eu-central-1a region=eu-central-1a dns_entry=node-01.aws-eu-central-1a.log-store.nimbus.statusim.net node-02.aws-eu-central-1a.log-store.nimbus hostname=node-02.aws-eu-central-1a.log-store.nimbus ansible_host=3.64.111.246 env=log-store stage=nimbus data_center=aws-eu-central-1a region=eu-central-1a dns_entry=node-02.aws-eu-central-1a.log-store.nimbus.statusim.net @@ -88,6 +92,10 @@ windows-01.gc-us-central1-a.nimbus.prater [he-eu-hel1] metal-01.he-eu-hel1.nimbus.prater +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 [log-dash] node-01.aws-eu-central-1a.dash.nimbus @@ -145,6 +153,12 @@ 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 @@ -195,6 +209,10 @@ 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 diff --git a/pyrmont.tf b/pyrmont.tf index c4a290f..41e9adc 100644 --- a/pyrmont.tf +++ b/pyrmont.tf @@ -200,3 +200,20 @@ module "nimbus_nodes_pyrmont_libp2p_small" { secgroup_id = module.nimbus_network.secgroup.id keypair_name = aws_key_pair.jakubgs.key_name } + +module "nimbus_nodes_pyrmont_hetzner" { + source = "./modules/hetzner" + + name = "metal" + env = "nimbus" + stage = "pyrmont" + group = "nimbus-pyrmont-metal" + domain = var.domain + + ips = [ + "65.21.196.45", + "65.21.196.46", + "65.21.196.47", + "65.21.196.48", + ] +}