Life cycle of a container instance

If an Amazon ECS container agent registers an instance in a cluster, then the agent connection will report its status as TRUE and the container instance will report its status as ACTIVE. This container instance will accept run task requests. When you stop the Amazon ECS container instance, its status will remain as ACTIVE but the agent connection's status will change to FALSE, within a few minutes. Again, when you start the Amazon ECS container instance, this container agent reconnects with the Amazon ECS service and makes the instance available to run the tasks.

When you stop, start, or reboot the container instance, then an older Amazon ECS container agent will register a new instance, without deregistering ...

Get Expert AWS Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.