1.We cannot scale the docker using docker-compose, because we need to manually need to set the docker-compse on aws to deploy out
1.AWS ECS has two launch types
A) EC2 launch type (Need to plan for the deployment and upgrades)
B) ECS FARGATE (This is s serverless service where the infra is taken care by AWS)
Fargate (ECS-Fargate)
Task Definition file
- Task definition file is used to define settings for each container
ECS service automatically takes care of launching the container.