2020-11-20 12:51:38 +00:00
|
|
|
module "nimbus_nodes_pyrmont_master_large" {
|
2020-11-17 11:57:13 +00:00
|
|
|
source = "github.com/status-im/infra-tf-amazon-web-services"
|
|
|
|
|
2020-11-20 12:51:38 +00:00
|
|
|
name = "master-large"
|
2020-11-17 11:57:13 +00:00
|
|
|
env = "nimbus"
|
2020-11-20 12:51:38 +00:00
|
|
|
stage = "pyrmont"
|
2020-11-17 11:57:13 +00:00
|
|
|
group = "nimbus-slaves-pyrmont"
|
|
|
|
domain = var.domain
|
|
|
|
|
|
|
|
/* Scaling */
|
2020-11-20 12:53:11 +00:00
|
|
|
instance_type = "z1d.large"
|
2020-11-17 11:57:13 +00:00
|
|
|
root_vol_size = 20
|
|
|
|
data_vol_size = 150
|
|
|
|
data_vol_type = "gp2"
|
2020-11-20 12:51:38 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
|
|
|
|
module "nimbus_nodes_pyrmont_master_small" {
|
|
|
|
source = "github.com/status-im/infra-tf-amazon-web-services"
|
|
|
|
|
|
|
|
name = "master-small"
|
|
|
|
env = "nimbus"
|
|
|
|
stage = "pyrmont"
|
|
|
|
group = "nimbus-slaves-pyrmont"
|
|
|
|
domain = var.domain
|
|
|
|
|
|
|
|
/* Scaling */
|
|
|
|
instance_type = "t3a.medium"
|
|
|
|
root_vol_size = 20
|
|
|
|
data_vol_size = 150
|
|
|
|
data_vol_type = "gp2"
|
2020-11-20 13:23:03 +00:00
|
|
|
host_count = 4
|
2020-11-20 12:51:38 +00:00
|
|
|
|
|
|
|
/* 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
|
|
|
|
}
|
|
|
|
|
|
|
|
module "nimbus_nodes_pyrmont_devel_large" {
|
|
|
|
source = "github.com/status-im/infra-tf-amazon-web-services"
|
|
|
|
|
|
|
|
name = "devel-large"
|
|
|
|
env = "nimbus"
|
|
|
|
stage = "pyrmont"
|
|
|
|
group = "nimbus-slaves-pyrmont"
|
|
|
|
domain = var.domain
|
|
|
|
|
|
|
|
/* Scaling */
|
2020-11-20 12:53:11 +00:00
|
|
|
instance_type = "z1d.large"
|
2020-11-20 12:51:38 +00:00
|
|
|
root_vol_size = 20
|
|
|
|
data_vol_size = 150
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
|
|
|
module "nimbus_nodes_pyrmont_devel_small" {
|
|
|
|
source = "github.com/status-im/infra-tf-amazon-web-services"
|
|
|
|
|
|
|
|
name = "devel-small"
|
|
|
|
env = "nimbus"
|
|
|
|
stage = "pyrmont"
|
|
|
|
group = "nimbus-slaves-pyrmont"
|
|
|
|
domain = var.domain
|
|
|
|
|
|
|
|
/* Scaling */
|
|
|
|
instance_type = "t3a.medium"
|
|
|
|
root_vol_size = 20
|
|
|
|
data_vol_size = 150
|
|
|
|
data_vol_type = "gp2"
|
2020-11-20 13:23:03 +00:00
|
|
|
host_count = 4
|
2020-11-20 12:51:38 +00:00
|
|
|
|
|
|
|
/* 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
|
|
|
|
}
|
|
|
|
|
|
|
|
module "nimbus_nodes_pyrmont_libp2p_small" {
|
|
|
|
source = "github.com/status-im/infra-tf-amazon-web-services"
|
|
|
|
|
|
|
|
name = "libp2p-small"
|
|
|
|
env = "nimbus"
|
|
|
|
stage = "pyrmont"
|
|
|
|
group = "nimbus-slaves-pyrmont"
|
|
|
|
domain = var.domain
|
|
|
|
|
|
|
|
/* Scaling */
|
2020-11-20 12:53:11 +00:00
|
|
|
instance_type = "t3a.medium"
|
2020-11-20 12:51:38 +00:00
|
|
|
root_vol_size = 20
|
|
|
|
data_vol_size = 150
|
|
|
|
data_vol_type = "gp2"
|
|
|
|
host_count = 2
|
2020-11-17 11:57:13 +00:00
|
|
|
|
|
|
|
/* 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
|
|
|
|
}
|