aws / amazon-ecs-agent

Amazon Elastic Container Service Agent
http://aws.amazon.com/ecs/
Apache License 2.0
2.08k stars 612 forks source link

My Service autoscale is not adding task while alarm triggered #645

Closed rajasekaran07 closed 7 years ago

rajasekaran07 commented 7 years ago

Hi Team,

I have configured CPU Scaling policy in my service autoscaling. In my configuration when CPU utilization goes 10% it will add one more task. But, It is not working PFB my event logs.

image

image

**Please note that I am running one ECS Container instance. I would like to know whether we can run only one task per container instance or we can run more than one task per container instance?

If we can run more tasks per container port conflict will occur how to fix this issue.**

Kindly someone suggest how to fix this issue.

Regards, Raja

nmeyerhans commented 7 years ago

Hi @rajasekaran07. I believe that my answer to #646 should help get you past the issue of port contention and allow your service to autoscale on a single instance, so I'm going to close this issue. Please feel free to reach out if you run in to further problems.