Skip to content

Commit

Permalink
nimbus-eth1-bench: add 2 hetzner hosts
Browse files Browse the repository at this point in the history
This commit adds 2 hetzner AX42 hosts for eth1 benchmarking to our network.

related issue: #194
  • Loading branch information
siddarthkay committed Sep 5, 2024
1 parent b7fbded commit 1f07940
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 1 deletion.
10 changes: 10 additions & 0 deletions ansible/inventory/test
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# NOTE: This file is generated by terraform.py
# For emergency use when Consul fails
[all]
bench-01.he-eu-hel1.nimbus.eth1 hostname=bench-01.he-eu-hel1.nimbus.eth1 ansible_host=65.21.46.185 env=nimbus stage=eth1 data_center=he-eu-hel1 region=eu-hel1 dns_entry=bench-01.he-eu-hel1.nimbus.eth1.status.im
bench-02.he-eu-hel1.nimbus.eth1 hostname=bench-02.he-eu-hel1.nimbus.eth1 ansible_host=65.21.46.216 env=nimbus stage=eth1 data_center=he-eu-hel1 region=eu-hel1 dns_entry=bench-02.he-eu-hel1.nimbus.eth1.status.im
bootstrap-01.aws-eu-central-1a.nimbus.mainnet hostname=bootstrap-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=bootstrap-01.aws-eu-central-1a.nimbus.mainnet.status.im
bootstrap-02.aws-eu-central-1a.nimbus.mainnet hostname=bootstrap-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=bootstrap-02.aws-eu-central-1a.nimbus.mainnet.status.im
erigon-01.ih-eu-mda1.nimbus.holesky hostname=erigon-01.ih-eu-mda1.nimbus.holesky ansible_host=194.33.40.148 env=nimbus stage=holesky data_center=ih-eu-mda1 region=eu-mda1 dns_entry=erigon-01.ih-eu-mda1.nimbus.holesky.status.im
Expand Down Expand Up @@ -64,6 +66,8 @@ node-01.aws-eu-central-1a.dash.nimbus
node-01.aws-eu-central-1a.dash.nimbus

[he-eu-hel1]
bench-01.he-eu-hel1.nimbus.eth1
bench-02.he-eu-hel1.nimbus.eth1
store-01.he-eu-hel1.logs.nimbus
store-02.he-eu-hel1.logs.nimbus
store-03.he-eu-hel1.logs.nimbus
Expand Down Expand Up @@ -123,6 +127,10 @@ store-01.he-eu-hel1.logs.nimbus
store-02.he-eu-hel1.logs.nimbus
store-03.he-eu-hel1.logs.nimbus

[nimbus-eth1-bench]
bench-01.he-eu-hel1.nimbus.eth1
bench-02.he-eu-hel1.nimbus.eth1

[nimbus-eth1-metal]
metal-01.ih-eu-mda1.nimbus.eth1

Expand Down Expand Up @@ -196,6 +204,8 @@ bootstrap-02.aws-eu-central-1a.nimbus.mainnet
linux-01.ih-eu-mda1.nimbus.sepolia

[nimbus.eth1]
bench-01.he-eu-hel1.nimbus.eth1
bench-02.he-eu-hel1.nimbus.eth1
metal-01.ih-eu-mda1.nimbus.eth1

[nimbus.fluffy]
Expand Down
27 changes: 26 additions & 1 deletion eth1.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Innova Hosting
/* MOB: ProLiant DL380p Gen8
* MOB: ProLiant DL380p Gen8
* CPU: Intel Xeon E5-2667 v3 @ 3.20GHz
* MEM: 62 GB DDR3
* SSD: 1x400 GB, 1x1.6 TB */
Expand All @@ -15,3 +15,28 @@ module "nimbus_eth1_node_innova" {

ips = ["194.33.40.237"] # metal-01.ih-eu-mda1.nimbus.eth1
}

/* Hetzner
* Dedicated AX42 Server
* Location: Finland, HEL1
* 1 x Primary IPv4
* 1 x 2 TB NVMe SSD
* 8 Core CPU
* 64 GB DDR5 ECC RAM
*/

module "nimbus_eth1_node_benchmark" {
source = "github.com/status-im/infra-tf-dummy-module"

name = "bench"
env = "nimbus"
stage = "eth1"
group = "nimbus-eth1-bench"
region = "eu-hel1"
prefix = "he"

ips = [
"65.21.46.185", # "bench-01.he-eu-hel1.nimbus.eth1"
"65.21.46.216" # "bench-02.he-eu-hel1.nimbus.eth1"
]
}
1 change: 1 addition & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ output "hosts" {
value = merge(
module.nimbus_dashboard.hosts,
module.nimbus_eth1_node_innova.hosts,
module.nimbus_eth1_node_benchmark,
module.nimbus_geth_holesky.hosts,
module.nimbus_geth_mainnet.hosts,
module.nimbus_log_store.hosts,
Expand Down

0 comments on commit 1f07940

Please sign in to comment.