Unexpected EC2 backed ECS Container Restart Potential

0

We have an ECS container running on an EC2 backed instance. Assuming we don't do any cluster maintenance that impacts the autoscaling group, the number of containers using the group, the image type backing the group, the parameters of containers that use the group, etc...how likely is it that AWS will restart that container without warning? We realize that Fargate can yank and redeploy containers at any time, but EC2 instances created for the purpose of running and scaling containers should be stable unless user-initiated maintenance is performed, correct?

After reading this article, I'm pretty confident that my container will remain running until and unless we do maintenance on the cluster that would disturb the load on the cluster. https://repost.aws/knowledge-center/ecs-task-stopped. We have reason to be paranoid that our task will restart unexpectedly. The timing of restarts, if necessary is critical. Specifically we don't want it to restart within a particular time window. Is there any more of a chance that this will restart than say a typical EC2 VM running this process? We will continue to make use of EC2 instead of ECS with EC2 backing if the odds of the container restarting is greater based on AWS initiated maintenance, so any thoughts are appreciated.

kgminer
질문됨 3달 전103회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