Bitzu

CLF-C02 ยท Compute services

Container services: ECS, EKS and ECR

Amazon ECS, Amazon EKS for Kubernetes and Amazon ECR as the image registry, and when to pick ECS versus EKS.

Key points

  • Amazon ECS: fully managed, AWS-native container orchestration (tasks, services).
  • Amazon EKS: managed Kubernetes with an AWS-run, highly available control plane.
  • Amazon ECR: managed registry that stores container images.
  • ECS and EKS both run containers on EC2 instances or on AWS Fargate.
  • Pick ECS for the simplest AWS-native path, EKS when you already use Kubernetes or need its portability.

Source: https://docs.aws.amazon.com/decision-guides/latest/containers-on-aws-how-to-choose/choosing-aws-container-service.html

Practice questions

Single choice

Which AWS service is a managed registry for storing and sharing container images?

  1. Amazon ECS
  2. Amazon EKS
  3. Amazon ECR
  4. AWS Fargate
Show answer

Answer: C. Amazon ECR

Amazon ECR is the fully managed container image registry. ECS and EKS run containers but do not store the images themselves.

Select all that apply

Which statements about Amazon ECS are correct?

  1. It is a fully managed container orchestration service
  2. Its tasks can run on EC2 instances or on AWS Fargate
  3. It requires you to install and run a Kubernetes control plane
  4. It is the AWS registry where container images are stored
  5. It can only run containers on on-premises servers
Show answer

Answer: A. It is a fully managed container orchestration service, B. Its tasks can run on EC2 instances or on AWS Fargate

ECS is a fully managed, AWS-native orchestrator whose tasks run on EC2 instances or on Fargate. It does not use a Kubernetes control plane (that is EKS), it is not an image registry (that is ECR), and it runs in AWS Regions, not only on premises.

True or false

With Amazon EKS, the customer must install and maintain the Kubernetes control plane on their own EC2 instances.

Show answer

Answer: False

False. EKS provides a highly available Kubernetes control plane operated by AWS. The customer manages workloads and, unless Fargate is used, the worker nodes.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More CLF-C02 topics in this module