Service · Containers · CLF-C02 အပေါ် ဆက်လေ့လာရန်
Amazon Elastic Kubernetes Service (Amazon EKS)
Choose nodes, give pods their own IAM roles, expose them with a load balancer, and weigh ECS against EKS.
ဒီသင်ခန်းစာကို မြန်မာဘာသာ မပြန်ရသေးလို့ အင်္ဂလိပ်လို ပြထားပါတယ်။
Cloud Practitioner မှ သင်သိပြီးသားများ
- Managed Kubernetes. AWS runs the control plane across several AZs.
- Pods run on EC2 nodes, on Fargate or on your own servers.
- Kubernetes tools and applications work without changes.
Managed node group
- Who runs the nodes
- AWS creates and updates them
- Use it for
- GPUs, DaemonSets, Spot
Fargate profile
- Who runs the nodes
- No nodes
- Use it for
- Least work. No GPUs
Self-managed nodes
- Who runs the nodes
- You do
- Use it for
- Custom AMIs and full control
EKS Auto Mode
- Who runs the nodes
- AWS manages them
- Use it for
- Least node work with EC2
| Option | Who runs the nodes | Use it for |
|---|---|---|
| Managed node group | AWS creates and updates them | GPUs, DaemonSets, Spot |
| Fargate profile | No nodes | Least work. No GPUs |
| Self-managed nodes | You do | Custom AMIs and full control |
| EKS Auto Mode | AWS manages them | Least node work with EC2 |
1 / 2
Managed node group
- Who runs the nodes
- AWS creates and updates them
- Use it for
- GPUs, DaemonSets, Spot
Fargate profile
- Who runs the nodes
- No nodes
- Use it for
- Least work. No GPUs
Self-managed nodes
- Who runs the nodes
- You do
- Use it for
- Custom AMIs and full control
| Option | Who runs the nodes | Use it for |
|---|---|---|
| Managed node group | AWS creates and updates them | GPUs, DaemonSets, Spot |
| Fargate profile | No nodes | Least work. No GPUs |
| Self-managed nodes | You do | Custom AMIs and full control |
2 / 2
EKS Auto Mode
- Who runs the nodes
- AWS manages them
- Use it for
- Least node work with EC2
| Option | Who runs the nodes | Use it for |
|---|---|---|
| EKS Auto Mode | AWS manages them | Least node work with EC2 |
Skills
- ECS
- AWS concepts only
- EKS
- Kubernetes
Portability
- ECS
- AWS only. ECS Anywhere on premises
- EKS
- Same API anywhere
Tools
- ECS
- Simple, deep AWS fit
- EKS
- Large open source ecosystem
Control plane
- ECS
- No fee
- EKS
- Fee per cluster per hour
| Compare | ECS | EKS |
|---|---|---|
| Skills | AWS concepts only | Kubernetes |
| Portability | AWS only. ECS Anywhere on premises | Same API anywhere |
| Tools | Simple, deep AWS fit | Large open source ecosystem |
| Control plane | No fee | Fee per cluster per hour |
1 / 2
Skills
- ECS
- AWS concepts only
- EKS
- Kubernetes
Portability
- ECS
- AWS only. ECS Anywhere on premises
- EKS
- Same API anywhere
Tools
- ECS
- Simple, deep AWS fit
- EKS
- Large open source ecosystem
| Compare | ECS | EKS |
|---|---|---|
| Skills | AWS concepts only | Kubernetes |
| Portability | AWS only. ECS Anywhere on premises | Same API anywhere |
| Tools | Simple, deep AWS fit | Large open source ecosystem |
2 / 2
Control plane
- ECS
- No fee
- EKS
- Fee per cluster per hour
| Compare | ECS | EKS |
|---|---|---|
| Control plane | No fee | Fee per cluster per hour |
ဘာလဲ
Managed node groups let AWS create and update EC2 nodes in an Auto Scaling group. Self-managed nodes leave all of that to you. A Fargate profile runs selected pods on Fargate with no nodes, but Fargate pods cannot use DaemonSets or GPUs. EKS Auto Mode lets AWS manage nodes for you. Use managed node groups for GPUs, DaemonSets and Spot.
ဘာလဲ
Do not give every pod the node role. Use IAM roles for service accounts or EKS Pod Identity. A Kubernetes service account maps to an IAM role, so each pod gets only what it needs. The AWS Load Balancer Controller creates an Application Load Balancer for an Ingress and a Network Load Balancer for a Service. The Horizontal Pod Autoscaler scales pods. The Cluster Autoscaler scales nodes.
EKS Anywhere runs Kubernetes on your own hardware, using EKS Distro, the same open source builds that AWS uses. Choose ECS when you want the simplest AWS-native service. Choose EKS when the team knows Kubernetes, wants portability, or needs the open source tool ecosystem.
မှတ်ထားရန်
- Managed node group: AWS manages EC2 nodes. Fargate profile: no nodes, no DaemonSets or GPUs.
- Pod permissions: IAM roles for service accounts or EKS Pod Identity, not the node role.
- AWS Load Balancer Controller: ALB for Ingress, NLB for Services.
- Scale pods with the Horizontal Pod Autoscaler and nodes with the Cluster Autoscaler.
မှတ်ထားရန်
- EKS Anywhere and EKS Distro: Kubernetes on your own hardware.
- ECS: simplest, AWS-native. EKS: Kubernetes skills and portability.
စာမေးပွဲမှာ
- “The team already runs Kubernetes and wants a managed control plane” points to Amazon EKS.
- “Each pod needs different AWS permissions” points to IAM roles for service accounts or EKS Pod Identity.
- “Kubernetes pods with no worker nodes to manage” points to a Fargate profile.
- “Run Kubernetes on premises with the same tooling” points to EKS Anywhere.
ဒါတွေနဲ့ မရောပါနဲ့
Amazon Elastic Container Service (Amazon ECS)Choose Fargate or EC2, pick the right IAM role, and scale services behind a load balancer.
AWS FargateTask sizes, storage, Fargate Spot, and when Fargate beats EC2 nodes.
Amazon Elastic Container Registry (Amazon ECR)A private image registry with scanning and replication.