SlideShare a Scribd company logo
Amazon EC2 Container Service
Tuna
ng.tuna@gmail.com
@ngtuna11
http://www.meetup.com/Docker-Hanoi
Docker ecosystem
Scheduling & Orchestration
• Run	and	manage	cluster	of	docker	
containers
• Build-in	service	scheduler,	task	scheduler	
and	state	manager
• Orchestration	system
• Integrate	with	multiple	AWS	services.
Amazon EC2 Container Service
Elastic	Load	Balancing
Amazon	Elastic	Block	Store
Amazon	Virtual	Private	Cloud
AWS	Identity	and	Access	Management
AWS	CloudTrail
AWS	CloudFormation
AWS	CloudWatch
Designed for use with other AWS services
AWS Elastic Container Service - DockerHN
AWS Elastic Container Service - DockerHN
AWS Elastic Container Service - DockerHN
AWS Elastic Container Service - DockerHN
AWS Elastic Container Service - DockerHN
AWS Elastic Container Service - DockerHN
AWS Elastic Container Service - DockerHN
Task Definitions
{
"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
},
{
"name": "busybox",
"image": "busybox",
"cpu": 10,
"memory": 500,
"volumesFrom": [
{
"sourceContainer": "simple-demo"
}
],
"entryPoint": [
"sh",
"-c"
],
"command": [
"/bin/sh -c "while true; do
/bin/date > /var/www/my-vol/date; sleep 1; done""
],
"essential": false
}
{
"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
[
{
"image": "mysql",
"name": "db",
"cpu": 10,
"memory": 500,
"essential": true,
"entryPoint": [
"/entrypoint.sh"
],
"environment": [
{
"name": "MYSQL_ROOT_PASSWORD",
"value": "pass"
}
],
"portMappings": []
}
]
Essential to our Task
Create and mount volumes
Expose port 80 in container
to port 80 on host
10 CPU Units (1024 is full CPU),
500 Megabytes of Memory
{
"name": "busybox",
"image": "busybox",
"cpu": 10,
"memory": 500,
"volumesFrom": [
{
"sourceContainer": "simple-demo"
}
],
"entryPoint": [
"sh",
"-c"
],
"command": [
"/bin/sh -c "while true; do
/bin/date > /var/www/my-vol/date; sleep 1; done""
],
"essential": false
}
Task Definitions
[
{
"image": "tutum/wordpress-stackable",
"name": "wordpress",
"cpu": 10,
"memory": 500,
"essential": true,
"links": [
"db"
],
"entryPoint": [
"/bin/sh",
"-c"
],
"environment": [
…
],
"portMappings": [
{
"containerPort": 80,
"hostPort": 80
}
]
},
]
From Docker Hub
Mount volume from other container
Command to exec
Tasks
Good for short-lived
containers, e.g.
batch jobs
Services
Good for long-
running applications
and services
Service Scheduler
• Manage long-running applications and services
• Build-in
• What it does
• Load balacing
• Health management
• Scale-up and scale-down
• Update management
• Drain ELB
AWS Elastic Container Service - DockerHN
DIY
AWS Elastic Container Service - DockerHN
Architectural Design
You want more ???
Container-level autoscaling
Amazon Lambda & Amazon
ECS: Excellent !!!
https://aws.amazon.com/blogs/comput
e/scaling-amazon-ecs-services-
automatically-using-amazon-
cloudwatch-and-aws-lambda/
Service discovery
Load Balancers
DNS
Service discovery services
Service discovery
Load Balancers
ECS Service scheduler
Service discovery
DNS
http://weave.works/guides/service
-discovery-with-weave-aws-
ecs.html
Service discovery
Service discovery services
https://aws.amazon.com/blogs/co
mpute/service-discovery-via-
consul-with-amazon-ecs
Monitoring & logging
Docker logs
Container logs
AWS Elastic Container Service - DockerHN
AWS Elastic Container Service - DockerHN
AWS Elastic Container Service - DockerHN
AWS Elastic Container Service - DockerHN
AWS Elastic Container Service - DockerHN
Extensible
Comprehensive APIs
Open source agent
Custom schedulers
Questions

More Related Content

PDF
Docker 1.12 (dockercon recap)
PDF
Microsoft Azure Container Service - DockerCH
PPTX
Automation with Packer and TerraForm
PDF
Hashicorp @ JUST EAT - Part 2
PDF
EC2 Container Service
PPT
Docker and CloudStack
PPTX
Azure container service overview
PPTX
Data backup and Disaster recovery with AWS
Docker 1.12 (dockercon recap)
Microsoft Azure Container Service - DockerCH
Automation with Packer and TerraForm
Hashicorp @ JUST EAT - Part 2
EC2 Container Service
Docker and CloudStack
Azure container service overview
Data backup and Disaster recovery with AWS

What's hot (20)

PDF
AWS Lambda at JUST EAT
PPTX
Introduction to Amazon EC2 Container Service and setting up build pipeline wi...
PDF
HashiCorp at Just Eat
PDF
Kubernetes on AWS
PDF
Navigating in the sea of containers in azure when to choose which service and...
PDF
London Hug 19/5 - Terraform in Production
PDF
An Introduction to Kube-Lego
PPTX
Continous Delivery to Kubernetes using Helm
PDF
jclouds High Level Overview by Adrian Cole
PDF
Running your dockerized application(s) on AWS Elastic Container Service
PDF
Making Sense Out of Amazon EC2 Container Service
PDF
Deliver Docker Containers Continuously on AWS - QCon 2017
PPTX
Automating aws infrastructure and code deployments using Ansible @WebEngage
PPTX
GlobalAzureBootCamp 2018
PDF
Apache jclouds and Docker
PDF
A Introduction of Packer
PPTX
Introduction to Packer and Suitcase: A Packer-based OS Image Build System
PDF
전 세계 팬들이 모일 수 있는 플랫폼 만들기 - 강진우 (beNX) :: AWS Community Day 2020
PDF
Cloud Computing: AWS for Lean Startups
PPTX
Setup Kubernetes Cluster On AWS Using KOPS
AWS Lambda at JUST EAT
Introduction to Amazon EC2 Container Service and setting up build pipeline wi...
HashiCorp at Just Eat
Kubernetes on AWS
Navigating in the sea of containers in azure when to choose which service and...
London Hug 19/5 - Terraform in Production
An Introduction to Kube-Lego
Continous Delivery to Kubernetes using Helm
jclouds High Level Overview by Adrian Cole
Running your dockerized application(s) on AWS Elastic Container Service
Making Sense Out of Amazon EC2 Container Service
Deliver Docker Containers Continuously on AWS - QCon 2017
Automating aws infrastructure and code deployments using Ansible @WebEngage
GlobalAzureBootCamp 2018
Apache jclouds and Docker
A Introduction of Packer
Introduction to Packer and Suitcase: A Packer-based OS Image Build System
전 세계 팬들이 모일 수 있는 플랫폼 만들기 - 강진우 (beNX) :: AWS Community Day 2020
Cloud Computing: AWS for Lean Startups
Setup Kubernetes Cluster On AWS Using KOPS
Ad

Viewers also liked (20)

PDF
AWS Elastic Container Service
PPTX
Introduction Into Docker Ecosystem
PDF
[DockerHN_2nd_meetup] Ecosystem & Orchestration Tools
PDF
Docker for Developers: Dev, Test, Deploy @ BucksCo Devops at MeetMe HQ
PDF
Docker Orchestrators
PDF
Docker Introduction
PDF
DockerCon 2016 Ecosystem - Everything You Need to Know About Docker and Stora...
PDF
How Docker Fits into DevOps Ecosystem
PDF
The Containers Ecosystem, the OpenStack Magnum Project, the Open Container In...
PDF
Docker Workshop - Orchestrating Docker Containers
PPTX
Docker and the Container Ecosystem
PDF
Contribute 101: Engine/Swarm/ContainerD by Phil Estes
PPTX
Docker containerd Kubernetes sig node
PDF
Docker Online Meetup #22: Docker Networking
PDF
Unikernels: the rise of the library hypervisor in MirageOS
PPTX
Containerd - core container runtime component
PPTX
Docker Networking: Control plane and Data plane
PPTX
Docker introduction
PDF
containerd and CRI
PDF
Driving containerd operations with gRPC
AWS Elastic Container Service
Introduction Into Docker Ecosystem
[DockerHN_2nd_meetup] Ecosystem & Orchestration Tools
Docker for Developers: Dev, Test, Deploy @ BucksCo Devops at MeetMe HQ
Docker Orchestrators
Docker Introduction
DockerCon 2016 Ecosystem - Everything You Need to Know About Docker and Stora...
How Docker Fits into DevOps Ecosystem
The Containers Ecosystem, the OpenStack Magnum Project, the Open Container In...
Docker Workshop - Orchestrating Docker Containers
Docker and the Container Ecosystem
Contribute 101: Engine/Swarm/ContainerD by Phil Estes
Docker containerd Kubernetes sig node
Docker Online Meetup #22: Docker Networking
Unikernels: the rise of the library hypervisor in MirageOS
Containerd - core container runtime component
Docker Networking: Control plane and Data plane
Docker introduction
containerd and CRI
Driving containerd operations with gRPC
Ad

Similar to AWS Elastic Container Service - DockerHN (12)

PPTX
Tech connect aws
PDF
Microservices on AWS using AWS Lambda and Docker Containers
PPTX
AWS Presents: Infrastructure as Code on AWS - ChefConf 2015
PDF
Amazon EC2 Container Service Live Demo - Microservices Web Day
PDF
Deployment and Management on AWS:
 A Deep Dive on Options and Tools
PDF
Amazon EC2 Container Service in Action
PDF
2013 05-openstack-israel-heat
PPTX
Amazon Web Services and Docker: from developing to production
PDF
Immutable AWS Deployments with Packer and Jenkins
PDF
Dev & Test on AWS - Journey Through the Cloud
PPTX
Deployment with Ansible Tower, management with Scalr
PDF
2013 05-fite-club-working-models-cloud-growing-up
Tech connect aws
Microservices on AWS using AWS Lambda and Docker Containers
AWS Presents: Infrastructure as Code on AWS - ChefConf 2015
Amazon EC2 Container Service Live Demo - Microservices Web Day
Deployment and Management on AWS:
 A Deep Dive on Options and Tools
Amazon EC2 Container Service in Action
2013 05-openstack-israel-heat
Amazon Web Services and Docker: from developing to production
Immutable AWS Deployments with Packer and Jenkins
Dev & Test on AWS - Journey Through the Cloud
Deployment with Ansible Tower, management with Scalr
2013 05-fite-club-working-models-cloud-growing-up

Recently uploaded (20)

PPTX
Generics jehfkhkshfhskjghkshhhhlshluhueheuhuhhlhkhk.pptx
PPTX
durere- in cancer tu ttresjjnklj gfrrjnrs mhugyfrd
PDF
5g is Reshaping the Competitive Landscape
PDF
Glotv Iptv Overview Channels, Pricing, and Setup Guide (1).pdf
PPTX
Crypto Recovery California Services.pptx
PPTX
introduction about ICD -10 & ICD-11 ppt.pptx
PDF
Triggering QUIC, presented by Geoff Huston at IETF 123
PDF
KIPER4D situs Exclusive Game dari server Star Gaming Asia
PDF
Project English Paja Jara Alejandro.jpdf
PDF
LABUAN4D EXCLUSIVE SERVER STAR GAMING ASIA NO.1
PDF
APNIC Update, presented at PHNOG 2025 by Shane Hermoso
PPTX
ENCOR_Chapter_11 - ‌BGP implementation.pptx
PDF
KIPER4D situs Exclusive Game dari server Star Gaming Asia
PDF
www-codemechsolutions-com-whatwedo-cloud-application-migration-services.pdf
PDF
Testing WebRTC applications at scale.pdf
PPTX
PPT_M4.3_WORKING WITH SLIDES APPLIED.pptx
PDF
LABUAN4D EXCLUSIVE SERVER STAR GAMING ASIA NO.1
PDF
“Google Algorithm Updates in 2025 Guide”
PPTX
LESSON-2-Roles-of-ICT-in-Teaching-for-learning_123922 (1).pptx
PPTX
nagasai stick diagrams in very large scale integratiom.pptx
Generics jehfkhkshfhskjghkshhhhlshluhueheuhuhhlhkhk.pptx
durere- in cancer tu ttresjjnklj gfrrjnrs mhugyfrd
5g is Reshaping the Competitive Landscape
Glotv Iptv Overview Channels, Pricing, and Setup Guide (1).pdf
Crypto Recovery California Services.pptx
introduction about ICD -10 & ICD-11 ppt.pptx
Triggering QUIC, presented by Geoff Huston at IETF 123
KIPER4D situs Exclusive Game dari server Star Gaming Asia
Project English Paja Jara Alejandro.jpdf
LABUAN4D EXCLUSIVE SERVER STAR GAMING ASIA NO.1
APNIC Update, presented at PHNOG 2025 by Shane Hermoso
ENCOR_Chapter_11 - ‌BGP implementation.pptx
KIPER4D situs Exclusive Game dari server Star Gaming Asia
www-codemechsolutions-com-whatwedo-cloud-application-migration-services.pdf
Testing WebRTC applications at scale.pdf
PPT_M4.3_WORKING WITH SLIDES APPLIED.pptx
LABUAN4D EXCLUSIVE SERVER STAR GAMING ASIA NO.1
“Google Algorithm Updates in 2025 Guide”
LESSON-2-Roles-of-ICT-in-Teaching-for-learning_123922 (1).pptx
nagasai stick diagrams in very large scale integratiom.pptx

AWS Elastic Container Service - DockerHN