On Sat, May 12, 2018 at 10:31:43AM -0700, Konrad Reiche wrote:
> Why do I have less control over the lifetime of a container? Does Fargate randomly terminate containers as needed?
Yes. In Fargate, AWS owns the underlying node and its
maintenance. Unlike EC2 there is no concept of a 'scheduled node
maintenance'; it'll just go away. I've heard from the ECS
product team that they expect that container lifetimes will
naturally be short enough generally that they can just not
schedule new containers on a node that needs some sort of
maintenance, but long-lived Vault instances might not fit that
profile. So, containers that cannot reprovision automatically
(unless you have the paid version and use HSM-unsealing) are a
more daunting.
-Jason Martin