Bird
0
0

You have an ECS service using EC2 launch type but want to switch to Fargate. What is a common error you might encounter?

medium📝 Debug Q6 of 15
AWS - ECS and Fargate
You have an ECS service using EC2 launch type but want to switch to Fargate. What is a common error you might encounter?
AYou cannot change launch type once service is created
BFargate requires manual patching of EC2 instances
CFargate does not support container images
DTask definition uses incompatible networking mode
Step-by-Step Solution
Solution:
  1. Step 1: Identify networking mode requirements for Fargate

    Fargate requires "awsvpc" networking mode in task definitions.
  2. Step 2: Recognize common migration error

    If the task definition uses "bridge" or "host" mode, switching to Fargate causes errors.
  3. Final Answer:

    Task definition uses incompatible networking mode -> Option D
  4. Quick Check:

    Fargate needs awsvpc networking mode [OK]
Quick Trick: Fargate requires awsvpc networking mode [OK]
Common Mistakes:
  • Thinking Fargate needs manual EC2 patching
  • Believing container images are unsupported on Fargate
  • Assuming launch type cannot be changed

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes