EKS & Kubernetes Basics - Difference from ECS
What is Kubernetes? Container orchestration system. Automatically manages many containers across many servers. Problems it solves Decide which server runs which container Restart crashed containers Scale up/down based on load Route traffic to healthy containers Roll out updates without downtime Key Terms Term Meaning Cluster Entire Kubernetes system (Control Plane + all Nodes) Node Server (physical/VM) that runs containers Pod Smallest deployable unit. One or more containers sharing storage/network Control Plane The “brain” that makes decisions (scheduling, monitoring, scaling) ┌─────────────────────────────────────────────────────────────────┐ │ Kubernetes Cluster │ │ │ │ You tell Kubernetes: "I want 3 copies of my web app running" │ │ │ │ │ ▼ │ │ ┌─────────────────────────────────────────────────────────┐ │ │ │ Control Plane (the brain) │ │ │ │ - Receives your request │ │ │ │ - Decides which servers have capacity │ │ │ │ - Schedules containers onto servers │ │ │ │ - Monitors health, restarts failed containers │ │ │ └─────────────────────────────────────────────────────────┘ │ │ │ │ │ ┌───────────────┼───────────────┐ │ │ ▼ ▼ ▼ │ │ ┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐ │ │ │ Node 1 │ │ Node 2 │ │ Node 3 │ │ │ │ ┌───────────┐ │ │ ┌───────────┐ │ │ ┌───────────┐ │ │ │ │ │ Pod │ │ │ │ Pod │ │ │ │ Pod │ │ │ │ │ │ (web app) │ │ │ │ (web app) │ │ │ │ (web app) │ │ │ │ │ └───────────┘ │ │ └───────────┘ │ │ └───────────┘ │ │ │ └─────────────────┘ └─────────────────┘ └─────────────────┘ │ └─────────────────────────────────────────────────────────────────┘ What is EKS (Elastic Kubernetes Service)? AWS-managed Kubernetes Control Plane + your worker nodes ...