AWS Certified Cloud Practitioner (CLF-C02)Cloud Technology and ServicesMedium
A company runs containerized microservices and wants AWS to fully manage the underlying compute infrastructure so they never have to provision or patch EC2 instances for their containers. Which service combination BEST meets this requirement?
- AAmazon EC2 Auto Scaling groups running Docker
- BAmazon ECS or EKS with AWS Fargate launch type
- CAmazon ECS on EC2 launch type
- DAmazon EKS with self-managed node groups
Show answer & explanationAnswer & explanation
Correct answer: B. Amazon ECS or EKS with AWS Fargate launch type
AWS Fargate is a serverless compute engine for containers that works with both ECS and EKS, removing the need to provision, patch, or manage EC2 instances for running containers.
Why the other options are wrong
- A. Running Docker on EC2 Auto Scaling groups still requires manual instance management and patching.
- C. The EC2 launch type for ECS still requires customers to manage the underlying EC2 instances.
- D. Self-managed node groups in EKS require the customer to patch and maintain the worker nodes.
AWS Fargate
A serverless compute engine for containers that works with ECS and EKS, eliminating the need to manage EC2 instances.
- No server provisioning or patching needed
- Works with both ECS and EKS
- Pay based on vCPU/memory used by containers
Memory trick: Fargate = Forget servers, just run containers