Jakub Sokołowski
b0cb0ae220
variables.tf: upgrade to Amazon Linux 2 EB image
...
https://github.com/dap-ps/infra-dapps/issues/22
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-10-14 12:40:31 +02:00
Jakub Sokołowski
994cb97015
variables.tf: drop unused image_name var
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-10-14 12:40:09 +02:00
Jakub Sokołowski
6e626b9d96
versions.tf: upgrade Terraform version to 1.3.0
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-10-14 12:39:44 +02:00
Jakub Sokołowski
e2b1b6248b
aws-ec2-instance: upgrade AMI to Ubuntu 22.04
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-10-14 12:39:22 +02:00
Jakub Sokołowski
d0b97a118d
aws-eb-env: add correct healthcheck_url
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-10-14 12:39:01 +02:00
Jakub Sokołowski
945a3763a9
aws-eb-env: upgrade subnet and EB submodules
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-10-14 12:38:58 +02:00
Jakub Sokołowski
fab9947a37
drop SSH public key for Artur
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-10-14 12:37:15 +02:00
Jakub Sokołowski
2613f37178
mail: upgrade NodeJS from 12.x to 14.x
...
The 12.x version has become deprecated:
https://docs.aws.amazon.com/lambda/latest/dg/runtime-support-policy.html
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-19 12:14:55 +02:00
Jakub Sokołowski
2b72bf5f91
switch admin SSH key to that of Artur
...
Necessary for investigation in:
https://github.com/dap-ps/discover/issues/112
https://github.com/dap-ps/infra-dapps/issues/22
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-06-10 17:43:28 +02:00
Jakub Sokołowski
ec3c582868
upgrade Terraform version to 1.2.0
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-06-10 17:34:09 +02:00
Jakub Sokołowski
d545adceaa
inventory: update IP of db.ev host
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-05-24 17:04:50 +02:00
Jakub Sokołowski
f78ca15889
fix host bootstrapping by fixing role name
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-05-24 16:28:13 +02:00
Jakub Sokołowski
f324f6c926
bump Terraform to 1.1.0
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-05-23 11:58:03 +02:00
Jakub Sokołowski
da383e52a1
upgrade from Terraform 0.14.4 to 1.0.x
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-15 21:43:17 +01:00
Jakub Sokołowski
230f7ff303
upgrade aws to 3.36.0 and pass to 2.0.0
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-04-13 19:33:16 +02:00
Jakub Sokołowski
1a1678d70f
upgrade Elastic Beanstalk stack name to v4.17.4
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-04-13 19:32:44 +02:00
Jakub Sokołowski
0e7eaa4a18
ansible/terraform.py: get rid of warning about encoding
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-04-13 19:28:03 +02:00
Jakub Sokołowski
8593691b03
ansible.cfg: ignore warnings about group names
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-04-13 19:27:54 +02:00
Jakub Sokołowski
d309c3a8bb
change dev EB env instance to t2.micro to match prod
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-04-13 19:08:59 +02:00
Jakub Sokołowski
3c73458ed2
ses-forwarder: upgrade 4.2.0 to 5.0.0, set fromEmail
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-30 11:31:21 +02:00
Jakub Sokołowski
3d1db69fe9
upgrade Elastic Beanstalk version to 2018.03 v4.17.3
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-30 11:13:52 +02:00
Jakub Sokołowski
e83cb3acd1
upgrade Terraform to 0.14, as well as providers and modules
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-30 11:11:45 +02:00
Jakub Sokołowski
e50f2db95b
ansible/inventory: update dev db host IP
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-30 10:36:55 +02:00
Jakub Sokołowski
bfd322b157
drop dap.ps from dev SANs, causes race condition in DNS
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-02-02 19:04:42 +01:00
Jakub Sokołowski
5b0212a446
dev: add INFURA_KEY, update DISCOVER_CONTRACT
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-02-02 18:33:19 +01:00
Jakub Sokołowski
427e94b553
aws-eb-env: drop unnecessary interpolation
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-02-02 18:30:24 +01:00
Jakub Sokołowski
b953fde1c7
aws-acm-cert: reverse order of SANs to prevent re-creation
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-02-02 18:16:41 +01:00
Jakub Sokołowski
698148134f
ansible.cfg: enable ansible ssh multiplexing
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-02-01 13:24:47 +01:00
Jakub Sokołowski
525f7af1d2
readme: fix links to stages
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-01-22 11:48:32 +01:00
Jakub Sokołowski
b908f939b1
mongodb-backups: limit number of kept backups to 7
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-01-14 14:50:28 +01:00
Jakub Sokołowski
479aa6f269
use bootstrap__active_extra_users var, drop lyubo
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-01-14 14:07:35 +01:00
Jakub Sokołowski
40026ff5ea
update name of s3cmd-upload role and its variables
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-12-09 11:46:21 +01:00
Jakub Sokołowski
a5d61c7202
add tags for roles in ansible/dev.yml
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-21 15:56:34 +02:00
Jakub Sokołowski
797c43e2ad
upgrade to Terraform 0.13
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-09-26 18:23:01 +02:00
Jakub Sokołowski
cea9813128
add known issue to readm
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-06-29 17:44:59 +02:00
Jakub Sokołowski
8dcd575eef
mongodb-backups: use systemd timers for backups
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-03-31 10:56:34 +02:00
Jakub Sokołowski
a598fe3eaa
deploy a 1GB swap file to prod hosts
...
For details see:
https://github.com/dap-ps/infra-dapps/issues/19
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-03-31 10:21:16 +02:00
Jakub Sokołowski
0fefda143d
add cleanup.yml playbook
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-03-31 10:17:24 +02:00
Jakub Sokołowski
e1c1163e2d
mongodb-firewall: fix type casting for port
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-03-31 10:17:08 +02:00
Jakub Sokołowski
f799519fad
add tags to prod.yml playbook
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-03-31 10:17:00 +02:00
Jakub Sokołowski
c0d6f47b89
fix MX record for dap.ps
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-06 17:44:54 +01:00
Jakub Sokołowski
6c30ded62c
forward admin@dap.ps to jakub@status.im
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-06 17:36:35 +01:00
Jakub Sokołowski
d64cc12754
fix SES email forwarde by adding dap.ps to recipients
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-06 17:13:58 +01:00
Jakub Sokołowski
6c2067ae17
mail: move all config from ses.tf to mail.tf
...
Also add two emails:
- dapps-staking@status.im
- dapps-approvals@status.im
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-04 15:54:39 +01:00
Jakub Sokołowski
23cd4e9b22
mail: fix uploading of lambda index.js
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-04 15:34:32 +01:00
Jakub Sokołowski
1e6aac03b0
explain email setup, rename index.js to sesforwarder.js
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-04 13:26:00 +01:00
Jakub Sokołowski
8c6ed39984
forward stake@dap.ps to dapps-staking@status.im
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-04 13:16:50 +01:00
Jakub Sokołowski
93e565fead
drop unused dns provider
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-27 21:06:08 +01:00
Jakub Sokołowski
eae370856f
use Status IPFS cluster
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-27 20:49:21 +01:00
Jakub Sokołowski
f294580e31
delegate dap.ps domain management to Route53
...
We have to use Route53 because it provides the option to use an
ALIAS type record which works for apex records and can point to
a CloudFront distribution in a dynamic way.
Without this we'd have to use A records which are static unlike
a CNAME, which would eventually become obsolete and take down
the site when they do.
Details: https://github.com/dap-ps/infra-dapps/issues/18
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-27 20:49:05 +01:00