deploy 2 hosts for toledo network running develop
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
faae2a99ef
commit
b25bd39c1a
|
@ -11,6 +11,8 @@ node-06.aws-eu-central-1a.nimbus.test hostname=node-06.aws-eu-central-1a.nimbus.
|
|||
node-07.aws-eu-central-1a.nimbus.test hostname=node-07.aws-eu-central-1a.nimbus.test ansible_host=18.158.142.165 env=nimbus stage=test data_center=aws-eu-central-1a region=eu-central-1a dns_entry=node-07.aws-eu-central-1a.nimbus.test.statusim.net
|
||||
node-08.aws-eu-central-1a.nimbus.test hostname=node-08.aws-eu-central-1a.nimbus.test ansible_host=18.159.24.222 env=nimbus stage=test data_center=aws-eu-central-1a region=eu-central-1a dns_entry=node-08.aws-eu-central-1a.nimbus.test.statusim.net
|
||||
node-09.aws-eu-central-1a.nimbus.test hostname=node-09.aws-eu-central-1a.nimbus.test ansible_host=18.195.193.55 env=nimbus stage=test data_center=aws-eu-central-1a region=eu-central-1a dns_entry=node-09.aws-eu-central-1a.nimbus.test.statusim.net
|
||||
toledo-01.aws-eu-central-1a.nimbus.test hostname=toledo-01.aws-eu-central-1a.nimbus.test ansible_host=3.124.147.227 env=nimbus stage=test data_center=aws-eu-central-1a region=eu-central-1a dns_entry=toledo-01.aws-eu-central-1a.nimbus.test.statusim.net
|
||||
toledo-02.aws-eu-central-1a.nimbus.test hostname=toledo-02.aws-eu-central-1a.nimbus.test ansible_host=18.196.164.28 env=nimbus stage=test data_center=aws-eu-central-1a region=eu-central-1a dns_entry=toledo-02.aws-eu-central-1a.nimbus.test.statusim.net
|
||||
|
||||
[aws-eu-central-1a]
|
||||
master-01.aws-eu-central-1a.nimbus.test
|
||||
|
@ -23,6 +25,8 @@ node-06.aws-eu-central-1a.nimbus.test
|
|||
node-07.aws-eu-central-1a.nimbus.test
|
||||
node-08.aws-eu-central-1a.nimbus.test
|
||||
node-09.aws-eu-central-1a.nimbus.test
|
||||
toledo-01.aws-eu-central-1a.nimbus.test
|
||||
toledo-02.aws-eu-central-1a.nimbus.test
|
||||
|
||||
[nimbus-master]
|
||||
master-01.aws-eu-central-1a.nimbus.test
|
||||
|
@ -38,6 +42,10 @@ node-07.aws-eu-central-1a.nimbus.test
|
|||
node-08.aws-eu-central-1a.nimbus.test
|
||||
node-09.aws-eu-central-1a.nimbus.test
|
||||
|
||||
[nimbus-slaves-toledo]
|
||||
toledo-01.aws-eu-central-1a.nimbus.test
|
||||
toledo-02.aws-eu-central-1a.nimbus.test
|
||||
|
||||
[nimbus.test]
|
||||
master-01.aws-eu-central-1a.nimbus.test
|
||||
node-01.aws-eu-central-1a.nimbus.test
|
||||
|
@ -49,4 +57,6 @@ node-06.aws-eu-central-1a.nimbus.test
|
|||
node-07.aws-eu-central-1a.nimbus.test
|
||||
node-08.aws-eu-central-1a.nimbus.test
|
||||
node-09.aws-eu-central-1a.nimbus.test
|
||||
toledo-01.aws-eu-central-1a.nimbus.test
|
||||
toledo-02.aws-eu-central-1a.nimbus.test
|
||||
|
||||
|
|
|
@ -35,3 +35,11 @@
|
|||
roles:
|
||||
- { role: infra-role-beacon-node, tags: [ infra-role-beacon-node, beacon-node ] }
|
||||
- { role: network-debug-script, tags: [ network-debug-script ] }
|
||||
|
||||
- name: Configure network toledo using develop
|
||||
hosts: nimbus-slaves-toledo
|
||||
vars:
|
||||
beacon_node_network: 'toledo'
|
||||
beacon_node_repo_branch: 'devel'
|
||||
roles:
|
||||
- { role: infra-role-beacon-node, tags: [ infra-role-beacon-node, beacon-node ] }
|
||||
|
|
26
nimbus.tf
26
nimbus.tf
|
@ -73,6 +73,32 @@ module "nimbus_nodes" {
|
|||
keypair_name = aws_key_pair.jakubgs.key_name
|
||||
}
|
||||
|
||||
module "nimbus_nodes_toledo" {
|
||||
source = "github.com/status-im/infra-tf-amazon-web-services"
|
||||
|
||||
name = "toledo"
|
||||
env = "nimbus"
|
||||
group = "nimbus-slaves-toledo"
|
||||
domain = var.domain
|
||||
|
||||
/* Scaling */
|
||||
instance_type = "t3a.medium"
|
||||
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
|
||||
}
|
||||
|
||||
/* DNS ------------------------------------------*/
|
||||
|
||||
resource "cloudflare_record" "nimbus_test_stats" {
|
||||
|
|
Loading…
Reference in New Issue