What is ECS?
It stands for "Amazon Elastic Container Service" (Amazon ECS) is a container management service which can quickly launch, exit and manage Docer containers on a cluster
Why ECS?
It maintains the availability of the application and allow our user to scale containers as and when required
How ECS works?
ECS managing container and using the container it seamlessly running the application by scale in/out automatically by running more than one container if required
What we do usually if we don't have ECS (or container solution)?
We need to manually add resources based on the demand like increase CPU, Memory and put load balancer and manage all communication
We can define logic to say in which host the container to be run. Cluster is a collection of host
Scalable service can be managed from SDKs (node JS, python, Java)
Migrates application to the cloud without changing the code
What is a docker?
It is a tool to automate the deployment of an application as a lightweight container to run the application efficiently across different environments
What is a container then?
It is a lightweight package of our developed application in any language that consists of all its dependencies like code, frameworks, libraries etc which are required to run the application
What is the advantage of docker container?
-High scalability and efficiency 
-Very short boot time
-Reusable data volumes (can keep reuse the data in forthcoming versions of application)
-Isolated applications
What is the advance ECS?
- Docker images are accessed thru
- https which are stored in ECR
- Can accessed only by IAM
- Not only deploy application but maintain the state of the application
- Docker images are encrypted
What is docker image?
Its a template of instructions which is used to create container
What is ECR?
Its a service provided by AWS where we can host our docker images and distribute among users. Can use Docker Hub, ECR)
What are all the mode of deploying container in ECS?
1) EC2 (have to manage the clusters thru configuration)
2) Fargate (containers without having to monitor clusters)
What are the major component in ECS Task?
1) ECS container instance - (specific EC2 instance capable of running containers and not all EC2 instance. So ECS container instance is a
part of AWS EC2 instance which runs AWS ECS container agent)
2) Container Agent - binds clusters together
What is the use of elastic network interface?
It used to make containers interacts with each other
What is ECS Cluster?
Its a group of ECS container instances (ie., EC2 instances) which runs the ECS agent used to scheduling, monitoring and scaling requests
How to deploy docker containers on AWS?
1) login in your AWS account
2) setup ECS
3) create task definition
4) configure ECS service (designer no of tasks, service name, container name, port, load balancer, allowed IP,...)
5) configure cluster (put in all security) 
6) launch the instance and run service