Commit Graph

36 Commits

Author SHA1 Message Date
Andrew Cravenho fc5be70405 Switch to an Application Load Balancer and remove Classic Load Balancer 2018-08-16 09:47:24 -04:00
Paul Schoenfelder 1994f8b3dd Address blocker to running multi-chain
- Autoscaling policies for scaling up/down were tied to a single
autoscaling group name, but there are ASGs for each chain, so this would
always fail

Fixes #48
2018-08-14 15:22:54 -04:00
Luke Imhoff 72f19f8160
Merge pull request #46 from KronicDeth/poa-explorer-506
Elixir 1.7.2 / Erlang 21.0
2018-08-09 15:35:22 -05:00
Luke Imhoff ac0be01c50 Elixir 1.7.2 / Erlang 21.0
Matches local and CircleCI versions used for poanetwork/poa-explorer#506.
2018-08-09 15:34:54 -05:00
Amanda Sposito f31fcdb936 Add node as global dependency 2018-07-24 11:00:12 -03:00
Andrew Cravenho 0290835ec8 Install Libtool in build script
Fixes #40

With the merge of the read contract functionality `libtoolize` was needed  for one of the dependencies. After testing the fix, I was able to successfully complete the deployment.

Here is the temporary build with this fix: http://sokab-explorer-sokol-elb-1771258833.us-east-1.elb.amazonaws.com/en
2018-07-19 23:27:21 -04:00
Luke Imhoff 7472e933ec Install gcc to compile NIFs during CodeDeploy 2018-06-25 11:22:38 -05: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 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 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 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 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 7c4c0d550a [terraform] fix formatting issues 2018-04-27 14:27:24 -04:00
Paul Schoenfelder 1129527cc0 [rds] remove prevent_destroy attribute 2018-04-26 14:54:16 -04:00
Paul Schoenfelder b861da7809 Version 1.0
This commit provides the first version of POAs automated infrastructure
based in AWS. It uses Terraform for the infrastructure automation
itself, with some bash thrown in to cover the rest.

Run `bin/infra help` to get started
2018-04-26 12:41:22 -04:00