Jakub Sokołowski
e8b5ff2500
status-node: fix missing stage for DB hostname
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-01-12 10:18:02 +01:00
Jakub Sokołowski
ff28064f64
status: add DB hosts for prod fleet
...
https://github.com/status-im/infra-status/issues/37
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-01-11 18:41:34 +01:00
Jakub Sokołowski
fe58d7f67a
workspaces.tf: fix instance type for GC DB hosts
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-01-11 18:19:53 +01:00
Jakub Sokołowski
02b75ec688
switch to multi-DB layout with one DB per DC
...
Based on research done in this issue the latency introduced by cross-DC
database operations is too high to be vaiable:
https://github.com/status-im/infra-status/issues/37
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-01-10 20:38:14 +01:00
Jakub Sokołowski
74c0fab223
requirements: bump systemd-timer, certbot, postgres-ha
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-01-10 13:06:35 +01:00
Anton Iakimov
94ab350764
nim-waku: switch to harbor
2024-01-03 13:11:04 +01:00
Jakub Sokołowski
4d77e0632a
status.test: upgrade DB instance to s-6vcpu-16gb
...
It appears the main bottleneck is CPU and not memory.
But lets see. In the long term we should get a hardware host if we need
bigger instances to handle queries on DB hosts.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-07 12:21:34 +01:00
Jakub Sokołowski
b6b26c43cb
status-db: enable backups only on production
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-06 11:54:15 +01:00
Jakub Sokołowski
1a5a25501e
status-db: create port opening rule in VPN chain
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-05 14:34:51 +01:00
Jakub Sokołowski
38540fd174
status.test: upgrade DB instance to s-2vcpu-2gb
...
It appears the latency resulting from queries and inserts being
performed from other data centers does not play a big role, and the main
bottleneck is the size of the DB host:
https://github.com/status-im/infra-status/issues/37#issuecomment-1838471137
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-04 12:49:06 +01:00
Jakub Sokołowski
fc26f5319c
requirements: bump postgres-ha role
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-04 12:33:20 +01:00
Ivan Folgueira Bande
ffca0d5058
all: add admin SSH access for ivansete@status
2023-12-01 14:40:02 +01:00
Ivan Folgueira Bande
ce25220fd6
all: add SSH access for ivansete@status
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-28 11:04:23 +01:00
Jakub Sokołowski
d366ea9539
requirements: add improved healthcheck for postgres-ha
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-23 16:50:33 +01:00
Jakub Sokołowski
e6646aaa2d
status-node: drop use of broken size retention policy
...
It's currently broken:
https://github.com/waku-org/nwaku/issues/2242
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-23 16:43:03 +01:00
Jakub Sokołowski
10437a6c97
status-db: add PostgreSQL DB configuration
...
https://github.com/status-im/infra-status/issues/37
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-23 13:14:57 +01:00
Jakub Sokołowski
f7c4b8a788
outputs.tf: add to print list of hosta after TF run
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-23 13:14:56 +01:00
Jakub Sokołowski
b277afa771
requirements: use full names of infra roles
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-23 13:14:55 +01:00
Jakub Sokołowski
8acf2ace7f
add single db-01.do-ams3.status.test host
...
For now all DCs will share on DB for simplicity:
https://github.com/status-im/infra-status/issues/37
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-23 13:08:59 +01:00
Jakub Sokołowski
482bb74fa3
node.tf: rename group to status-node
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-23 13:08:57 +01:00
Jakub Sokołowski
19b1507227
nodes.tf: rename to node.tf, and module to node
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-23 11:54:07 +01:00
Jakub Sokołowski
651188b8c5
requirements: bump nim-waku to add rpc script timeout
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-23 10:51:18 +01:00
Jakub Sokołowski
c32c752823
requirements: bump nim-waku and certbot
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-21 14:51:09 +01:00
Jakub Sokołowski
e16ca12e1f
status: disable store DB vacuuming
...
It constantly causes issues with node restarting and spending more than
a few hours vacuuming, often failing due to not enough disk space.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-21 14:50:07 +01:00
Jakub Sokołowski
ef22ca4f3a
status.prod: enable trace logs on node-02
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-15 10:07:31 +01:00
Jakub Sokołowski
284cd5d199
requirements: bump systemd-timer role
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-10 16:34:13 +01:00
Jakub Sokołowski
ae91342f44
status: use custom TRACE image on second DO host
...
As requested in:
https://github.com/status-im/infra-status/issues/35
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-08 14:26:51 +01:00
Alexis Pentori
3a15309024
status-prod: increase data size
...
Signed-off-by: Alexis Pentori <alexis@status.im>
2023-11-01 16:15:28 +01:00
Alexis Pentori
96600e6471
status-prod: increase volume size
...
Signed-off-by: Alexis Pentori <alexis@status.im>
2023-10-27 09:51:30 +02:00
Jakub Sokołowski
7431483b49
status: lower test retention and enable vacuuming
...
Together with the role change that adds setting of `SQLITE_TMPDIR` this should
in theory make vacuuming work and avoid the need to purge the DB periodically.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-10-25 14:23:09 +02:00
Richard Ramos
b77f5d3165
feat: enable lightpush on prod fleet
2023-10-13 09:27:34 -04:00
Jakub Sokołowski
d8bd9c03ac
all: remove SSH access for tanguy
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-10-12 17:59:57 +02:00
Jakub Sokołowski
e6a0664b92
requirements: bump systemd-timer to fix dir mode
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-10-12 17:35:04 +02:00
Anton Iakimov
2fdb309278
nim-waku: update status fleets DNS discovery enrtree
...
https://github.com/status-im/infra-misc/issues/171
2023-09-28 18:28:23 +02:00
Jakub Sokołowski
1fb6de29d6
status: enable filter protocol for prod
...
This is the fix for "reliability" issues mentioned in:
https://github.com/status-im/infra-status/issues/31
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-09-26 16:25:45 +02:00
Jakub Sokołowski
9c146ab8ce
all: drop waku-peers role as no longer necessary
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-09-22 15:51:07 +02:00
Jakub Sokołowski
de9cf81238
requirements: update RLN contract address
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-09-20 15:55:16 +02:00
Jakub Sokołowski
7ecd8be5b7
requirements: bump nim-waku role
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-09-07 10:54:36 +02:00
Anton Iakimov
cebfad9a0a
bootstrap: add sqlite3 package
2023-09-01 14:40:42 +02:00
Anton Iakimov
0a636e01b0
ansible: add files folder
2023-09-01 14:35:11 +02:00
Vaclav Pavlin
434bc52b15
Update README.md
2023-08-25 18:50:26 +02:00
Jakub Sokołowski
5068bbd940
workspaces.tf: bump prod data volume size to 80 GB
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-08-11 09:57:51 +02:00
Jakub Sokołowski
e26879a3ff
requirements: update nim-waku role, fix --topic flag
...
Change caused by:
https://github.com/waku-org/nwaku/pull/1856
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-08-02 10:49:01 +02:00
Jakub Sokołowski
f34a5057ea
bridge: drop hosts as no long unnecessary
...
Hanno has looked at the logs and decide they are no longer useful.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-06-26 13:43:18 +02:00
Jakub Sokołowski
2a05b23e53
make data_volume_size a fleet-specific parameter
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-06-26 13:41:33 +02:00
Jakub Sokołowski
e505c96ff1
requirements: bump nim-waku to fix topic flag usage
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-06-21 15:55:22 +02:00
Jakub Sokołowski
a5b90f1f3a
status: add protected topic for test fleet
...
https://github.com/status-im/infra-status/issues/25
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-05-12 11:14:45 +02:00
Jakub Sokołowski
74e835bbfe
all: provide Consul certs from BitWarden
...
https://github.com/status-im/infra-hq/issues/90
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-05-12 10:54:05 +02:00
Jakub Sokołowski
cd2c7b5175
status.prod: enable lightpush on ac-cn-hongkong-c
...
https://github.com/status-im/community-dapp/issues/23#issuecomment-1532668176
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-05-04 12:13:00 +02:00
Jakub Sokołowski
a582b174a1
versions.tf: bump Terraform version to 1.4.0
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-05-04 12:12:27 +02:00