Docker on AWS - the Right Way



Container Orchestration:




  • Docker Swarm
  • Kubernetes
  • ECS







ECS Cluster :  is a logical grouping of container instances. It can contain one or more container instances.


Container instances : is nothing but an EC2 instance with three more things on it.


  1. ECS Agent is installed on the container instances
  2. Docker is also installed
  3. It should register to an ECS Cluster
Service — Defines long-running tasks of the same Task Definition. This can be one running container or multiple running containers all using the same Task Definition.
A Scheduling logic that decides when containers should run.

Tasks : A logical group of running containers running on an instance.

ECS Task Definition: 
  • Docker image for each Container
  • CPU and Memory Requirements for each container
  • Links between Containers
  • Networking and Port Settings
  • Data Storage Volumes
  • Security (IAM) Roles























































Conclusion:





Comments

Popular posts from this blog

Postgresql Hacked ? - FATAL: pg_hba.conf rejects connection for host "127.0.0.1", user "postgres", database "", SSL on

AWS RDS