Clusters for Amazon ECS Managed Instances
Amazon ECS capacity providers manage the scaling of infrastructure for tasks in your clusters. After you create the cluster, you create one or more capacity providers and an optional capacity provider strategy for the cluster. The capacity provider strategy determines how the tasks are spread across the cluster's capacity providers. When you run a standalone task or create a service, you either use the cluster's default capacity provider strategy or a capacity provider strategy that overrides the default one.
Amazon ECS Managed Instances has the following capacity providers.
| Type | Criteria used to choose instances |
|---|---|
| Default | The most cost-effective instances that meet the following task
definition and service parameter requirements:
|
| Custom | The instances that meet the attribute and type requirements that you specify when you creaate the cluster. For information about attributes, see Amazon ECS container instance attributes. For information about instance types, see Amazon EC2 instance type specifications in Amazon EC2 Instance Types. |
Amazon ECS launches the instances and associates them with the Amazon ECS Managed Instances capacity provider. For the custom capacity provider, Amazon ECS also creates the capacity provider.