Im trying to deploy a docker container image to AWS using ECS, but the EC2 instance is not being created. I have scoured the internet
docker
AWS
ECS
I ran into this issue when using Fargate. I fixed it when I explicitly defined launchType="FARGATE" when calling run_task.
launchType="FARGATE"
run_task