How does ECS manage tasks and containers?

Amazon ECS manages containers using tasks & services
A task is a set of one or more containers defined in a task definition. ECS runs these tasks on servers (ec2) or without servers (Fargate). A service keeps the right number of tasks running & restarts them if they stop.
ECS runs,watches, & restarts containers to keep apps working smoothly

What are the two launch types available in ECS?

EC2 Launch type:
Runs containers on user managed ec2 instances. Full control over the servers, networking & scaling
Fargate Launch type:
Runs containers without managing servers. AWS handles the infrastructure, making it serverless & easier to scale

What is the purpose of a control plane in Kubernetes?

The control plane in kubernetes is responsible for managing the entire cluster.
It decides what runs where (scheduling containers)
Keeps track of the state of the cluster
Makes sure the system matches the desired configuration
Handles API requests, scaling & updates

What is Kubernetes, and why was it developed by Google?

Kubernetes is a tool that helps run & manage many containers easily. It was developed by Google to handle large numbers of containers, just like they did inside their company. It helps with tasks like starting containers, restarting them if they fail & spreading them across servers.

What is Docker Hub, and what role does it play in containerization?

It is a cloud-based container image repository provided by docker
Roles:
Stores container images - Developers can push & pull docker images
Provides public images - Offers ready to use images like Ngnix, MySQL
Enables sharing - Users can share images easily across systems
Supports automation - Allows automated builds & triggers when code changes