deploy a new bridge host in each fleet
Will be running `wakubridge` to connect with `eth.*` fleets. https://github.com/status-im/infra-nimbus/issues/88 Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
a7de9e9c6c
commit
ac96e859e1
|
@ -1,6 +1,7 @@
|
|||
# NOTE: This file is generated by terraform.py
|
||||
# For emergency use when Consul fails
|
||||
[all]
|
||||
bridge-01.do-ams3.status.prod hostname=bridge-01.do-ams3.status.prod ansible_host=161.35.244.35 env=status stage=prod data_center=do-ams3 region=ams3 dns_entry=bridge-01.do-ams3.status.prod.statusim.net
|
||||
node-01.ac-cn-hongkong-c.status.prod hostname=node-01.ac-cn-hongkong-c.status.prod ansible_host=47.242.202.59 env=status stage=prod data_center=ac-cn-hongkong-c region=cn-hongkong-c dns_entry=node-01.ac-cn-hongkong-c.status.prod.statusim.net
|
||||
node-01.do-ams3.status.prod hostname=node-01.do-ams3.status.prod ansible_host=143.198.249.174 env=status stage=prod data_center=do-ams3 region=ams3 dns_entry=node-01.do-ams3.status.prod.statusim.net
|
||||
node-01.gc-us-central1-a.status.prod hostname=node-01.gc-us-central1-a.status.prod ansible_host=35.202.55.153 env=status stage=prod data_center=gc-us-central1-a region=us-central1-a dns_entry=node-01.gc-us-central1-a.status.prod.statusim.net
|
||||
|
@ -12,7 +13,11 @@ node-02.gc-us-central1-a.status.prod hostname=node-02.gc-us-central1-a.status.pr
|
|||
node-01.ac-cn-hongkong-c.status.prod
|
||||
node-02.ac-cn-hongkong-c.status.prod
|
||||
|
||||
[bridge-status-prod]
|
||||
bridge-01.do-ams3.status.prod
|
||||
|
||||
[do-ams3]
|
||||
bridge-01.do-ams3.status.prod
|
||||
node-01.do-ams3.status.prod
|
||||
node-02.do-ams3.status.prod
|
||||
|
||||
|
@ -29,6 +34,7 @@ node-02.do-ams3.status.prod
|
|||
node-02.gc-us-central1-a.status.prod
|
||||
|
||||
[status.prod]
|
||||
bridge-01.do-ams3.status.prod
|
||||
node-01.ac-cn-hongkong-c.status.prod
|
||||
node-01.do-ams3.status.prod
|
||||
node-01.gc-us-central1-a.status.prod
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# NOTE: This file is generated by terraform.py
|
||||
# For emergency use when Consul fails
|
||||
[all]
|
||||
bridge-01.do-ams3.status.test hostname=bridge-01.do-ams3.status.test ansible_host=134.209.133.76 env=status stage=test data_center=do-ams3 region=ams3 dns_entry=bridge-01.do-ams3.status.test.statusim.net
|
||||
node-01.ac-cn-hongkong-c.status.test hostname=node-01.ac-cn-hongkong-c.status.test ansible_host=47.242.233.36 env=status stage=test data_center=ac-cn-hongkong-c region=cn-hongkong-c dns_entry=node-01.ac-cn-hongkong-c.status.test.statusim.net
|
||||
node-01.do-ams3.status.test hostname=node-01.do-ams3.status.test ansible_host=64.225.81.237 env=status stage=test data_center=do-ams3 region=ams3 dns_entry=node-01.do-ams3.status.test.statusim.net
|
||||
node-01.gc-us-central1-a.status.test hostname=node-01.gc-us-central1-a.status.test ansible_host=34.122.252.118 env=status stage=test data_center=gc-us-central1-a region=us-central1-a dns_entry=node-01.gc-us-central1-a.status.test.statusim.net
|
||||
|
@ -8,7 +9,11 @@ node-01.gc-us-central1-a.status.test hostname=node-01.gc-us-central1-a.status.te
|
|||
[ac-cn-hongkong-c]
|
||||
node-01.ac-cn-hongkong-c.status.test
|
||||
|
||||
[bridge-status-test]
|
||||
bridge-01.do-ams3.status.test
|
||||
|
||||
[do-ams3]
|
||||
bridge-01.do-ams3.status.test
|
||||
node-01.do-ams3.status.test
|
||||
|
||||
[gc-us-central1-a]
|
||||
|
@ -20,6 +25,7 @@ node-01.do-ams3.status.test
|
|||
node-01.gc-us-central1-a.status.test
|
||||
|
||||
[status.test]
|
||||
bridge-01.do-ams3.status.test
|
||||
node-01.ac-cn-hongkong-c.status.test
|
||||
node-01.do-ams3.status.test
|
||||
node-01.gc-us-central1-a.status.test
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
module "bridge" {
|
||||
source = "github.com/status-im/infra-tf-digital-ocean"
|
||||
|
||||
/* node type */
|
||||
name = "bridge"
|
||||
env = local.ws.env
|
||||
stage = local.ws.stage
|
||||
group = "bridge-${local.ws.env}-${local.ws.stage}"
|
||||
domain = var.domain
|
||||
|
||||
/* scaling */
|
||||
host_count = 1
|
||||
type = "s-1vcpu-2gb"
|
||||
|
||||
/* firewall */
|
||||
open_tcp_ports = [
|
||||
"9000", /* libp2p */
|
||||
"30303", /* devp2p */
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue