Look this PR related with the version using awsvpc network mode PR Open awsvpc support
Blog Post about this project: https://germanmontenegro.com/2023/11/13/ecs-using-ec2-instances-with-autoscaling/
Alternative to terraform is possible to use AWS CDK Python
terraform init
terraform plan
terraform apply
In total we apply the 21 resource, I apply twice.

Then we go to the ALB url
My tasks =>
The autoscalling set DesiredCount to 2 because the threshold is so low, but this means its working
The capacity provider and containers instances
terraform destroy








