Commit Graph

30 Commits

Author SHA1 Message Date
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 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 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
Jakub Sokołowski f96c98643c
add raw DNS entries for non-CDN access to the site
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-12-13 00:00:45 +01:00
Jakub Sokołowski db24716d39
add a CloudFront CDN
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-11-05 18:32:32 +01:00
Jakub Sokołowski 4d940e0b6b
make DB hosts use the same VPC as the EB env
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-11-03 18:02:27 +01:00
Jakub Sokołowski 603309e83d
specify explicitly EB_NODE_COMMAND
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-07 12:27:41 -04:00
Jakub Sokołowski 649e4cb6c7
use approvals@dap.ps email to send approval emails
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-06 11:43:23 -04:00
Jakub Sokołowski dede02dce6
update DISCOVER_CONTRACT address
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-05 16:26:13 -04:00
Jakub Sokołowski 949823a1dd
fix name of rate limiting variable
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-05 14:32:53 -04:00
Jakub Sokołowski e677f3f45f
make module naming consistent
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-01 14:20:28 -04:00
Jakub Sokołowski 002cfd4ef2
create s3 bucket for backups of db.dev
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-31 15:30:02 -04:00
Jakub Sokołowski f4243d8939
deploy and configure mongodb on dev
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-31 14:39:56 -04:00
Jakub Sokołowski 96bb3c48d3
create a db.dev instance using new aws-ec2-instance module
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-31 12:36:57 -04:00
Jakub Sokołowski dc4151ba00
add a prod environment
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-30 15:08:34 -04:00
Jakub Sokołowski dcf66cd102
upgrade to Terraform 0.12
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-30 14:36:52 -04:00
Jakub Sokołowski 0ae6566968
move dev and prod envs to their own files
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-30 13:24:01 -04:00
Jakub Sokołowski cf4d933702
move dev environment to it's own tf module
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-25 12:59:11 -04:00
Jakub Sokołowski 20e6fbe8d2
create user for sending email with SES smtp
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-06-05 08:26:29 -04:00
Jakub Sokołowski 44ed9dbfa9
add creation of access key for deloyibg eb apps
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-06-03 13:49:50 -04:00
Jakub Sokołowski a491b05b70
add missing variable name
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-06-03 13:30:59 -04:00
Jakub Sokołowski eb5d1dc7cd
add missing IAM instance policy
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-06-03 13:28:47 -04:00
Jakub Sokołowski 9747601f1b
drop useless policy and s3 bucket
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-06-03 13:13:09 -04:00
Jakub Sokołowski 36226c51c1
create an elastic beanstalk app for development
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-06-03 12:32:11 -04:00
Jakub Sokołowski 1e6269427b
remove the ec2 instance
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-31 17:49:01 -04:00
Jakub Sokołowski 14e2c6e010
move admin key file and s3 policy to files/
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-31 11:44:22 -04:00
Jakub Sokołowski 9708324bd1
add ansible host definition
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-29 11:10:50 -04:00
Jakub Sokołowski 6fb617c133
move dev resources to separate file
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-29 11:05:30 -04:00