ECS Task Definitions
Hello,
Can you control the following?
1 Service that requires 4 tasks running on one ECS instance to run on separate Containers within.
I noticed that this may be able to be defined in the Task Definition but couldn't quite find it. Currently I find that all 4 tasks are running within the same container.
Posted Apr 29, 2020, 3:53 AM UTC
You should really understand what a service, task, container, and task definition are. That will literally answer your question
Thanks. I think my confusion was mainly around ECS Instance = Container Instance as defined in the management console. You don't get to see the actual individual containers in the console.
you see the containers when you click on the task, or in the task definition view
Services launch tasks based on a task definition. Tasks/definitions container one or more containers
container instance == ec2 instance running ecs agent connected to your ecs cluster
Yep, thanks for the explanation.
As far as hard/soft limits only hard memory limits will actually terminate a container or task, not a CPU hard limit right?