Amazon Elastic Container Service is based on the notion of a container instance -- essentially an Amazon Elastic...
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
Compute Cloud entity running an ECS agent. This agent helps create and manage Linux-based containers. Developers can organize container instances into clusters for scalability and redundancy.
To get the full benefits of Amazon EC2 Container Service (ECS), it's important to understand a variety of terms and how each term relates to others. Amazon ECS defines containers through a task definition, which describes application components, settings and other attributes. When the task runs, the application launches into a container instance. Amazon places and manages tasks on container instances using a scheduler. All of the scheduled tasks that run are referred to as the container service, or simply the service.
To create a Linux-based Docker container on the service, developers must first define a task -- typically by using the Amazon ECS console or scripted using the AWS command-line interface (CLI). As a rule, the task definition comprises a wide range of parameters, including the base Docker image to be deployed, processor and memory allocation, any environment variables passed to the container, the task disposition (if the container finishes or ceases to function), port access, linked containers and any data volumes or other storage resources used with the container.
After creating a task, developers must schedule it. Amazon ECS schedulers can run batch or single-run tasks directly and also launch ongoing or long-term applications. The scheduler places containers automatically depending on resource availability and load conditions across the cluster -- direct commands also allow IT teams to place tasks in specific instances as desired. The scheduler can restart failed tasks automatically and perform automatic load balancing. ECS supports third-party or open source schedulers, so organizations can use AWS APIs, software development kits and the CLI to formulate direct task control.
By default, Amazon ECS supports up to 1,000 tasks per service. Each task definition can involve up to 10 containers; the definition itself can be up to 32 KB long. To suit new computing needs, users can throttle the number of container instances per second for each single-run task as well as the registration rates for container instances and task definitions.
How secure is Amazon's container service?
Three ways to free up resources in Amazon ECS
How can we save money in Amazon EC2 Container Service?
Dig Deeper on AWS instances strategy and setup
Related Q&A from Stephen J. Bigelow
VSAN 6.6 and 6.6.1 boast new features, such as vSAN Configuration Assist, integration with vROps and a streamlined upgrade process to improve storage...continue reading
For enterprises that require powerful security and resiliency, vSAN 6.6 presents an array of features, such as encryption and stretched clusters, to ...continue reading
Certain versions of the Linux kernel offer more complete and uniform support for paravirtualization than others due to the open source nature of ...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.