SlideShare a Scribd company logo
DOCKER ON AWS
Sascha Möllering | zanox AG
Sascha Möllering
sascha.moellering@zanox.com
Lead Engineer / DevOps Hipster
zanox AG
http://autoscaling.io
@sascha242
ABOUT ME
JAVA MAGAZIN 11.14
ARCHITEKTUR IM KONTEXT DER CLOUD: PATTERNS UND BEST
PRACTICES
AWS VIRTUAL CLOUD SUMMIT
CONTINUOUS DELIVERY IN AWS USING DOCKER
ENTWICKLER SPEZIAL: DOCKER
ÜBER DEN WOLKEN: EIN ERFAHRUNGSBERICHT ZUM DOCKER-
EINSATZ IN DER AMAZON CLOUD
ABOUT ME
Docker on AWS
●Our current project
●Highly scalable tracking application
●Multi-Region
●Multi-AZ
●Latency based routing
GENERALARCHITECTURE
RegionUS-WEST (N. California) EU-WEST (Ireland)
ASIA PAC
(Tokyo)
ASIA PAC
(Singapore)
US-WEST (Oregon)
SOUTH AMERICA (Sao
Paulo)
US-EAST (Virginia)
GOV CLOUD
ASIA PAC
(Sydney)
EU-CENTRAL (Frankfurt)
GENERALARCHITECTURE
Availability
Zone
GENERALARCHITECTURE
Internet
Auto Scaling group
Auto Scaling group
Availability Zone
Availability Zone
GENERALARCHITECTURE
Apache Kafka
IMMUTABLE SERVER
Berlin | 08.06.2012 | zanox | Company Präsentation
IMMUTABLE SERVER
●Trash your servers!!!
●New deployment => new infrastructure
●Don’t change an existing server
●Problem: snowflake server
IMMUTABLE SERVER
Berlin | 08.06.2012 | zanox | Company Präsentation
Docker on AWS
Docker on AWS
IMMUTABLE SERVER
IMMUTABLE SERVER
Docker on AWS
DOCKER REGISTRY
●Private Docker registry
●Based an EC2 and S3
●Stores custom images
EC2 instance with Docker
registry (port 5000)
S3 bucket to store
Docker images
DOCKER REGISTRY
DOCKER REGISTRY
Amazon Cloud
Workstation
GitHub Jenkins
Python/Boto
Docker Image
Docker Registry S3 bucket with
Docker Images
● Implementation progress:
● CloudFormation template
● Uses VPC and Multi-AZ
● Scalable (ELB)
● SSL support missing
● https://github.com/SaschaMoellering/docker-
registry-aws
DOCKER REGISTRY
DEPLOYMENT
DEPLOYMENT
DEPLOYMENT
python start_docker_instance.py 
-r <myregistry>:5000 
-i tracking-ppv 
-t 95 
-q 4 
-s quality 
-n 'Sascha Moellering’
-e 'sascha.moellering@zanox.com'
-m trackingppv
-d '-d -p 8080:8080'
Docker on AWS
DEPLOYMENT
python start_elb.py 
-r <myregistry>:5000 
-i tracking-ppv 
-t 95 
-s quality 
-d '-d -p 8080:8080’
Docker on AWS
EC2 INSTANCES AND ELB
Docker on AWS
EC2 CONTAINER SERVICE
●Amazon EC2 Container Service (ECS):
● Container management service
● Fast
● Highly scalable
● Supports Docker
EC2 CONTAINER SERVICE
●Cluster
●Container Instance
●Task Definition
●Task
●Container
EC2 CONTAINER SERVICE
EC2 CONTAINER SERVICE
EC2 CONTAINER SERVICE
EC2 CONTAINER SERVICE
#!/bin/bash
echo ECS_CLUSTER = 
your_cluster_name >> 
/etc/ecs/ecs.config
EC2 CONTAINER SERVICE
EC2 CONTAINER SERVICE
EC2 CONTAINER SERVICE
EC2 CONTAINER SERVICE
EC2 CONTAINER SERVICE
EC2 CONTAINER SERVICE
EC2 CONTAINER SERVICE
EC2 CONTAINER SERVICE
Docker on AWS

More Related Content

PPTX
Docker in der AWS Cloud
PDF
Cloud Academy's AWS Hands on-labs
PDF
Introduction to the Serverless paradigm
PPTX
Cloud Patterns Beuth Hochschule
PPTX
Active Directory - TIAD Camp Microsoft Cloud Readiness
PDF
AWS Lambda: Advanced Coding Session
PDF
STUPS by Zalando @WHD.local Frankfurt: STUPS.io - an Open Source Cloud Framew...
PPTX
Cluster SQL - TIAD Camp Microsoft Cloud Readiness
Docker in der AWS Cloud
Cloud Academy's AWS Hands on-labs
Introduction to the Serverless paradigm
Cloud Patterns Beuth Hochschule
Active Directory - TIAD Camp Microsoft Cloud Readiness
AWS Lambda: Advanced Coding Session
STUPS by Zalando @WHD.local Frankfurt: STUPS.io - an Open Source Cloud Framew...
Cluster SQL - TIAD Camp Microsoft Cloud Readiness

What's hot (20)

