Amazon ECS – fundamentals
Amazon ECS is a managed container orchestrator created by AWS that allows customers to run containers as tasks. A task is defined in a task definition, a kind of configuration blueprint in which you specify container configurations, such as the amount of vCPU, memory, network ports, and more.
Amazon ECS comprises the following components:
- Clusters
- Container instances
- Task definitions
- Tasks
- Services
Clusters are the logical grouping of tasks or services. Amazon ECS clusters are free of charge, and you only pay for the underlying infrastructure, such as Amazon EC2 Windows instances, Amazon EBS, Amazon CloudWatch, and so on. Figure 3.1 illustrates an empty Amazon ECS cluster and an existing VPC. When you deploy an empty Amazon ECS cluster, no resources are created inside or outside the VPC.
The container instance is the Amazon EC2 instance name that works as an ECS cluster member. The ECS agent installed acts as a man...