# Fargate vs. ECS

> What is AWS Fargate, how does it relate to ECS and EKS, and when would you choose Fargate over EC2-backed containers?

Canonical: https://www.internhack.in/learn/interview/aws-cloud-fundamentals/aws-fargate-vs-ecs
Last updated: 2026-11-28

Difficulty: Intermediate

## Question

What is AWS Fargate, how does it relate to ECS and EKS, and when would you choose Fargate over EC2-backed containers?

*The full answer is for InternHack members. Open the page link above to read it.*

## Concepts covered

AWS Fargate, Amazon ECS, Launch Types, Task Definitions, Fargate Spot

Previous: [Amazon Athena](https://www.internhack.in/learn/interview/aws-cloud-fundamentals/aws-athena-serverless-queries) · Next: [Amazon Kinesis](https://www.internhack.in/learn/interview/aws-cloud-fundamentals/aws-kinesis-data-streams) · [All of AWS & Cloud Fundamentals](https://www.internhack.in/learn/interview/aws-cloud-fundamentals)

## More AWS & Cloud Fundamentals questions

- [API Gateway](https://www.internhack.in/learn/interview/aws-cloud-fundamentals/aws-api-gateway-role)
- [SQS DLQ](https://www.internhack.in/learn/interview/aws-cloud-fundamentals/aws-sqs-dead-letter-queue)
- [Secrets Manager](https://www.internhack.in/learn/interview/aws-cloud-fundamentals/aws-secrets-manager)
- [AWS WAF](https://www.internhack.in/learn/interview/aws-cloud-fundamentals/aws-waf-protection)
- [AWS Shield](https://www.internhack.in/learn/interview/aws-cloud-fundamentals/aws-shield-ddos)
- [CloudFormation Drift](https://www.internhack.in/learn/interview/aws-cloud-fundamentals/aws-cloudformation-drift)

## Related

- [Learn](https://www.internhack.in/learn)
- [Interview Prep](https://www.internhack.in/learn/interview)
- [AWS & Cloud Fundamentals](https://www.internhack.in/learn/interview/aws-cloud-fundamentals)
