Commit Graph

335 Commits

Author SHA1 Message Date
Jakub Sokołowski 09bc4a49b4
bump master host to t3a.large to accomodate builds
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-05 18:18:56 +01:00
Jakub Sokołowski 652c7129fa
deploy new layout with Madella nodes on each host
See: https://github.com/status-im/infra-nimbus/issues/23

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-05 13:51:42 +01:00
Jakub Sokołowski b7cc6697e8
switch data volumes to SSD type gp2
Test: sudo hdparm -tT /dev/nvme1n1
Before:

/dev/nvme1n1:
 Timing cached reads:   9642 MB in  2.00 seconds = 4825.42 MB/sec
 Timing buffered disk reads:  54 MB in  3.94 seconds =  13.71 MB/sec

After:

/dev/nvme1n1:
 Timing cached reads:   12028 MB in  2.00 seconds = 6020.63 MB/sec
 Timing buffered disk reads: 512 MB in  3.01 seconds = 170.08 MB/sec

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-04 12:01:25 +01:00
Jakub Sokołowski afcf7edf98
increase root volume size to 20 GB
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-02 18:47:14 +01:00
Jakub Sokołowski 73dfac49da
simplify playbook by dropping include_role
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-02 18:47:13 +01:00
Jakub Sokołowski 4cd82e895b
drop bootstrap__extra_volume_path, it clashes with new default
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-02 18:47:12 +01:00
Jakub Sokołowski c7d1db5ced
terraform.py: drop deprecated encoding argument from json.loads
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-02 15:32:57 +01:00
Jakub Sokołowski b1753837d5
fix Ansible warnings about group names and python
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-02 15:30:52 +01:00
Jakub Sokołowski 9d56aa3e84
use our own fork of Nginx role to fix permissions
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-07 19:50:55 +02:00
Jakub Sokołowski 985c745049
use pass provider for secrets and drop terraform.tfvars
https://registry.terraform.io/providers/camptocamp/pass

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-09-26 16:35:36 +02:00
Jakub Sokołowski 262735b0eb
lock terraform version at ~> 0.13.3
https://www.terraform.io/docs/configuration/version-constraints.html#gt--1

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-09-17 17:12:15 +02:00
Jakub Sokołowski 1b23e1a4e7
network-debug-script: add networkctl list
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-09-16 14:38:05 +02:00
Jakub Sokołowski 56e3f1d5cb
add network-debug-script to figure out host issues
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-09-16 12:50:46 +02:00
Jakub Sokołowski 9ebfd5d205
upgrade to terraform 0.13
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-09-07 23:25:32 +02:00
Jakub Sokołowski 3705157812
bump data volume size from 50 to 150 GB
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-08-21 18:08:52 +02:00
Jakub Sokołowski 728caf06ab
another update because of tainted terraform resource
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-08-19 20:53:19 +02:00
Ștefan Talpalaru a27d6826d8
new IPs 2020-08-19 19:47:59 +02:00
Ștefan Talpalaru 49af390fb6
new dynamic IPs 2020-08-19 18:09:20 +02:00
Ștefan Talpalaru c084b2044c
new dynamic IPs for nimbus.test[0:5] 2020-08-19 15:16:57 +02:00
Jakub Sokołowski c6ce372cd1
moar ip updates
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-08-13 11:57:13 +02:00
Jakub Sokołowski 04bb3f4082
update IPs
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-08-13 00:48:42 +02:00
Ștefan Talpalaru dcef20dc7b
log level: TRACE -> DEBUG (#20) 2020-08-04 16:15:30 +02:00
Ștefan Talpalaru 917d2d6adf
Medalla nodes (#19) 2020-08-04 12:45:57 +02:00
Jakub Sokołowski 118b780312
destory the Nimbus ElasticSearch cluster and dashboard
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-08-03 16:29:33 +02:00
Jakub Sokołowski b3773f51b4
disable sending Nimbus fleet logs to Logstash
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-08-03 15:46:07 +02:00
Jakub Sokołowski ac5ff01a1b
drop libp2p.test fleet since it's unused
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-08-03 15:28:44 +02:00
Ștefan Talpalaru 7be336fc3c
disable swap (#18) 2020-07-14 14:27:18 +02:00
Ștefan Talpalaru 22f4aeba8b
enable container restarts for Altona nodes (#17) 2020-07-06 23:22:23 +02:00
Ștefan Talpalaru d291695db5
increase mem limits, remove CPU ones (#16)
* increase CPU/mem limits

* get rid of CPU limits altogether

the kernel scheduler is good enough at ensuring fairness
2020-07-01 00:07:33 +02:00
Ștefan Talpalaru d88720874d
halve the number of containers (#15)
* halve the number of containers

and cleanup some vars

* dedicate some slaves to testnet2

* use list slices for hosts
2020-06-26 22:37:59 +02:00
Jakub Sokołowski 08b6fe9050
deploy 5 libp2p.test hosts
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-06-10 14:55:55 +02:00
Jakub Sokołowski e0ddfa98fd
all: stop disabling watchtower cleanup
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-06-10 13:01:28 +02:00
Jakub Sokołowski 70fea6e4d7
rename main.yml to nimbus.yml playbook
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-06-10 12:35:30 +02:00
Jakub Sokołowski 2440e23a1e
adopt to new open-ports role updates
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-28 23:11:32 +02:00
Jakub Sokołowski 04e86a2802
re-create master-01 due to AWS retirement
"Retiring: This instance is scheduled for retirement after June 5, 2020 at 6:00:00 PM UTC+2."

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-25 19:46:05 +02:00
Jakub Sokołowski 1d4de55a25
create an AWS Console user for stefantalpalaru
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-25 18:49:07 +02:00
Jakub Sokołowski 333c0939bc
update to new infra-tf-aws-vpc
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-19 14:42:44 +02:00
Jakub Sokołowski d8952e4c83
extract aws-vpc role to separate repo
https://github.com/status-im/infra-tf-aws-vpc

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-18 17:11:39 +02:00
Jakub Sokołowski 01088fd433
drop Adam and Igor from users
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-14 10:43:03 +02:00
Jakub Sokołowski b3e320e064
deploy 2GB swap files on Nimbus hosts
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-03-26 19:04:59 +01:00
Jakub Sokołowski 0e184b9e96
set cpu and memory limits for beacon nodes
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-03-26 14:15:22 +01:00
Jakub Sokołowski d3513549f3
add RPC port configuration for Nimbus
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-03-23 19:49:13 +01:00
Jakub Sokołowski b909ac3f07
bump EBS volume type for ES cluster to st1
For details see:
https://github.com/status-im/infra-nimbus/issues/11

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-03-12 14:28:04 +01:00
Jakub Sokołowski 4c10d02983
move docker logs for Nimbus to /docker/log
For more details see:
https://github.com/status-im/infra-nimbus/issues/10

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-03-12 13:49:32 +01:00
kdeme 1dd328307b Add my public ssh key 2020-03-09 23:17:16 +01:00
Jakub Sokołowski 03b6fbe91b
update bootstrap extra volume var name
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-26 16:30:45 +01:00
Jakub Sokołowski 53a059fa2c
set interpreter_python to python3
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-26 16:30:33 +01:00
Jakub Sokołowski 1352c13df2
open UDP ports for beacon nodes
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-21 23:50:09 +01:00
Jakub Sokołowski e8bef4c9b5
fix domain for nimbus-test-stats.status.im
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-20 11:47:17 +01:00
Jakub Sokołowski fcd17845b8
nimbus-stats: port to use systemd timer, fix consul query
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-19 11:51:09 +01:00