Skip to content

KnowGroup/terraform-ecs-fargate-cluster

Repository files navigation

terraform-ecs-fargate-cluster

Build an ECS Fargate cluster using Terraform.

VPC CIDR

> 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

Terraform Commands :

	>  First command to run for a new configuration
	> terraform init
	
	> terraform fmt
	> terraform validate
	> terraform apply
	> terraform destroy

Reference :

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 |

License

MIT

Releases

No releases published

Packages

No packages published

Languages