https://github.com/lbrulet/terraform-basic-infra
Terraform basic infrastructure
https://github.com/lbrulet/terraform-basic-infra
autoscaling-groups aws ec2-instance loadbalancer rds-database subnet terraform vpc
Last synced: 2 months ago
JSON representation
Terraform basic infrastructure
- Host: GitHub
- URL: https://github.com/lbrulet/terraform-basic-infra
- Owner: lbrulet
- License: mit
- Created: 2020-04-04T06:11:33.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-07T02:46:52.000Z (about 6 years ago)
- Last Synced: 2025-03-15T18:53:18.040Z (over 1 year ago)
- Topics: autoscaling-groups, aws, ec2-instance, loadbalancer, rds-database, subnet, terraform, vpc
- Language: HCL
- Homepage:
- Size: 273 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://www.terraform.io/docs/index.html) to install.
```bash
terraform init
```
## Usage
To deploy the infrastructure
```bash
make up
```
To destroy the infrastructure
```bash
make down
```
## Contributing
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.
## License
[MIT](https://choosealicense.com/licenses/mit/)