StudyToCert

All certifications / Cloud Practitioner / Lessons

AWS Certified Cloud Practitioner CLF-C02 · Domain 3: Cloud Technology and Services

Containers and serverless compute: Amazon ECS, Amazon EKS, AWS Fargate, AWS Lambda and AWS Elastic Beanstalk

▶ Watch the overview video

Last reviewed October 6, 2026 · Leer en español

Explain it simpler

There are easier ways to run code on AWS than renting and looking after whole servers. A container is like a lunchbox that packs an app with everything it needs, so it works the same anywhere. ECS and EKS are like kitchen managers who decide where each lunchbox goes and replace any that spoil; EKS uses a popular open-source tool called Kubernetes. Fargate is a kitchen you never have to clean or maintain: you just say how much space each lunchbox needs. Lambda runs a small piece of code only when something happens, like a doorbell that rings only when someone presses it, and you pay only for the rings. Elastic Beanstalk takes your finished website and sets up everything around it for you.

At Pinecrest Insurance, three teams walk into your office on the same morning. The platform team runs Kubernetes in the old data center and refuses to learn a new tool. The new claims team wants to ship containers but says, firmly, that it will not patch a single server. And the two-person marketing team has a small Node.js website and no idea what a load balancer is. Meanwhile, a manager asks whether the overnight thumbnail job could stop costing money when nobody is uploading anything. Five services sound similar on paper. Which one does each team actually need?

Amazon Elastic Compute Cloud (Amazon EC2) is not the only way to run code on AWS. Containers and serverless services remove progressively more server management from your plate, which shifts more of the shared responsibility model to AWS. The exam checks that you can choose among Amazon Elastic Container Service (Amazon ECS), Amazon Elastic Kubernetes Service (Amazon EKS), AWS Fargate, AWS Lambda and AWS Elastic Beanstalk from a short description of what a team wants. The question to ask each time is how much of the underlying infrastructure the team wants to see and manage.

Free account

Keep reading for free

Create a free StudyToCert account to read the rest of this lesson: 8 more sections, 7 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.

Sign up free Log in

Study Cloud Practitioner for free
A week-by-week plan with every lesson, quizzes, checkpoint tests, a practice exam and hands-on labs.
Open the Cloud Practitioner study plan