From ba8644873ba78a2e737cd572a2b079364d3800e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Thu, 29 Apr 2021 12:57:07 +0200 Subject: [PATCH] deploy qmerge-large-01.aws-eu-central-1a.nimbus.rayonism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For more details see: https://github.com/status-im/infra-nimbus/issues/53 Signed-off-by: Jakub SokoĊ‚owski --- ansible/inventory/test | 13 ++++++++----- rayonism.tf | 29 +++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 5 deletions(-) create mode 100644 rayonism.tf diff --git a/ansible/inventory/test b/ansible/inventory/test index b0061f0..16966d7 100644 --- a/ansible/inventory/test +++ b/ansible/inventory/test @@ -7,7 +7,7 @@ node-01.aws-eu-central-1a.dash.nimbus hostname=node-01.aws-eu-central-1a.dash.ni 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 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 -stable-hetzner-01.he-hel1.nimbus.prater hostname=stable-hetzner-01.he-hel1.nimbus.prater ansible_host=65.21.73.183 env=nimbus stage=prater data_center=he-hel1 region=hel1 dns_entry=stable-hetzner-01.he-hel1.nimbus.prater.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 @@ -49,6 +49,7 @@ node-01.aws-eu-central-1a.dash.nimbus node-01.aws-eu-central-1a.log-store.nimbus 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 @@ -86,9 +87,6 @@ unstable-small-04.aws-eu-central-1a.nimbus.pyrmont [dash.nimbus] node-01.aws-eu-central-1a.dash.nimbus -[he-hel1] -stable-hetzner-01.he-hel1.nimbus.prater - [log-dash] node-01.aws-eu-central-1a.dash.nimbus @@ -113,7 +111,6 @@ stable-small-01.aws-eu-central-1a.nimbus.mainnet stable-small-02.aws-eu-central-1a.nimbus.mainnet [nimbus-prater-stable] -stable-hetzner-01.he-hel1.nimbus.prater stable-large-01.aws-eu-central-1a.nimbus.prater stable-large-02.aws-eu-central-1a.nimbus.prater stable-large-03.aws-eu-central-1a.nimbus.prater @@ -162,6 +159,9 @@ unstable-small-04.aws-eu-central-1a.nimbus.pyrmont [nimbus-pyrmont-unstable-libp2p] unstable-libp2p-small-01.aws-eu-central-1a.nimbus.pyrmont +[nimbus-rayonism-qmerge] +qmerge-large-01.aws-eu-central-1a.nimbus.rayonism + [nimbus.geth] goerli-01.aws-eu-central-1a.nimbus.geth mainnet-01.aws-eu-central-1a.nimbus.geth @@ -205,3 +205,6 @@ 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/rayonism.tf b/rayonism.tf new file mode 100644 index 0000000..6b79717 --- /dev/null +++ b/rayonism.tf @@ -0,0 +1,29 @@ +/* Node for Rayonism project, which involves + * multiple short-lived testnets like Steklo. */ +module "nimbus_nodes_rayonism_qmerge_large" { + source = "github.com/status-im/infra-tf-amazon-web-services" + + name = "qmerge-large" + env = "nimbus" + stage = "rayonism" + group = "nimbus-rayonism-qmerge" + domain = var.domain + + /* Scaling */ + instance_type = "z1d.large" + root_vol_size = 20 + data_vol_size = 30 + data_vol_type = "io1" + data_vol_iops = 1500 + 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 +}