This code deploys a VPC Multi-Zone Tiered Web Application.
-
stack-vpc = it´s the mandatory module which deploys the following components:
- VPC
- Subnets (Public, APP and DB)
- NAT Gateway
- Internet Gateway
- Network ACL
- Network Security Groups
- Routes
-
stack-ecs = This template deploys an ECS cluster based on Fargate container, including:
- AWS ALB (Application Load Balancer)
- ECS Tasks within Cluster (containers)
-
lock-vpc = (optional) - This template lock-down the ACLs e NSGs deployed at previous stages.
-
stack-waf = This template deploys a WAF with basic rules and attach on ALB, including:
- AWS Managed Rules
- String Match and Pattern
- IP Set Rules
-
stack-db = (optional) - This template deploys a RDS Aurora Cluster.
-
stack-S3backup = (optional) - This template creates a KMS encryption key, an encrypted S3 bucket using the encryption key.
You can:
- clone this repo or
- download the individual files (respecting the directory hierarchy).
Up to you choose the option better fits your requirement ;-).
Let me know and I'll be glad to invite you !!!, then ...
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
- Terraform
- GNU