Q5
Explain the difference between an ECS Task Definition, a Task, and a Service.
💬Answer
- Task Definition: A blueprint (JSON file) describing container parameters (image, CPU, memory, port mappings, variables).
- Task: A running instance of a Task Definition.
- Service: An ECS controller that maintains the desired number of tasks, handles deployments (rolling updates), and integrates them with load balancers.
Related AWS Questions
View All AWSQuestions →
Created by
Apurv Gujjar
DevOps & Cloud Engineer
Specialized in:DevOpsAWSGCPKubernetesTerraformDocker
View Portfolio