EN Yes. An ECS class="highlight">task definition is a specification for a group of containers that must run co-located. ECS class="highlight">task definitions can be created so that they are compatible with class="highlight">on-premises compute, Fargate, and EC2, all in a single class="highlight">task definition.