containers and the evolution of computing · what is amazon ecs? amazon ec2 container service (ecs)...
TRANSCRIPT
![Page 1: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/1.jpg)
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Solutions Architect
Containers and the Evolution of Computing
Matt Nowina
![Page 2: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/2.jpg)
Scaling Applications
![Page 3: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/3.jpg)
Order UI User UI Shipping UI
Order Service
User Service
Shipping Service
Data Access
![Page 4: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/4.jpg)
![Page 5: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/5.jpg)
Order UI User UI Shipping UI
Order Service
User Service
Shipping Service
![Page 6: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/6.jpg)
Order UI User UI UI
Order Service Service Shipping
Service
Order UIOrder UI
User UI UIShipping UI
Order ServiceOrder
ServiceService
ServiceService
ServiceUser
Service
Shipping Service
![Page 7: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/7.jpg)
![Page 8: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/8.jpg)
What are Containers?
OS virtualization
Process isolation
Images
Automation Server
Guest OS
Bins/Libs Bins/Libs
App2App1
![Page 9: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/9.jpg)
Container advantages
Portable
Flexible
Fast
EfficientServer
Guest OS
Bins/Libs Bins/Libs
App2App1
![Page 10: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/10.jpg)
Containers are natural for microservices
Simple to model
Any app, any language
Image is the version
Test & deploy same artifact
Stateless servers decrease change risk
![Page 11: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/11.jpg)
Server
Guest OS
Bins/Libs Bins/Libs
App2App1
Managing one host is straightforward
![Page 12: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/12.jpg)
Managing a fleet is hard
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
AZ 1 AZ 2
AZ 3
![Page 13: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/13.jpg)
What is Amazon ECS?
Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use Amazon ECS to schedule the placement of containers across your cluster. You can also integrate your own scheduler or third-party scheduler to meet business or application specific requirements.
![Page 14: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/14.jpg)
Our Goals with Amazon ECS
![Page 15: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/15.jpg)
Container Management at Any Scale
Nothing to run
Complete state
Control and monitoring
Scale
![Page 16: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/16.jpg)
Flexible Container Placement
Long running applications
Batch jobs
Multiple schedulers
![Page 17: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/17.jpg)
Integration with the AWS Platform
Elastic Load Balancing
Amazon Elastic Block Store
Amazon Virtual Private Cloud
Amazon CloudWatch
AWS Identity and Access Management
AWS CloudTrail
![Page 18: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/18.jpg)
Container Management
![Page 19: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/19.jpg)
What is a Container Manager?
• Maintains Available Resources
• Tracks Resource Changes
• Accepts Resource Requests
• Guarantees Accuracy and Consistency
![Page 20: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/20.jpg)
CPU
Memory
Ports
Disk Space
Disk IOPS
Network Bandwidth
Resources
![Page 21: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/21.jpg)
ECS Agent
Docker
Task
Container Instance
Container
ECS Agent
Task
Container
https://github.com/aws/amazon-ecs-agent
![Page 22: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/22.jpg)
Instance Registration
register-container-instance --total-resources
[{
“name” : “cpu”,“type” : “integerValue”,“integerValue” : 2048
},…
]
![Page 23: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/23.jpg)
Modifying Exposed Resources
![Page 24: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/24.jpg)
How do you model your applications?
![Page 25: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/25.jpg)
![Page 26: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/26.jpg)
{"environment": [],"name": "simple-demo","image": "my-demo","cpu": 10,"memory": 500,"portMappings": [
{"containerPort": 80,"hostPort": 80
}],"mountPoints": [
{"sourceVolume": "my-vol","containerPath": "/var/www/my-vol"
}],"entryPoint": [
"/usr/sbin/apache2","-D","FOREGROUND"
],"essential": true
},
![Page 27: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/27.jpg)
Tasks
Shared Data Volume
Containers
launchContainer Instance
Volume Definitions
Container Definitions
![Page 28: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/28.jpg)
Starting a Task
API
User / Scheduler
StartTask
![Page 29: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/29.jpg)
Starting a Task
API
User / Scheduler
StartTask
Cluster Management Engine
![Page 30: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/30.jpg)
Starting a Task
API
User / Scheduler
StartTask
Cluster Management Engine
Agent Communication
![Page 31: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/31.jpg)
Starting a Task
API
User / Scheduler
StartTask
Cluster Management Engine
Agent Communication
Docker
Container Instance
ECS Agent
TaskContainer
WebSocket
![Page 32: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/32.jpg)
Starting a Task
API
User / Scheduler
StartTask
Cluster Management Engine
Agent Communication
DockerTask
Container Instance
Container
ECS Agent
TaskContainer
SubmitStateChange
![Page 33: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/33.jpg)
Tracking Resource Changes
![Page 34: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/34.jpg)
Terminated Task
API
User / Scheduler
StartTask
Cluster Management Engine
Agent Communication
DockerTask
Container Instance
Container
ECS Agent
SubmitStateChange
![Page 35: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/35.jpg)
Missing Container Instance
API
User / Scheduler
StartTask
Cluster Management Engine
DockerTask
Container Instance
Container
ECS Agent
?
Agent Communication
![Page 36: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/36.jpg)
Terminated Container Instance
API
User / Scheduler
StartTask
Cluster Management Engine
Agent Communication
Termination Notifier
DockerTask
Container Instance
Container
ECS Agent
![Page 37: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/37.jpg)
Guaranteeing Accuracy and Consistency
![Page 38: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/38.jpg)
Amazon ECS under the Hood
IDN-1 IDN IDN+1 IDN+2 IDN+3 IDN+4 IDN+5
IDN+6
IDN+5
WRITE
READ
![Page 39: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/39.jpg)
Amazon ECS under the Hood
IDN-1 IDN IDN+1 IDN+2 IDN+3 IDN+4 IDN+5
IDN+6IDN+3
IDN+5IDN+2
WRITE WRITE
READREAD
![Page 40: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/40.jpg)
Scalable
![Page 41: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/41.jpg)
Schedulers
![Page 42: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/42.jpg)
What is a Scheduler?
• Determine Desired State
• Check Against Current State
• Perform Action
![Page 43: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/43.jpg)
Amazon ECS Service Scheduler
![Page 44: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/44.jpg)
What is a Service?
• Models a long-running application
• Maintains desired state
• Optionally runs behind an Elastic
Load Balancer
![Page 45: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/45.jpg)
Discovering DifferencesDeployment Status Desired Pending Running
ecs-svc/1 PRIMARY 5 0 0
Minimum Healthy Maximum Healthy
50% 200%
![Page 46: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/46.jpg)
![Page 47: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/47.jpg)
Discovering DifferencesDeployment Status Desired Pending Running
ecs-svc/2 PRIMARY 10 0 0
ecs-svc/1 ACTIVE 5 0 5
Minimum Healthy Maximum Healthy
50% 200%
![Page 48: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/48.jpg)
![Page 49: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/49.jpg)
Other Considerations• ELB Registration/Deregistration• Permissions and Errors• Task Health• Scale Down Requests
![Page 50: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/50.jpg)
![Page 51: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/51.jpg)
Multiple Schedulers
![Page 52: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/52.jpg)
Amazon ECS: Scheduling
![Page 53: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/53.jpg)
Amazon ECS: Scheduling
![Page 54: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/54.jpg)
Amazon ECS: Scheduling
![Page 55: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/55.jpg)
Amazon ECS: Scheduling
![Page 56: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/56.jpg)
Let us recap
![Page 57: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/57.jpg)
![Page 58: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/58.jpg)
{"environment": [],"name": "simple-demo","image": "my-demo","cpu": 10,"memory": 500,"portMappings": [
{"containerPort": 80,"hostPort": 80
}],"mountPoints": [
{"sourceVolume": "my-vol","containerPath": "/var/www/my-vol"
}],"entryPoint": [
"/usr/sbin/apache2","-D","FOREGROUND"
],"essential": true
},
“Task Definitions”
![Page 59: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/59.jpg)
Docker
Task
Container Instance
Amazon ECS
Container
ECS Agent
ELB
Internet
ELB
User / Scheduler
API
Cluster Management Engine
Task Container
Docker
Task
Container Instance
Container
ECS Agent
Task Container
Docker
Task
Container Instance
Container
ECS Agent
Task Container
AZ 1 AZ 2
Key/Value Store
Agent Communication Service
![Page 60: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/60.jpg)
![Page 61: Containers and the evolution of computing · What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use](https://reader034.vdocuments.us/reader034/viewer/2022042219/5ec54d10d94b8778df099f7a/html5/thumbnails/61.jpg)
Thank you!