diff --git a/ansible/inventory/test b/ansible/inventory/test index 505b3e8..cf0b3ee 100644 --- a/ansible/inventory/test +++ b/ansible/inventory/test @@ -10,6 +10,7 @@ devel-small-04.aws-eu-central-1a.nimbus.pyrmont hostname=devel-small-04.aws-eu-c goerli-01.aws-eu-central-1a.nimbus.geth hostname=goerli-01.aws-eu-central-1a.nimbus.geth ansible_host=18.194.109.141 env=nimbus stage=geth data_center=aws-eu-central-1a region=eu-central-1a dns_entry=goerli-01.aws-eu-central-1a.nimbus.geth.statusim.net libp2p-small-01.aws-eu-central-1a.nimbus.pyrmont hostname=libp2p-small-01.aws-eu-central-1a.nimbus.pyrmont ansible_host=18.158.168.125 env=nimbus stage=pyrmont data_center=aws-eu-central-1a region=eu-central-1a dns_entry=libp2p-small-01.aws-eu-central-1a.nimbus.pyrmont.statusim.net libp2p-small-02.aws-eu-central-1a.nimbus.pyrmont hostname=libp2p-small-02.aws-eu-central-1a.nimbus.pyrmont ansible_host=18.193.16.58 env=nimbus stage=pyrmont data_center=aws-eu-central-1a region=eu-central-1a dns_entry=libp2p-small-02.aws-eu-central-1a.nimbus.pyrmont.statusim.net +mainnet-01.aws-eu-central-1a.nimbus.geth hostname=mainnet-01.aws-eu-central-1a.nimbus.geth ansible_host=18.196.208.138 env=nimbus stage=geth data_center=aws-eu-central-1a region=eu-central-1a dns_entry=mainnet-01.aws-eu-central-1a.nimbus.geth.statusim.net master-large-01.aws-eu-central-1a.nimbus.pyrmont hostname=master-large-01.aws-eu-central-1a.nimbus.pyrmont ansible_host=3.127.208.1 env=nimbus stage=pyrmont data_center=aws-eu-central-1a region=eu-central-1a dns_entry=master-large-01.aws-eu-central-1a.nimbus.pyrmont.statusim.net master-large-02.aws-eu-central-1a.nimbus.pyrmont hostname=master-large-02.aws-eu-central-1a.nimbus.pyrmont ansible_host=18.198.94.42 env=nimbus stage=pyrmont data_center=aws-eu-central-1a region=eu-central-1a dns_entry=master-large-02.aws-eu-central-1a.nimbus.pyrmont.statusim.net master-small-01.aws-eu-central-1a.nimbus.pyrmont hostname=master-small-01.aws-eu-central-1a.nimbus.pyrmont ansible_host=18.193.255.204 env=nimbus stage=pyrmont data_center=aws-eu-central-1a region=eu-central-1a dns_entry=master-small-01.aws-eu-central-1a.nimbus.pyrmont.statusim.net @@ -29,6 +30,7 @@ devel-small-04.aws-eu-central-1a.nimbus.pyrmont goerli-01.aws-eu-central-1a.nimbus.geth libp2p-small-01.aws-eu-central-1a.nimbus.pyrmont libp2p-small-02.aws-eu-central-1a.nimbus.pyrmont +mainnet-01.aws-eu-central-1a.nimbus.geth master-large-01.aws-eu-central-1a.nimbus.pyrmont master-large-02.aws-eu-central-1a.nimbus.pyrmont master-small-01.aws-eu-central-1a.nimbus.pyrmont @@ -41,6 +43,9 @@ toledo-02.aws-eu-central-1a.nimbus.test [nimbus-geth-goerli] goerli-01.aws-eu-central-1a.nimbus.geth +[nimbus-geth-mainnet] +mainnet-01.aws-eu-central-1a.nimbus.geth + [nimbus-pyrmont-devel] devel-large-01.aws-eu-central-1a.nimbus.pyrmont devel-large-02.aws-eu-central-1a.nimbus.pyrmont @@ -67,6 +72,7 @@ toledo-02.aws-eu-central-1a.nimbus.test [nimbus.geth] goerli-01.aws-eu-central-1a.nimbus.geth +mainnet-01.aws-eu-central-1a.nimbus.geth [nimbus.pyrmont] devel-large-01.aws-eu-central-1a.nimbus.pyrmont diff --git a/geth.tf b/geth.tf index 899e8ab..870ca33 100644 --- a/geth.tf +++ b/geth.tf @@ -1,3 +1,29 @@ +module "nimbus_geth_mainnet" { + source = "github.com/status-im/infra-tf-amazon-web-services" + + name = "mainnet" + env = "nimbus" + stage = "geth" + group = "nimbus-geth-mainnet" + domain = var.domain + + /* Scaling */ + instance_type = "t3a.medium" + root_vol_size = 10 + data_vol_size = 700 + data_vol_type = "gp2" + host_count = 1 + + /* Firewall */ + open_tcp_ports = [ 30303 ] + + /* 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_geth_goerli" { source = "github.com/status-im/infra-tf-amazon-web-services"