If you want to use EC2 Spot Instances with ECS, you need to care for termination-time. ecs-spot-agent can check termination-time and deregister ECS instance from ECS Cluster.
LaunchType: EC2 NetworkMode: host
If you use ecs-spot-agent quickly, please use CloudFormation Template. You only need to choose a target ECS cluster.