I'm reading about the ECS spot (Fargate) and the capacity provider. In the examples, I see they always create an on-demand capacity provider e.g. 1 running task, and then a spot provider with a variable amount of tasks.
Is it possible to run one ECS task on spot --> When it goes down, use an on-demand instance till spot is back available and switch back? Or do I not understand the concept properly?