Summary
In this chapter, you were introduced to the ECS architecture and learned about the core components that make up ECS. You learned how ECS clusters are a collection of ECS container instances, which run the Docker Engine atop EC2 autoscaling group instances. AWS provide you with a pre-built ECS-optimized AMI, making it very easy to get up and running quickly with ECS. Each ECS container instance includes an ECS agent, which runs as a system container and communicates with ECS, providing the management and control plane required to start, stop, and deploy your containers.
You next created an ECS task definition, which defines a collection of one or more container and volume definitions, including information such as container image, environment variables, and CPU/memory resource allocations. With your ECS cluster and ECS task definition in place, you were then able to create and configure an ECS service, referencing the ECS task definition to define the container configuration for the...