Skill 2.1.4
Determining when to use containers
Key Concepts
Containers suit microservices, long-running processes, applications with specific runtimes or dependencies, workloads that exceed Lambda's 15-minute or size limits, and lift-and-shift modernisation of existing apps without rewriting them. Images are stored in Amazon ECR.
Amazon ECS is AWS's own orchestrator, simple and deeply integrated (IAM task roles, ALB, CloudWatch). Amazon EKS runs Kubernetes for teams that already use it or need portability and the Kubernetes ecosystem. Both run on EC2 (you manage instances; GPUs, specific instance types, lower cost at steady scale) or AWS Fargate (serverless; pay per task vCPU and memory, no patching).
ECS and EKS Anywhere run containers on premises; App2Container and Migration tooling help containerise existing .NET and Java applications.