2023-05-30 18:41:48 +00:00
|
|
|
/* MOB: ProLiant DL380p Gen8
|
|
|
|
* CPU: Intel Xeon E5-2690 v2 @ 3.00GHz
|
|
|
|
* MEM: 62 GB DDR3
|
|
|
|
* SSD: 1x400 GB, 2x1.6 TB */
|
2024-10-08 13:57:57 +00:00
|
|
|
module "nimbus_nodes_mainnet_innova_nel" {
|
2023-04-17 12:32:09 +00:00
|
|
|
source = "github.com/status-im/infra-tf-dummy-module"
|
|
|
|
|
2024-10-08 13:57:57 +00:00
|
|
|
name = "nel"
|
2023-04-17 12:32:09 +00:00
|
|
|
env = "nimbus"
|
|
|
|
stage = "mainnet"
|
2024-10-08 13:57:57 +00:00
|
|
|
group = "nimbus-mainnet-nel"
|
2023-04-17 12:32:09 +00:00
|
|
|
region = "eu-mda1"
|
|
|
|
prefix = "ih"
|
|
|
|
|
|
|
|
ips = [
|
2024-10-08 13:57:57 +00:00
|
|
|
"194.33.40.70", /* nel-01.ih-eu-mda1.nimbus.mainnet */
|
|
|
|
"194.33.40.72", /* nel-02.ih-eu-mda1.nimbus.mainnet */
|
|
|
|
"194.33.40.78", /* nel-03.ih-eu-mda1.nimbus.mainnet */
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
module "nimbus_nodes_mainnet_innova_erigon" {
|
|
|
|
source = "github.com/status-im/infra-tf-dummy-module"
|
|
|
|
|
|
|
|
name = "erigon"
|
|
|
|
env = "nimbus"
|
|
|
|
stage = "mainnet"
|
|
|
|
group = "nimbus-mainnet-erigon"
|
|
|
|
region = "eu-mda1"
|
|
|
|
prefix = "ih"
|
|
|
|
|
|
|
|
ips = [
|
|
|
|
"194.33.40.99", /* erigon-01.ih-eu-mda1.nimbus.mainnet */
|
|
|
|
"194.33.40.100", /* erigon-02.ih-eu-mda1.nimbus.mainnet */
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
module "nimbus_nodes_mainnet_innova_geth" {
|
|
|
|
source = "github.com/status-im/infra-tf-dummy-module"
|
|
|
|
|
|
|
|
name = "geth"
|
|
|
|
env = "nimbus"
|
|
|
|
stage = "mainnet"
|
|
|
|
group = "nimbus-mainnet-geth"
|
|
|
|
region = "eu-mda1"
|
|
|
|
prefix = "ih"
|
|
|
|
|
|
|
|
ips = [
|
|
|
|
"194.33.40.101", /* geth-01.ih-eu-mda1.nimbus.mainnet */
|
|
|
|
"185.181.229.82", /* geth-02.ih-eu-mda1.nimbus.mainnet */
|
2023-04-17 12:32:09 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2021-10-04 11:42:33 +00:00
|
|
|
/* Community test REST API endpoints. */
|
|
|
|
resource "cloudflare_record" "unstable_mainnet_beacon_api" {
|
|
|
|
zone_id = local.zones["nimbus.team"]
|
|
|
|
name = "unstable.mainnet.beacon-api"
|
2024-10-08 13:57:57 +00:00
|
|
|
value = module.nimbus_nodes_mainnet_innova_geth.public_ips[0]
|
2021-10-04 11:42:33 +00:00
|
|
|
type = "A"
|
|
|
|
proxied = false
|
|
|
|
}
|
|
|
|
|
|
|
|
resource "cloudflare_record" "testing_mainnet_beacon_api" {
|
|
|
|
zone_id = local.zones["nimbus.team"]
|
|
|
|
name = "testing.mainnet.beacon-api"
|
2024-10-08 13:57:57 +00:00
|
|
|
value = module.nimbus_nodes_mainnet_innova_geth.public_ips[1]
|
2021-10-04 11:42:33 +00:00
|
|
|
type = "A"
|
|
|
|
proxied = false
|
|
|
|
}
|
2022-11-17 10:24:00 +00:00
|
|
|
|
2021-01-29 12:26:55 +00:00
|
|
|
/* WARNING: These are bootnodes and losing their IPs and private keys would be bad. */
|
2021-01-18 18:19:09 +00:00
|
|
|
module "nimbus_nodes_mainnet_stable_small" {
|
2020-11-25 14:50:22 +00:00
|
|
|
source = "github.com/status-im/infra-tf-amazon-web-services"
|
|
|
|
|
2024-03-04 17:11:51 +00:00
|
|
|
name = "bootstrap"
|
2020-11-25 14:50:22 +00:00
|
|
|
env = "nimbus"
|
|
|
|
stage = "mainnet"
|
|
|
|
group = "nimbus-mainnet-small"
|
|
|
|
|
|
|
|
/* Scaling */
|
2023-02-09 12:37:16 +00:00
|
|
|
type = "t3a.large"
|
2023-12-22 14:47:07 +00:00
|
|
|
root_vol_size = 30
|
2024-08-26 17:02:38 +00:00
|
|
|
data_vol_size = 1300
|
2020-11-25 14:50:22 +00:00
|
|
|
data_vol_type = "gp2"
|
|
|
|
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
|
|
|
|
}
|