Map the application, not its server
How existing applications map to ECS task definitions and services on managed compute, including runtime configuration, migration paths, and the host-management responsibilities ECS removes. · advanced
Replatforming an existing application to Amazon ECS means expressing how its containers should run, rather than reproducing the server that previously hosted them. A task definition describes the containers and their runtime settings, including images, commands, environment variables, and resource requirements. A task is a running instance of that definition.
An ECS service maintains a specified number of tasks for a long-running application. Keep the distinction clear: the task definition describes the application execution unit; the service manages the ongoing population of those units. Moving an application to ECS does not require turning every process into a separately managed service.
ECS removes the need to install, operate, and scale your own cluster management infrastructure. That is not the same as removing host administration: self-managed EC2 capacity still leaves the instances with you. Managed compute removes additional infrastructure work, while you remain responsible for the application and its runtime requirements.