7. Why Orchestration?
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
10. ECS
Amazon EC2 Container Service (ECS) is a highly scalable,
high performance container management service that supports
Docker containers and allows you to easily run applications on
a managed cluster of Amazon EC2 instances.
There is no additional charge for Amazon ECS
25. Task Definition - Constraints
Cluster
Built-in Attributes
• ecs.ami-id
The ID of the AMI used to launch the instance. An example value for this attribute is "ami-eca289fb"
• ecs.availability-zone
The Availability Zone for the instance. An example value for this attribute is "us-east-1a"
• ecs.instance-type
The instance type for the instance. An example value for this attribute is "g2.2xlarge"
• ecs.os-type
The operating system for the instance. The possible values for this attribute are "linux" and "windows".
Custom Attributes: Cluster query language
28. ECS: Service
Service Definition: Task Placement:
• Task Definition
• Cluster
• Service Name
• Number of tasks
• Minimum healthy %
• Maximum %
• AZ Balanced Spread
• AZ Balanced
BinPack
• BinPack
• One Task Per Host
• Custom
30. ECS: Service load balancing
Service can be attached to Load Balancer of any type
It is not possible to update after service creation
• Health-check grace period
• Service IAM Role
• Load Balancer Name
46. ECS: New features
• awsweb networking mode
• Windows Server Containers
• Memory and CPU Limits at the Task Level
• New regions for ECS and ECR: Sao Paolo and Mumbai
47. ECS: New features
awsweb networking mode
ClusterCluster
Instance
Task ENI
• Same networking properties as Amazon EC2 instances
• ENI is fully managed by Amazon ECS
ENI
48. Get in touch at vitaliyku@cloudzone.io
Thank You!
Editor's Notes
Ask who has experience with ECS? With Dockers?
Couple of words about containers.
Service discovery? Configuration injection?
Ask who has experience with ECS? With Dockers?
Couple of words about containers.
Service discovery? Configuration injection?
One task - one service
Do one thing, do well
Each service can be written on his specific language
Services are speaking via network
Ask who has experience with ECS? With Dockers?
Couple of words about containers.
Service discovery? Configuration injection?
Speak about set-up / vpc / subnets / ELB - give definitions:
Port mappings, target groups etc.
Add slide of ECS features
Check if private link for ECS
Add note, that instances should have IAM ROLE and Outboud access to connect to cluster
Ask who has experience with ECS? With Dockers?
Couple of words about containers.
Service discovery? Configuration injection?
Network Mode:
None
Bridge
awsvpc
host
Add screenshot with general task definintion screen
Network Mode:
None
Bridge
awsvpc
host
Add screenshot with general task definintion screen
Zoom in to sreenshot
Network Mode:
None
Bridge
awsvpc
host
Add screenshot with general task definintion screen
Zoom in to sreenshot
* Probably need to speak about CNI (awsweb network mode)