This is a repository to deploy an infrastructure that have
- a custom vpc with 9 subnets, 3 publics, 3 privates, 3 subnets for data
- keypair already generated
- launch configuration, autoscaling group into the private subnets for high availability
- application load balancer with target group and a listener as well into the public subnets for high availability
- rds postgres 9.6.16 in data subnet for high availability.
Use terraform from HashiCorp to install.
terraform init
To deploy the infrastructure
make up
To destroy the infrastructure
make down
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.