Commit Graph

102 Commits

Author SHA1 Message Date
Jakub Sokołowski 08e02096c8
add mongodb-firewall role for iptables rules
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-31 13:48:13 -04:00
Jakub Sokołowski aa5c854732
rename infra-role-s3cmd-backup to s3cmd-backup
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-31 13:03:14 -04:00
Jakub Sokołowski 9277d42e95
use env+stage in groups, not separately
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-31 13:02:55 -04:00
Jakub Sokołowski 7f574fe3fc
add unfinishe aws-s3-bucket module
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-31 13:02:36 -04:00
Jakub Sokołowski 04b2a954b9
upgrade terraform.py script to 2.2.0
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-31 12:58:06 -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 50d53fdc2c
add mongodb role from UnderGreen
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-31 12:26:35 -04:00
Jakub Sokołowski 1487f2cddf
rename mongodb role to mongodb-old
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-31 12:26:22 -04:00
Jakub Sokołowski eff38876da
add aws-ec2-instance module
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-31 11:49:40 -04:00
Jakub Sokołowski 903bb6c9d3
move bootstrap settings to all group
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-31 11:06:52 -04:00
Jakub Sokołowski c026b8404b
narrow down permissions of deploy user policy
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-31 11:06:52 -04:00
Jakub Sokołowski d7c413255b
enable access outputs
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-31 10:07:41 -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 13d1538c4c
add missing trailing dot to cname
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-30 14:43:07 -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 08292609e1
rename resource for dns cert verification
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-30 13:27:15 -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 b885e5483e
use public subnet to allow for debugging
For more details see:
https://github.com/cloudposse/terraform-aws-elastic-beanstalk-environment/issues/88

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-30 00:31:28 -04:00
Jakub Sokołowski 4907880442
can't calculate length of elbs
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-30 00:30:54 -04:00
Jakub Sokołowski e4bb7f6208
add DB_CONNECTION env variable
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-29 17:10:36 -04:00
Jakub Sokołowski 3e4faf4120
formatting
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-29 16:52:33 -04:00
Jakub Sokołowski 012002e192
fix elb dns entry records
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-29 16:52:10 -04:00
Jakub Sokołowski 67f6c4c8be
add env variables for dev EB deployment
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-29 11:00:31 -04:00
Jakub Sokołowski a81e83458d
lock down provider versions
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-29 10:35:40 -04:00
Jakub Sokołowski 713d9b66bd
update plugins, make targets smarter
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-29 10:33:47 -04:00
Jakub Sokołowski 8cc5f1ebd5
fix the public access to host ports
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-29 09:54:40 -04:00
Jakub Sokołowski 16a6d1ba62
add autoscaling settings
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-26 17:02:09 -04:00
Jakub Sokołowski 2236f96e62
fixup! rename dev module to aws-eb-env
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-26 13:16:09 -04:00
Jakub Sokołowski 53f5518dce
rename dev module to aws-eb-env
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-26 13:12:03 -04:00
Jakub Sokołowski 5c5c654ac2
add ACM certificate for the dev env
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-25 18:38:26 -04:00
Jakub Sokołowski 8f2b2974b5
use the CloudPosse modules for ElasicBeanstalk environment
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-25 17:05:05 -04:00
Jakub Sokołowski 7b3a0eb812
ignore *.tfstate.*.backup
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-25 17:04:52 -04:00
Jakub Sokołowski 21f1a8fa79
create deployment keys for prod environment
Also use aws_iam_group_policy_attachment instead
of aws_iam_policy_attachment which is exclusive.

https://www.terraform.io/docs/providers/aws/r/iam_policy_attachment.html
https://www.terraform.io/docs/providers/aws/r/iam_group_policy_attachment.html

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-25 13:55:02 -04:00
Jakub Sokołowski d904ef830a
add a prod module, create an AMC certificate for dap.ps
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-25 13:16:00 -04:00
Jakub Sokołowski e8136e233a
drop dns.tf file, move to other files
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-25 13:14:50 -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 0a4d495d7c
redirect approval@dap.ps to dapps-approvals@status.im
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-06-13 10:30:53 -04:00
Jakub Sokołowski 7ff39d337c
add comment explaining MONGO_INITDB_DATABASE
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-06-07 08:53:45 -04:00
Jakub Sokołowski efb31b5440
fix MONGO_INITDB_DATABASE typo
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-06-07 08:09:38 -04:00
Jakub Sokołowski bbd8b88ab8
configure backups for mongodb
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-06-05 15:11:55 -04:00
Jakub Sokołowski 2941dc8f56
update mongodb readme
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-06-05 13:29:38 -04:00
Jakub Sokołowski 5207fd3f9b
configure a mongodb container on the host
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-06-05 13:23:53 -04:00
Jakub Sokołowski 18441cfa42
add emergency inventory for mongodb host
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-06-05 12:39:19 -04:00
Jakub Sokołowski e10c9f924c
add a single host for mongodb
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-06-05 12:39:08 -04:00
Jakub Sokołowski 7451fa92c2
add comments on using smtp
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-06-05 08:33:42 -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 85f94007fe
add links
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-06-05 08:26:24 -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