deplo a nimbus.geth host for mainnet sync

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2020-11-24 16:07:21 +01:00
parent 3b8ca79a44
commit dfa0f20bdc
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
2 changed files with 32 additions and 0 deletions

View File

@ -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

26
geth.tf
View File

@ -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"