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)

DOCX
Unit-3 cyber security network security of internet system
PPTX
innovation process that make everything different.pptx
PPTX
Module 1 - Cyber Law and Ethics 101.pptx
PPTX
artificialintelligenceai1-copy-210604123353.pptx
PPTX
Introduction to Information and Communication Technology
PDF
Unit-1 introduction to cyber security discuss about how to secure a system
PPT
Ethics in Information System - Management Information System
PDF
An introduction to the IFRS (ISSB) Stndards.pdf
PPTX
Internet___Basics___Styled_ presentation
PDF
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
PPTX
E -tech empowerment technologies PowerPoint
PDF
FINAL CALL-6th International Conference on Networks & IOT (NeTIOT 2025)
PDF
Vigrab.top – Online Tool for Downloading and Converting Social Media Videos a...
PPTX
Introduction to cybersecurity and digital nettiquette
PPT
Design_with_Watersergyerge45hrbgre4top (1).ppt
PPTX
presentation_pfe-universite-molay-seltan.pptx
PDF
Sims 4 Historia para lo sims 4 para jugar
PPTX
artificial intelligence overview of it and more
PPTX
Job_Card_System_Styled_lorem_ipsum_.pptx
PPTX
Power Point - Lesson 3_2.pptx grad school presentation
Unit-3 cyber security network security of internet system
innovation process that make everything different.pptx
Module 1 - Cyber Law and Ethics 101.pptx
artificialintelligenceai1-copy-210604123353.pptx
Introduction to Information and Communication Technology
Unit-1 introduction to cyber security discuss about how to secure a system
Ethics in Information System - Management Information System
An introduction to the IFRS (ISSB) Stndards.pdf
Internet___Basics___Styled_ presentation
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
E -tech empowerment technologies PowerPoint
FINAL CALL-6th International Conference on Networks & IOT (NeTIOT 2025)
Vigrab.top – Online Tool for Downloading and Converting Social Media Videos a...
Introduction to cybersecurity and digital nettiquette
Design_with_Watersergyerge45hrbgre4top (1).ppt
presentation_pfe-universite-molay-seltan.pptx
Sims 4 Historia para lo sims 4 para jugar
artificial intelligence overview of it and more
Job_Card_System_Styled_lorem_ipsum_.pptx
Power Point - Lesson 3_2.pptx grad school presentation

AWS Elastic Container Service - DockerHN