Posts Quizzes Jobs Connect
Login

Library

ECS

Production write-ups on Python, AWS, and backend systems — browse by tag or search by title.

Tag: ECS Clear
TECH

Micro Series: AWS ECS and EKS Conceptual Comparison

Karen Aug 26, 2026

ECS is generally more AWS-specific and has a simpler set of concepts, while EKS gives you the broader Kubernetes ecosystem and model.

The most useful mapping to remember is ECS Task Definition ≈ Pod specification, ECS Task ≈ Pod, ECS Service ≈ Deployment.

Just don't map ECS Service → Kubernetes Service despite the names, they serve different purposes.

Read more
TECH

Micro Series: What is AWS ECS?

Karen Aug 25, 2026

AWS ECS (Elastic Container Service) is a managed service for running and orchestrating containers on AWS. You define your application’s containers in an ECS task definition, which describes things like the Docker images, CPU, memory, networking, environment variables, and ports. A single task definition can contain one or multiple containers. When ECS launches that definition, it creates a task, which is the actual running unit containing those containers. You can run tasks using Fargate, where AWS manages the underlying servers, or EC2, where you manage the underlying instances.

The main building blocks of ECS are clusters, task definitions, tasks, containers, and services. A task definition is the blueprint that describes how one or more containers should run, including their Docker images, CPU, memory, networking, ports, and other configuration.

task is a running instance of that task definition, and it can contain one or multiple containers. An ECS service manages a desired number of tasks, ensuring they stay running and replacing failed tasks when necessary. For example, you could create a task definition containing a Node.js API container and a logging container, then configure an ECS service to maintain 3 tasks. With Fargate, AWS runs those tasks without you having to manage the underlying servers.

Read more