ladderlore
  • S3 や IAM などのサービス名を入力してください。

サービス · 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.

このレッスンはまだ翻訳されていないため、英語で表示しています。

クラウドプラクティショナーで学んだこと

  • 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
Four ways to run EKS worker capacity.

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

2 / 2

  • EKS Auto Mode

    Who runs the nodes
    AWS manages them
    Use it for
    Least node work with EC2
Four ways to run EKS worker capacity.
  • 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
ECS and EKS compared.

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

2 / 2

  • Control plane

    ECS
    No fee
    EKS
    Fee per cluster per hour
ECS and EKS compared.

概要

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.