ECS is a fully managed container orchestration service, it allows users to deploy, manage, and scale containerised applications using Docker containers. It simplifies the process of running containers at scale by handling the underlying infrastructure. ECS allows you to launch Docker containers on AWS; ECS provides managed (with EC2) and serverless options for you to use this service. ECS takes care of staring and stopping the containers, and ECS is integrated with Application Load Balancer if you are creating web applications on ECS.

ECS works with EC2

When using ECS with the EC2 launch type, you have to provision and maintain EC2 instances in advance for hosting the Docker containers. Before provisioning EC2 instances, you create an ECS cluster. A cluster is a logical grouping of EC2 instances where your containers will run, it act as a resource pool for your containers.

Fargate

Fargate is a serverless compute engine for containers, it allows you to run containers without managing the underlying EC2 instances. With Fargate, you can focus on deploying and managing your containers without worrying about provisioning, configuring, or scaling the infrastructure.


Back to parent node: Cloud Computing

Cloud_computingAWSComputeAWS_CLF-C02ECSDockerEC2

Reference - Udemy Ultimate AWS Certified Cloud Practitioner CLF-C02