Terraform basic infra
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.
Installation
Use terraform from HashiCorp to install.
terraform initUsage
To deploy the infrastructure
make upTo destroy the infrastructure
make downContributing
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.