Knowledge BaseHow do I use the EC2 based ECS Deploy Runner?
I have configured the ECS Deploy Runner with an EC2 worker pool, but every run is automatically being routed to Fargate. How do I use the EC2 instances?
The default launch type to use is controlled by the `container_default_launch_type` input variable in the `ecs-deploy-runner` module, which defaults to `FARGATE`. You can update that to `EC2` to always prefer the EC2 instances.
You can also specify the launch type on a per run basis using the `--task-launch-type` option to the `infrastructure-deployer` call.