title: Does AWS ECS fargate shutdown container if CPU reaches 100%?
body: <p>I have setup a ecs task with one container using fargate. The task and container have cpu and memory limits set. I can see that my container will shutdown occasionally for some unknown reason. At the time of shutdown and restart the max cpu is 100% and the minimum 0%.</p>
  
  <p>I am trying to workout if the container shuts down due to my application hitting some limit internally or AWS shutting it down when the CPU hits 100%. I know memory is a hard limit which triggers a shutdown but I don't know if CPU is the same way?</p>
  
  <p>thanks in advance! </p>