ECS

Elastic Container Service

Overview

  • You must provision & maintain the EC2 yourself.

Features

Task placement strategy

An algorithm for selecting instances for task placement or tasks for termination.

  • binpack - Place tasks based on the least available amount of CPU or memory. This minimizes the number of instances in use.

  • random - Place tasks randomly.

  • spread - Place tasks evenly based on the specified value. Accepted values are attribute key-value pairs, instanceId, or host.

Integration

ELB

recommend using ALB or NLB (only in case need high throughput).

EFS

Both EC2 and Fargate working with Amazon EFS.

Tasks running in any AZ will share the same data in EFS file system.

Trivia

  • Launch Docker container on AWS = Launch EC2 Tasks on ECS clusters.

  • Belong to AWS. Not open-source.

Last updated