Creating an ECS cluster is very similar to what we did in Chapter 5, Scaling Your Infrastructure, when we created an Auto Scaling group to run our helloworld application. The main difference is that there is one more level of abstraction. ECS will run a number of services called tasks.
Each of those tasks may exist multiple times in order to handle the traffic, as shown in the following diagram:
In order to do that, the ECS service provides an orchestration layer.
That orchestration layer is in charge of managing the life cycle of containers, including upgrading or downgrading, and scaling up or down your containers. ...