Build an ECS Fargate cluster using Terraform.
> 10.0.0.0/24
256
FIRST IP 10.0.0.1
LAST IP 10.0.0.254
AZ1
Public Subnet CIDR
10.0.0.0/26
64 - 5 (59)
FIRST IP 10.0.0.1
LAST IP 10.0.0.62
Private Subnet CIDR
10.0.0.64/26
64 - 5 (59)
FIRST IP 10.0.0.65
LAST IP 10.0.0.126
AZ2
Public Subnet CIDR
10.0.0.128/26
64 - 5 (59)
FIRST IP 10.0.0.129
LAST IP 10.0.0.190
Private Subnet CIDR
10.0.0.192/26
64 - 5 (59)
FIRST IP 10.0.0.193
LAST IP 10.0.0.254
> First command to run for a new configuration
> terraform init
> terraform fmt
> terraform validate
> terraform apply
> terraform destroy
AWS Fargate | ECS Fargate | ECS Service | Task Definition Parameter | Service Definition Parameter | Task Networking | VPC Configuration | AWS Application Load Balancer | Listener Configuration | Target Group | Listener | Load balancer |