2021-03-18 04:59:45 +00:00
|
|
|
locals {
|
|
|
|
/* Volumes */
|
|
|
|
prater_root_vol_size = 20
|
|
|
|
prater_data_vol_size = 50
|
|
|
|
prater_data_vol_type = "io1"
|
|
|
|
prater_data_vol_iops = 2500
|
|
|
|
/* Instances */
|
|
|
|
prater_large_instance_type = "z1d.large"
|
|
|
|
}
|
|
|
|
|
|
|
|
module "nimbus_nodes_prater_stable_large" {
|
|
|
|
source = "github.com/status-im/infra-tf-amazon-web-services"
|
|
|
|
|
|
|
|
name = "stable-large"
|
|
|
|
env = "nimbus"
|
|
|
|
stage = "prater"
|
|
|
|
group = "nimbus-prater-stable"
|
|
|
|
domain = var.domain
|
|
|
|
|
|
|
|
/* Scaling */
|
|
|
|
instance_type = local.prater_large_instance_type
|
|
|
|
root_vol_size = local.prater_root_vol_size
|
|
|
|
data_vol_size = local.prater_data_vol_size
|
|
|
|
data_vol_type = local.prater_data_vol_type
|
|
|
|
data_vol_iops = local.prater_data_vol_iops
|
|
|
|
host_count = 5
|
|
|
|
|
|
|
|
/* 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
|
2021-03-22 14:47:51 +00:00
|
|
|
keypair_name = aws_key_pair.arthurk.key_name
|
2021-03-18 04:59:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
module "nimbus_nodes_prater_testing_large" {
|
|
|
|
source = "github.com/status-im/infra-tf-amazon-web-services"
|
|
|
|
|
|
|
|
name = "testing-large"
|
|
|
|
env = "nimbus"
|
|
|
|
stage = "prater"
|
|
|
|
group = "nimbus-prater-testing"
|
|
|
|
domain = var.domain
|
|
|
|
|
|
|
|
/* Scaling */
|
|
|
|
instance_type = local.prater_large_instance_type
|
|
|
|
root_vol_size = local.prater_root_vol_size
|
|
|
|
data_vol_size = local.prater_data_vol_size
|
|
|
|
data_vol_type = local.prater_data_vol_type
|
|
|
|
data_vol_iops = local.prater_data_vol_iops
|
|
|
|
host_count = 5
|
|
|
|
|
|
|
|
/* 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
|
2021-03-22 14:47:51 +00:00
|
|
|
keypair_name = aws_key_pair.arthurk.key_name
|
2021-03-18 04:59:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
module "nimbus_nodes_prater_unstable_large" {
|
|
|
|
source = "github.com/status-im/infra-tf-amazon-web-services"
|
|
|
|
|
|
|
|
name = "unstable-large"
|
|
|
|
env = "nimbus"
|
|
|
|
stage = "prater"
|
|
|
|
group = "nimbus-prater-unstable"
|
|
|
|
domain = var.domain
|
|
|
|
|
|
|
|
/* Scaling */
|
|
|
|
instance_type = local.prater_large_instance_type
|
|
|
|
root_vol_size = local.prater_root_vol_size
|
|
|
|
data_vol_size = local.prater_data_vol_size
|
|
|
|
data_vol_type = local.prater_data_vol_type
|
|
|
|
data_vol_iops = local.prater_data_vol_iops
|
|
|
|
host_count = 5
|
|
|
|
|
|
|
|
/* 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
|
2021-03-22 14:47:51 +00:00
|
|
|
keypair_name = aws_key_pair.arthurk.key_name
|
2021-03-18 04:59:45 +00:00
|
|
|
}
|
|
|
|
|
2021-04-01 10:46:32 +00:00
|
|
|
module "nimbus_nodes_prater_unstable_libp2p_stable_large" {
|
2021-03-18 04:59:45 +00:00
|
|
|
source = "github.com/status-im/infra-tf-amazon-web-services"
|
|
|
|
|
2021-04-01 10:46:32 +00:00
|
|
|
name = "u-libp2p-s-large"
|
2021-03-18 04:59:45 +00:00
|
|
|
env = "nimbus"
|
|
|
|
stage = "prater"
|
2021-04-01 10:46:32 +00:00
|
|
|
group = "nimbus-prater-unstable-libp2p-stable"
|
2021-03-18 04:59:45 +00:00
|
|
|
domain = var.domain
|
|
|
|
|
|
|
|
/* Scaling */
|
|
|
|
instance_type = local.prater_large_instance_type
|
|
|
|
root_vol_size = local.prater_root_vol_size
|
|
|
|
data_vol_size = local.prater_data_vol_size
|
|
|
|
data_vol_type = local.prater_data_vol_type
|
|
|
|
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
|
2021-03-22 14:47:51 +00:00
|
|
|
keypair_name = aws_key_pair.arthurk.key_name
|
2021-03-18 04:59:45 +00:00
|
|
|
}
|
2021-04-02 07:00:02 +00:00
|
|
|
|
|
|
|
module "nimbus_nodes_prater_unstable_libp2p_unstable_large" {
|
|
|
|
source = "github.com/status-im/infra-tf-amazon-web-services"
|
|
|
|
|
|
|
|
name = "u-libp2p-u-large"
|
|
|
|
env = "nimbus"
|
|
|
|
stage = "prater"
|
|
|
|
group = "nimbus-prater-unstable-libp2p-unstable"
|
|
|
|
domain = var.domain
|
|
|
|
|
|
|
|
/* Scaling */
|
|
|
|
instance_type = local.prater_large_instance_type
|
|
|
|
root_vol_size = local.prater_root_vol_size
|
|
|
|
data_vol_size = local.prater_data_vol_size
|
|
|
|
data_vol_type = local.prater_data_vol_type
|
|
|
|
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.arthurk.key_name
|
|
|
|
}
|