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.
Practice questions
Which AWS service is a managed registry for storing and sharing container images?
- Amazon ECS
- Amazon EKS
- Amazon ECR
- 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.
Which statements about Amazon ECS are correct?
- It is a fully managed container orchestration service
- Its tasks can run on EC2 instances or on AWS Fargate
- It requires you to install and run a Kubernetes control plane
- It is the AWS registry where container images are stored
- 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.
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.
