Amazon ECS clusters and capacity - Amazon Elastic Container Service
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Amazon ECS clusters and capacity

An Amazon ECS cluster is a logical grouping of tasks or services. In addition to tasks and services, a cluster consists of the following resources:

  • The infrastructure capacity which can be a combination of the following:

    • Amazon EC2 instances in the Amazon cloud

    • Serverless (Amazon Fargate (Fargate)) in the Amazon cloud

    • On-premises virtual machines (VM) or servers

  • The network (VPC and subnet) where your tasks and services run

    When you use Amazon EC2 instances for the capacity, the subnet can be in Availability Zones, Local Zones, Wavelength Zones or Amazon Outposts.

  • An optional namespace

    The namespace is used for service-to-service communication with Service Connect.

  • A monitoring option

    CloudWatch Container Insights comes at an additional cost and is a fully managed service. It automatically collects, aggregates, and summarizes Amazon ECS metrics and logs.

Capacity provider concepts