PDF
Introduction to AWS Lambda with Python
PDF
AWS for web developers
PDF
Max Körbächer - AWS EKS and beyond – master your Kubernetes deployment on AWS...
PDF
Kubernetes on AWS at Europe's Leading Online Fashion Platform
PDF
AWS chez Attestis
PPTX
Designing for elasticity on AWS - 9.11.2015
PDF
Exploring Serverless Architectures: AWS Lambda
PDF
Killing technical debt and reducing costs with Docker
PPTX
.Net Development on AWS
PPTX
It's All About Delivering: A Journey From AWS to Cloud Foundry
PDF
Docker Berlin Meetup Nov 2015: Zalando Intro
PDF
STUPS by Zalando @ AWS User Group Ireland Meet Up September 2015
PPTX
Messaging without servers
PPTX
Build a reverse proxy for modern immutable infrastructure - Sozu - Devops D D...
PPT
Mashery
PPTX
MONITORING THE UNKNOWN, 1000*100 SERIES A DAY - DEVOXX MOROCCO 2017
PDF
Nils Mohr & Jake Pearce - 100 years of flight data at British Airways. Past, ...
PDF
Docker Paris #29
PDF
GOTO Amsterdam 2015: A Cloud Infrastructure for Scaling Innovation Across Aut...
PDF
Cloud level scalability - Nuxeo Tour 2014
Introduction to AWS Lambda with Python
AWS for web developers
Max Körbächer - AWS EKS and beyond – master your Kubernetes deployment on AWS...
Kubernetes on AWS at Europe's Leading Online Fashion Platform
AWS chez Attestis
Designing for elasticity on AWS - 9.11.2015
Exploring Serverless Architectures: AWS Lambda
Killing technical debt and reducing costs with Docker
.Net Development on AWS
It's All About Delivering: A Journey From AWS to Cloud Foundry
Docker Berlin Meetup Nov 2015: Zalando Intro
STUPS by Zalando @ AWS User Group Ireland Meet Up September 2015
Messaging without servers
Build a reverse proxy for modern immutable infrastructure - Sozu - Devops D D...
Mashery
MONITORING THE UNKNOWN, 1000*100 SERIES A DAY - DEVOXX MOROCCO 2017
Nils Mohr & Jake Pearce - 100 years of flight data at British Airways. Past, ...
Docker Paris #29
GOTO Amsterdam 2015: A Cloud Infrastructure for Scaling Innovation Across Aut...
Cloud level scalability - Nuxeo Tour 2014
Ad

Viewers also liked (15)

PPTX
Integrate Jenkins with S3
PDF
PyData - Consumindo e publicando web APIs com Python
PPTX
AWS CloudFormation Intrinsic Functions and Mappings
PPTX
Docker in der Cloud
PPTX
MTC 2013 monetarisierung
PPTX
Real World Enterprise Reactive Programming using Vert.x
PPT
DevOpsCon Cloud Workshop
PDF
Lift Urban Entrepreneurs Seoul Ideation Workshop, Nov 12, 2016
PPTX
Sas 2015 event_driven
PPTX
Production ready Vert.x
PPT
Docker in the Cloud
KEY
BED Con JBoss
PPTX
Continuous Delivery and Infrastructure as Code
PPTX
Cloud Architecture: Patterns and Best Practices
PDF
From development environments to production deployments with Docker, Compose,...
Integrate Jenkins with S3
PyData - Consumindo e publicando web APIs com Python
AWS CloudFormation Intrinsic Functions and Mappings
Docker in der Cloud
MTC 2013 monetarisierung
Real World Enterprise Reactive Programming using Vert.x
DevOpsCon Cloud Workshop
Lift Urban Entrepreneurs Seoul Ideation Workshop, Nov 12, 2016
Sas 2015 event_driven
Production ready Vert.x
Docker in the Cloud
BED Con JBoss
Continuous Delivery and Infrastructure as Code
Cloud Architecture: Patterns and Best Practices
From development environments to production deployments with Docker, Compose,...
Ad

Recently uploaded (20)

PDF
Machine learning based COVID-19 study performance prediction
PDF
cuic standard and advanced reporting.pdf
PPTX
Big Data Technologies - Introduction.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
KodekX | Application Modernization Development
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Encapsulation theory and applications.pdf
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
Machine learning based COVID-19 study performance prediction
cuic standard and advanced reporting.pdf
Big Data Technologies - Introduction.pptx
The AUB Centre for AI in Media Proposal.docx
Digital-Transformation-Roadmap-for-Companies.pptx
“AI and Expert System Decision Support & Business Intelligence Systems”
KodekX | Application Modernization Development
Mobile App Security Testing_ A Comprehensive Guide.pdf
20250228 LYD VKU AI Blended-Learning.pptx
Network Security Unit 5.pdf for BCA BBA.
Advanced methodologies resolving dimensionality complications for autism neur...
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
NewMind AI Weekly Chronicles - August'25 Week I
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Encapsulation theory and applications.pdf
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Understanding_Digital_Forensics_Presentation.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing

Docker on AWS

Editor's Notes

  • #7: 9 bzw. 10 verschiedene Regionen Region: separierte geographische Bereiche Neu: EU-Central in Frankfurt
  • #8: Regions werden in Availability Zones unterteilt Jede AZ is isoliert, aber durch Leitungen mit niedriger Latenz verbunden A group of AZ is a Region A group of Datacenter is an AZ
  • #9: S3 DynamoDB RDS RedShift EMR
  • #20: ----- Meeting Notes (26/10/14 22:22) ----- Fabric -> Boto
  • #31: Cluster: a logical grouping of container instances that you can place tasks on. Container Instance: an Amazon EC2 instance that is running the Amazon ECS agent and has been registered into a cluster. Task Definition: a description of an application that contains one or more container definitions. Task: an instantiation of a task definition that is running on a container instance. Container: a Linux container that was created as part of a task.
  • #38: - Task-definition