114321478-d5959a00-9b12-11eb-84e0-b29be033d527.jpeg

How’s everyone doing? This section I have to admit is the one that I found the most difficult to understand all of the concepts within ECS so I hope that my notes will help explaining it in a simple way. Let’s get started.

ECS

What AWS ECS (Elastic Container Service)?

ECS Task Definitions, Services and Clusters

Task Definitions

Task Definitions are metadata in JSON format that give instructions to ECS on how to run a Docker container.

The contain crucial information about image names, port bindings for container and host, memory and cpu required, environment variables and networking information

ECS Services

We can configure the way tasks run and also how many should run and spread them amongst your EC2 instances and can also be linked to load balancers

Clusters

We need to create an ECS Cluster in which we add services and task definitions

Powered by Fruition