Skill 1.2.1

Optimize container usage for performance needs (for example, Amazon EKS, Amazon ECS)

Key Concepts

Run containerised jobs on ECS or EKS with Fargate (no nodes) or EC2 (GPUs, larger memory, Spot). Size task CPU and memory to the workload, scale with Service Auto Scaling or Karpenter, and use AWS Batch for queued batch jobs.

EMR on EKS runs Spark on shared Kubernetes clusters; tune executor sizes, use Spot node groups and keep images small for fast start.