Commit Graph

257 Commits

Author SHA1 Message Date
Luke Imhoff a5e0922bfa macOS compatibility fixes
* GNU sed is needed on macOS to make `r` option work
* `LC_ALL=C` to make `tr` work on binary output
2018-06-25 11:22:38 -05:00
Luke Imhoff 7472e933ec Install gcc to compile NIFs during CodeDeploy 2018-06-25 11:22:38 -05:00
Andrew Cravenho 52df5aaaab (Fix) Increases default storage to 100GB (#29)
Resolves #28

Ethereum mainnet will require much larger storage. We will need to adjust when we are ready for testing.
2018-06-05 11:42:40 -04:00
Paul Schoenfelder 09aea54d38 [init] set locale to en_US.UTF-8 2018-06-04 19:17:22 -04:00
Paul Schoenfelder 0ce4e61a48 [routing] fix health check rules 2018-06-04 19:13:17 -04:00
Paul Schoenfelder f6ec1307dc [routing] set health check port to 4000 2018-06-04 17:19:13 -04:00
Paul Schoenfelder dcb3ada765 [deployment] give deployer AWSCodeDeployRole 2018-06-04 16:52:40 -04:00
Paul Schoenfelder 89ac340af4 [routing] set host listen port to 4000 rather than 80 2018-06-01 12:50:19 -04:00
Paul Schoenfelder 907b4773ed [security] give explorer role access to SSM parameters 2018-06-01 12:21:04 -04:00
Paul Schoenfelder 15dbac751b [security] give explorer role ec2:DescribeTags 2018-06-01 12:05:53 -04:00
Paul Schoenfelder a462f35e78 [security] Fix ARNs for service roles 2018-06-01 11:36:06 -04:00
Paul Schoenfelder d6d8a46f6c [installer] use bucket/table names from terraform.tfvars if provided there 2018-06-01 10:59:36 -04:00
Paul Schoenfelder 22a0f2901c [init] install git 2018-06-01 10:43:51 -04:00
Paul Schoenfelder 37f5b002f4 [general] Fix formatting 2018-06-01 10:41:17 -04:00
Paul Schoenfelder 047c30a3ee [security] fix ec2 role permissions to support codedeploy agent 2018-06-01 10:41:01 -04:00
Paul Schoenfelder 6795a0804b [erlang] install missing wx dependencies 2018-05-30 17:57:45 -04:00
Paul Schoenfelder a7c404e8cf [erlang] fix installation of Erlang on EC2 hosts 2018-05-30 17:30:31 -04:00
Paul Schoenfelder cea762552c [security] ensure deployer role has enough permissions to run CodeDeploy agent
Fixes #20
2018-05-30 13:54:59 -04:00
phahulin 3ceda6eab6
Merge pull request #17 from poanetwork/ssm-next-token
[ssm] get parameters using next token
2018-05-30 16:51:49 +03:00
phahulin 7a43697d74
Merge pull request #18 from acravenho/update-readme
(Fix) Update Readme
2018-05-30 16:51:29 +03:00
Andrew Cravenho c9bcacd8a5 (Fix) Update Readme
While deploying this script to AWS, I encountered a few issues that I thought should be documented in case others run into similar problems.
2018-05-30 02:18:47 -04:00
phahulin 4f5c151025 Remove delay 2018-05-30 09:00:59 +03:00
phahulin f0cb093596 Fix profile in aws cli 2018-05-29 20:28:43 +03:00
phahulin 6266b1e841 Try fix getting parameters from ssm 2018-05-29 02:04:15 +03:00
Paul Schoenfelder c117ab5a42 [ec2] fix missing epel repo in ec2 hosts 2018-05-25 13:10:28 -04:00
Paul Schoenfelder e2e3d99caa [codedeploy] give autoscaling:* and tag:* to deploy user 2018-05-25 13:00:06 -04:00
Paul Schoenfelder a8bee7925f [ec2] fix usage of old Amazon Linux AMI 2018-05-25 12:59:30 -04:00
Paul Schoenfelder 50d33288c6 [codedeploy] fix config to copy asg when deploying 2018-05-18 15:02:32 -04:00
Paul Schoenfelder d623c23343 [general] Fix formatting 2018-05-17 13:45:51 -04:00
Paul Schoenfelder e2e5d192ab Fix invalid references to main.tfvars 2018-05-17 13:45:28 -04:00
Paul Schoenfelder 1288e2f8aa Fix instructions on providing custom configuration for additional chains 2018-05-17 11:45:01 -04:00
Paul Schoenfelder 02b9d4c2b3
Merge pull request #15 from Ykisialiou/docs-fixes
make README and random generation code consistent
2018-05-17 11:25:19 -04:00
ykisialiou 545f94ee91 make README and random generation code consistent 2018-05-17 18:14:04 +03:00
phahulin 5e53ec3b3b
Merge pull request #12 from poanetwork/remove-redis
Remove Redis/ElastiCache
2018-05-16 11:45:47 +03:00
Paul Schoenfelder 4da628f19e Remove Redis/ElastiCache 2018-05-15 17:11:21 -04:00
Paul Schoenfelder a257498361 [init] set MIX_ENV=prod in unit file 2018-05-03 12:23:32 -04:00
Paul Schoenfelder a2f7635e79 [init] add systemd service file 2018-05-03 12:10:08 -04:00
Paul Schoenfelder 86071c82c4 [installer] document destroy caveats 2018-04-30 15:03:01 -04:00
Paul Schoenfelder 2252276906 [installer] Fix #10 - Better document the access rights for the provisioning user 2018-04-30 14:55:29 -04:00
Paul Schoenfelder da1bac1e8b [installer] Fix #11 - Document 'diff didn't match' bug in Terraform 2018-04-30 14:48:29 -04:00
Paul Schoenfelder c6f6d73629 [installer] Fix #9 - document password length requirement 2018-04-30 14:34:07 -04:00
Paul Schoenfelder c87d08dab9 [installer] Fix #8 - limit prefix length to 5 chars 2018-04-30 14:28:59 -04:00
Paul Schoenfelder 5effd8bcdd Add prerequisite more details
Closes #7
2018-04-29 02:01:03 -04:00
Paul Schoenfelder b14531edb4 [installer] general installer improvments
- Deal better with running the installer on partial state
- Improve handling of errors
- Remove PREFIX file and pull from generated configs instead
- Use Terraforms custom user configs for overrides
- Handle precedence when pulling info from config files

Closes #5 and #6
2018-04-29 01:45:42 -04:00
Paul Schoenfelder cc6d423911 [installer] Fix #4 - ensure generated prefixes are valid 2018-04-29 00:33:06 -04:00
Paul Schoenfelder 56fef2c984 [installer] fix destroy_bucket bugs 2018-04-27 15:22:40 -04:00
Paul Schoenfelder 7c4c0d550a [terraform] fix formatting issues 2018-04-27 14:27:24 -04:00
Paul Schoenfelder d15c7b0138 [installer] fix linter warnings 2018-04-27 14:27:24 -04:00
Paul Schoenfelder 8b196480c2 [installer] support AWS profiles
Use via `--profile=<profile_name>` or by setting `AWS_PROFILE`

Fixes #1
2018-04-27 14:27:24 -04:00
Paul Schoenfelder 363d36c004
Merge pull request #3 from poanetwork/add-license-1
Create LICENSE
2018-04-27 14:27:08 -04:00