~/ nmadiraju.com Amazon EKS · Control plane vs data plane
arrow_back Back to nmadiraju
Visual Walkthrough · Amazon EKS fundamentals

How the Control Plane and Data Plane Work on Amazon EKS

Follow one kubectl apply to a running container, see what AWS runs and what you run, then check yourself with 8 questions.

1Visual Walkthrough

An EKS control plane and data plane, with one request traced through both Left, the EKS control plane in an AWS-owned account: API server, etcd, scheduler and controller manager. Right, your VPC with worker nodes, each running a kubelet and pods. A packet follows kubectl apply to a running container, then the walkthrough compares running the control plane yourself with EKS, and shows what happens when nodes run out of room or fail. You kubectl · laptop EKS CONTROL PLANE · AWS-OWNED ACCOUNT API server etcd the cluster's database scheduler picks a node for each new Pod controller manager Deployment · ReplicaSet · node controllers: make what you asked for real Pod object exists · no node to run on If you ran the control plane yourself: • 3 machines across zones, for high availability • etcd kept healthy, in quorum, and backed up • certificates rotated, API servers scaled • every version upgrade, done by you On EKS, AWS does this for you: • API server and etcd run as several copies across Availability Zones • patching, scaling and etcd are AWS's job • you get one endpoint and start upgrades YOUR VPC · DATA PLANE · YOUR ACCOUNT node-1 · EC2 · your account kubelet + containerd runs the pods node-2 · EC2 · your account NOT READY kubelet + containerd runs the pods node-3 · EC2 · your account kubelet + containerd runs the pods web-1 app=web image web:1.4 web-3 app=web image web:1.4 web-2 app=web image web:1.4 web-4 app=web image web:1.4 web-5 app=web image web:1.4 web-6 app=web image web:1.4 EKS-managed ENI Amazon ECR container images

    request or data control-plane call Kubernetes component or pod AWS resource / AWS-managed your VPC

    Press Play to watch all ten steps, or step through with Back and Next. Red step tabs are where something breaks; green ones add the fix. Voice reads each step aloud with your browser's built-in speech.

    2Quiz to check understanding

    Check yourself