SlideShare a Scribd company logo
Docker - Powering RA at Zalando
Docker Meetup - Dortmund 7.6.2016 | jan.mussler@zalando.de | @JanMussler
15 countries
3 fulfillment centers
18+ million active customers
3.0+ billion € revenue
135+ million visits per month
1.000+ employees in tech
Europe's Leading Fashion Platform
Visit us: tech.zalando.com
Zalando’s Technology History
Platform
80+ Engineering teams
Platform team
deploy
Server needs
Storage requests
Powering Radical Agility with Docker
RADICAL AGILITY
AUTONOMY
Compliance Innovation
STUPS
AWS
STUPS
DOCKER
DEPLOY
SSH
ACCESS
AUDIT
REPORTS
FULL AWS
ACCESS
STUPS: A PLATFORM ON TOP OF AMAZON WEB SERVICES
āžŠ
āž‹
āžŒ
āž
āžŽ
Internet
*.abc.example.org *.xyz.example.org
Team ABC Team XYZ
ISOLATED AWS ACCOUNTS
EC2EC2
ELBELB
EC2
DEPLOYMENT
IMMUTABLE STACKS
ELB myapp-1
myapp.example.org
EC2
+ Docker
EC2
+ Docker
EC2
+ Docker
IMMUTABLE STACKS
ELB myapp-1
EC2
+ Docker
EC2
+ Docker
EC2
+ Docker
ELB myapp-2
EC2
+ Docker
EC2
+ Docker
myapp.example.org
ā— Immutable AMI
ā— YAML user data
ā— Docker runtime
ā— Application logging:
LogEntries, Scalyr, CloudWatch Logs
ā— Prometheus Node Agent for metrics
ā— KMS encrypted env vars
TAUPAGE AMI
Taupage
AMI
SENZA: DEFINITION YAML
SenzaInfo:
StackName: hello-world
Parameters:
- ImageVersion:
Description: "Docker image version of Hello World."
SenzaComponents:
- Configuration:
Type: Senza::StupsAutoConfiguration # auto-detect network setup
- AppServer: # will create a launch configuration and ASG with scaling triggers
Type: Senza::TaupageAutoScalingGroup
InstanceType: t2.micro
SecurityGroups: [app-hello-world]
ElasticLoadBalancer: AppLoadBalancer
TaupageConfig:
runtime: Docker
source: "stups/hello-world:{{Arguments.ImageVersion}}"
ports:
8080: 8080
SENZA: STACK DEPLOYMENT
$ senza create hello-world.yaml 1 0.2
Generating Cloud Formation template.. OK
Creating Cloud Formation stack hello-world-1.. OK
$ senza events hello-world.yaml 1
Stack Name│Ver.│Resource Type │Resource ID │Status │Status Reason │Event Time
hello-world 1 CloudFormation::Stack hello-world-1 CREATE_IN_PROGRESS User Initiated 10m ago
...
hello-world 1 CloudFormation::Stack hello-world-1 CREATE_COMPLETE 6m ago
SENZA: MANAGE STACKS
SSH ACCESS
SSH ACCESS: TIME-LIMITED ACCESS TO ANY TEAM SERVER
LOGGING
Powering Radical Agility with Docker
Automation
GOCD
Thoughtwork’s GOCD in action
GOCD - Pipeline example - configuration overlay
Plan - B
The
OAuth 2.0 authorization framework
enables a third-party application
to obtain limited access to
an HTTP service.
- oauth.net
OAUTH 2.0?
ā— Robustness & resilience
⇒ Cassandra, no SPOF
ā— Low latency for token validation
⇒ Token Info next to application
ā— Horizontal scalability
⇒ Cassandra, ā€œstatelessā€ Token Info
PLAN B: GOALS - Build open source Oauth2 Provider
PLAN B: COMPLETE PICTURE
bobalice
create
token
Token Info
validate
Provider
credential storage
Revocation
poll
public keys
poll
revocation listsS3
call with Bearer token
Written in Go
~16 MB Docker image
Stateless application
CPU bound, Go 1.6 ~40x speedup for EC verify
EC2 instance start to healthy: 45sec
Scaling Token Info example
ZMON
Flexible and extendable: Checks & Alerts in Python
Integrate: REST APIs, OAUTH2, AWS Auto Discovery
Fully configurable via UI / API: no restarts required!
Great for teams: team dashboards, alerts inheritance
Fast/scaling metrics: Redis, KairosDB + Grafana3
Hackweek 2015 - iOS app and Android app ;-)
ZMON - High Lights ;-)
Powering Radical Agility with Docker
Powering Radical Agility with Docker
Powering Radical Agility with Docker
Continued ...
Instance Metrics
ā— Memory usage
ā— Disk space usage
ā— CPU usage
ā— Application logs
ā— Application metrics
Monitoring instances on AWS
Scalyr Agent
Log shipping
Prometheus
Node Agent
:9100/metrics
Taupage AMI (Ubuntu base)
Application Container
Go / Spring Boot / Cassandra
Docker run time
:8080 -> app
:7979 -> metrics
Annotated Metric Data in Grafana
Annotated Metric Data in Grafana
Running same Docker Image everywhere
CLAIR - SQS
CoreOS’ Clair with PierOne - Static vulnerability analysis of images
Powering Radical Agility with Docker
Powering Radical Agility with Docker
Learnings?
ā— AWS terminology and behavior
ā— OAuth2 + Security + Security Groups
ā— Ops can be hard -> SaaS?
ā— CF deployment takes time
ā— DNS load balancing and switching :-(
ā—‹ Remember timeout config …!!
ā—‹ ELB soso ...
ā— Great flexibility and power though
A lot of input to cover ...
Zalando on Github:
https://github.com/zalando
STUPS online:
https://stups.io
ZMON Demo:
https://demo.zmon.io
Zalando Tech:
https://tech.zalando.com

More Related Content

PDF
How We Made our Tech Organization and Architecture Converge Towards Scalability
Zalando Technology
Ā 
PDF
Auto-scaling your API: Insights and Tips from the Zalando Team
Zalando Technology
Ā 
PDF
Radical Agility with Autonomous Teams and Microservices in the Cloud
Zalando Technology
Ā 
PDF
ZMON: Monitoring Zalando's Engineering Platform
Zalando Technology
Ā 
PDF
Zalando Tech: From Java to Scala in Less Than Three Months
Zalando Technology
Ā 
PDF
Radical Agility with Autonomous Teams and Microservices
Zalando Technology
Ā 
PDF
Continuous Deployment - Developers Conference Hamburg #dchh
Dirk Hoerig
Ā 
PDF
Micro-Service Architectures in E-Commerce environments with SPHERE.IO / comme...
Dirk Hoerig
Ā 
How We Made our Tech Organization and Architecture Converge Towards Scalability
Zalando Technology
Ā 
Auto-scaling your API: Insights and Tips from the Zalando Team
Zalando Technology
Ā 
Radical Agility with Autonomous Teams and Microservices in the Cloud
Zalando Technology
Ā 
ZMON: Monitoring Zalando's Engineering Platform
Zalando Technology
Ā 
Zalando Tech: From Java to Scala in Less Than Three Months
Zalando Technology
Ā 
Radical Agility with Autonomous Teams and Microservices
Zalando Technology
Ā 
Continuous Deployment - Developers Conference Hamburg #dchh
Dirk Hoerig
Ā 
Micro-Service Architectures in E-Commerce environments with SPHERE.IO / comme...
Dirk Hoerig
Ā 

What's hot (20)

PDF
Flink Forward Berlin 2018: Raj Subramani - "A streaming Quantitative Analytic...
Flink Forward
Ā 
PDF
The Hitchhiker's Guide to Serverless JavaScript
C4Media
Ā 
PDF
Flink Forward Berlin 2018: Ravi Suhag & Sumanth Nakshatrithaya - "Managing Fl...
Flink Forward
Ā 
PPTX
Flink Forward Berlin 2018: Oleksandr Nitavskyi - "Data lossless event time st...
Flink Forward
Ā 
PPTX
Flink Forward Berlin 2018: Timo Walther - "Flink SQL in Action"
Flink Forward
Ā 
PPTX
Flink Forward Berlin 2018: Aljoscha Krettek & Till Rohrmann - Keynote: "A Yea...
Flink Forward
Ā 
PDF
Go for Real Time Streaming Architectures - DotGo 2017
Mickaƫl RƩmond
Ā 
PPTX
APIdays Paris 2018 - Hack your legacy, from mutualism to Open Source! Chris W...
apidays
Ā 
PPTX
APIdays Paris 2018 - Accelerate Innovation & Aircraft Production by using API...
apidays
Ā 
PDF
Flink Forward Berlin 2018: Xiaowei Jiang - Keynote: "Unified Engine for Data ...
Flink Forward
Ā 
PPTX
Identity Summit UK: KEEP TALKING: LESSONS LEARNED DURING OUR MIGRATION FROM L...
ForgeRock
Ā 
PDF
I/O intensiveなKafka Consumerć‚¢ćƒ—ćƒŖć‚±ćƒ¼ć‚·ćƒ§ćƒ³ć®ć‚¹ćƒ«ćƒ¼ćƒ—ćƒƒćƒˆć‚’LINE Ads Platformć§ćÆć©ć®ć‚ˆć†ć«ę”¹å–„ć—ćŸć‹
LINE Corporation
Ā 
PDF
Flink Forward Berlin 2018: Stephan Ewen - Keynote: "Unlocking the next wave o...
Flink Forward
Ā 
PDF
Flink Forward San Francisco 2018: Dave Torok & Sameer Wadkar - "Embedding Fl...
Flink Forward
Ā 
PDF
ģŠ¤ķƒ€ķŠøģ—…ģ„ ģœ„ķ•œ Confluent ģ„øėÆøė‚˜
confluent
Ā 
PDF
Flink Forward Berlin 2018: Krzysztof Zarzycki & Alexey Brodovshuk - "Assistin...
Flink Forward
Ā 
PDF
The Magic of LINE 購物 Testing
LINE Corporation
Ā 
PDF
Hybrid API Management with Kong - Ivan Rylach, Kong Summit, 2020
Ivan Rylach
Ā 
PDF
Flink Forward Berlin 2018: Brian Wolfe - "Upshot: distributed tracing using F...
Flink Forward
Ā 
PPT
How to build high frequency trading with our matlab secrets with c++ and mysql
Bryan Downing
Ā 
Flink Forward Berlin 2018: Raj Subramani - "A streaming Quantitative Analytic...
Flink Forward
Ā 
The Hitchhiker's Guide to Serverless JavaScript
C4Media
Ā 
Flink Forward Berlin 2018: Ravi Suhag & Sumanth Nakshatrithaya - "Managing Fl...
Flink Forward
Ā 
Flink Forward Berlin 2018: Oleksandr Nitavskyi - "Data lossless event time st...
Flink Forward
Ā 
Flink Forward Berlin 2018: Timo Walther - "Flink SQL in Action"
Flink Forward
Ā 
Flink Forward Berlin 2018: Aljoscha Krettek & Till Rohrmann - Keynote: "A Yea...
Flink Forward
Ā 
Go for Real Time Streaming Architectures - DotGo 2017
Mickaƫl RƩmond
Ā 
APIdays Paris 2018 - Hack your legacy, from mutualism to Open Source! Chris W...
apidays
Ā 
APIdays Paris 2018 - Accelerate Innovation & Aircraft Production by using API...
apidays
Ā 
Flink Forward Berlin 2018: Xiaowei Jiang - Keynote: "Unified Engine for Data ...
Flink Forward
Ā 
Identity Summit UK: KEEP TALKING: LESSONS LEARNED DURING OUR MIGRATION FROM L...
ForgeRock
Ā 
I/O intensiveなKafka Consumerć‚¢ćƒ—ćƒŖć‚±ćƒ¼ć‚·ćƒ§ćƒ³ć®ć‚¹ćƒ«ćƒ¼ćƒ—ćƒƒćƒˆć‚’LINE Ads Platformć§ćÆć©ć®ć‚ˆć†ć«ę”¹å–„ć—ćŸć‹
LINE Corporation
Ā 
Flink Forward Berlin 2018: Stephan Ewen - Keynote: "Unlocking the next wave o...
Flink Forward
Ā 
Flink Forward San Francisco 2018: Dave Torok & Sameer Wadkar - "Embedding Fl...
Flink Forward
Ā 
ģŠ¤ķƒ€ķŠøģ—…ģ„ ģœ„ķ•œ Confluent ģ„øėÆøė‚˜
confluent
Ā 
Flink Forward Berlin 2018: Krzysztof Zarzycki & Alexey Brodovshuk - "Assistin...
Flink Forward
Ā 
The Magic of LINE 購物 Testing
LINE Corporation
Ā 
Hybrid API Management with Kong - Ivan Rylach, Kong Summit, 2020
Ivan Rylach
Ā 
Flink Forward Berlin 2018: Brian Wolfe - "Upshot: distributed tracing using F...
Flink Forward
Ā 
How to build high frequency trading with our matlab secrets with c++ and mysql
Bryan Downing
Ā 
Ad

Similar to Powering Radical Agility with Docker (20)

PDF
Amazon Web Services User Group Sydney - March 2018
PolarSeven Pty Ltd
Ā 
PDF
STUPS by Zalando @ AWS User Group Ireland Meet Up September 2015
Henning Jacobs
Ā 
PDF
Atmosphere 2016 - Jan Mussler - ZMON: Zalando's OS approach to monitoring in...
PROIDEA
Ā 
PPTX
AWS re:Invent 2016 : announcement, technical demos and feedbacks
Emmanuel Quentin
Ā 
PDF
C# Client to Cloud
Stuart Lodge
Ā 
PDF
Docker Meetup San Francisco: Radical Agility with Docker & AWS
Volker Pilz
Ā 
PDF
AWS Summit Singapore 2019 | Opening Keynote with Peter DeSantis
AWS Summits
Ā 
PDF
Developer intro to open shift
Ram Maddali
Ā 
PDF
Serverless Streaming Architectures and Algorithms for the Enterprise
Arun Kejariwal
Ā 
PDF
Fast Data – Fast Cars: Wie Apache Kafka die Datenwelt revolutioniert
confluent
Ā 
PDF
C# - Azure, WP7, MonoTouch and Mono for Android (MonoDroid)
Stuart Lodge
Ā 
PPTX
Docker Container As A Service - March 2016
Patrick Chanezon
Ā 
PPTX
Containers as a Service with Docker
Docker, Inc.
Ā 
PPTX
Developer Intro to OpenShift
Tiera Fann, MBA
Ā 
PDF
Top conf serverlezz
Antons Kranga
Ā 
PPTX
ITGM#14 - How do we use Kubernetes in Zalando
Uri Savelchev
Ā 
PDF
AWS Summit - Atlanta
Sandy Carter
Ā 
PDF
Build an app on aws for your first 10 million users (2)
AWS Vietnam Community
Ā 
PDF
Docker Berlin Meetup June 2015: Docker powering Radical Agility @ Zalando Tech
Henning Jacobs
Ā 
PPTX
Amazon Webservices Introduction And Core Modules
Manish Kumar
Ā 
Amazon Web Services User Group Sydney - March 2018
PolarSeven Pty Ltd
Ā 
STUPS by Zalando @ AWS User Group Ireland Meet Up September 2015
Henning Jacobs
Ā 
Atmosphere 2016 - Jan Mussler - ZMON: Zalando's OS approach to monitoring in...
PROIDEA
Ā 
AWS re:Invent 2016 : announcement, technical demos and feedbacks
Emmanuel Quentin
Ā 
C# Client to Cloud
Stuart Lodge
Ā 
Docker Meetup San Francisco: Radical Agility with Docker & AWS
Volker Pilz
Ā 
AWS Summit Singapore 2019 | Opening Keynote with Peter DeSantis
AWS Summits
Ā 
Developer intro to open shift
Ram Maddali
Ā 
Serverless Streaming Architectures and Algorithms for the Enterprise
Arun Kejariwal
Ā 
Fast Data – Fast Cars: Wie Apache Kafka die Datenwelt revolutioniert
confluent
Ā 
C# - Azure, WP7, MonoTouch and Mono for Android (MonoDroid)
Stuart Lodge
Ā 
Docker Container As A Service - March 2016
Patrick Chanezon
Ā 
Containers as a Service with Docker
Docker, Inc.
Ā 
Developer Intro to OpenShift
Tiera Fann, MBA
Ā 
Top conf serverlezz
Antons Kranga
Ā 
ITGM#14 - How do we use Kubernetes in Zalando
Uri Savelchev
Ā 
AWS Summit - Atlanta
Sandy Carter
Ā 
Build an app on aws for your first 10 million users (2)
AWS Vietnam Community
Ā 
Docker Berlin Meetup June 2015: Docker powering Radical Agility @ Zalando Tech
Henning Jacobs
Ā 
Amazon Webservices Introduction And Core Modules
Manish Kumar
Ā 
Ad

More from Zalando Technology (8)

PDF
Stream Processing using Apache Flink in Zalando's World of Microservices - Re...
Zalando Technology
Ā 
PDF
Flink in Zalando's World of Microservices
Zalando Technology
Ā 
PDF
High Availability PostgreSQL with Zalando Patroni
Zalando Technology
Ā 
PDF
Reactive Design Patterns: a talk by Typesafe's Dr. Roland Kuhn
Zalando Technology
Ā 
PDF
Spark + Clojure for Topic Discovery - Zalando Tech Clojure/Conj Talk
Zalando Technology
Ā 
PPTX
Building a Reactive RESTful API with Akka Http & Slick
Zalando Technology
Ā 
PDF
Order Processing at Scale: Zalando at Camunda Community Day
Zalando Technology
Ā 
PPTX
Mobile Testing Challenges at Zalando Tech
Zalando Technology
Ā 
Stream Processing using Apache Flink in Zalando's World of Microservices - Re...
Zalando Technology
Ā 
Flink in Zalando's World of Microservices
Zalando Technology
Ā 
High Availability PostgreSQL with Zalando Patroni
Zalando Technology
Ā 
Reactive Design Patterns: a talk by Typesafe's Dr. Roland Kuhn
Zalando Technology
Ā 
Spark + Clojure for Topic Discovery - Zalando Tech Clojure/Conj Talk
Zalando Technology
Ā 
Building a Reactive RESTful API with Akka Http & Slick
Zalando Technology
Ā 
Order Processing at Scale: Zalando at Camunda Community Day
Zalando Technology
Ā 
Mobile Testing Challenges at Zalando Tech
Zalando Technology
Ā 

Recently uploaded (20)

PDF
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
Ā 
PDF
Software Development Methodologies in 2025
KodekX
Ā 
PDF
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
Ā 
PPTX
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
Ā 
PDF
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
Ā 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
Ā 
PDF
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
Ā 
PPTX
Simple and concise overview about Quantum computing..pptx
mughal641
Ā 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
Ā 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
Ā 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
Ā 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
Ā 
PPTX
The Future of AI & Machine Learning.pptx
pritsen4700
Ā 
PPTX
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
Ā 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
Ā 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
Ā 
PDF
The Future of Artificial Intelligence (AI)
Mukul
Ā 
PDF
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
Ā 
PDF
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
Ā 
PPTX
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
Ā 
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
Ā 
Software Development Methodologies in 2025
KodekX
Ā 
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
Ā 
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
Ā 
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
Ā 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
Ā 
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
Ā 
Simple and concise overview about Quantum computing..pptx
mughal641
Ā 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
Ā 
cloud computing vai.pptx for the project
vaibhavdobariyal79
Ā 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
Ā 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
Ā 
The Future of AI & Machine Learning.pptx
pritsen4700
Ā 
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
Ā 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
Ā 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
Ā 
The Future of Artificial Intelligence (AI)
Mukul
Ā 
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
Ā 
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
Ā 
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
Ā 

Powering Radical Agility with Docker