Best practices

ECS cluster has services without running tasks

Risk Level

Informational (4)

Platform(s)

Description

A task is the instantiation of a task definition within a cluster. Amazon ECS service instantiates and maintains the specified number of tasks simultaneously in a cluster. As a best practice, ensure you always have running tasks in a cluster. It was detected that ECS cluster {AwsEcsCluster} does not have running tasks.
  • Recommended Mitigation

    It is recommended to create a task for the ECS clusters. For more information: <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/scheduling_tasks.html" target="_blank" rel="noopener noreferrer">https://docs.aws.amazon.com/AmazonECS/latest/developerguide/scheduling_tasks.html</a>