SlideShare a Scribd company logo
1
Container @ KitchenStories
Trung Phan - Lead Backed Developer
2
Agenda
• About KitchenStories
• Deployment / before (macro Architecture)
• Deployment / now (macro Architecture)
• Learnings
3
About KitchenStories - Facts
• iOS
• Best of 2014, 2015
• iPhone
• iPad
• AppleTV
• Android
• Material Award: 2016
• Most beautiful
• Smartphone
• Tablet
• Chromecast
• Amazon - Alexa
• >2 Mio. Users
• >12 Mio. Installations
• 226 Countries
• Supporting 12 Languages (3 Main)
• 12 API-Versions
4
Backend & Operations Team structure
• Using Docker in production for 1.5 years
• Backend (Python/Django)
• Norman Sanders - FullStack Developer
• Trung Phan - Lead Backend Developer
• 98% time for development + features
• 2% time looking for servers, services, updating tools
• No Operations Team
• Terraform for infrastructure
• fabric for manual/automatic deployment
• Deploy a new Backend-Version worldwide within 6min. includes
steps
• build
• lint
• test (unit-tests, integration-tests, API-Tests)
• coverage (96%)
• Zero-Downtime deployment
5
Deployment before
6
Deployment before
7
Deployment before
5min.
8
Deployment before
Managed-Server
EC2
5min.
9
Deployment before
Managed-Server
EC2
Packe
r
5min.
10
Deployment before
Managed-Server
EC2
Packe
r
5min.
11
Deployment before
Managed-Server
EC2
Packe
r
5min.
45min.
12
Deployment before
Managed-Server
EC2
Packe
r
5min.
45min.
13
Deployment before
Managed-Server
EC2
Packe
r
5min.
45min.
2min.
14
Deployment before
Managed-Server
EC2
Packe
r
5min.
45min.
2min.
15
Deployment before
Managed-Server
EC2
Packe
r
5min.
45min.
2min.
10min.
16
Deployment before
Managed-Server
EC2
Packe
r
5min.
45min.
2min.
ECS
10min.
17
Deployment before
Managed-Server
EC2
Packe
r
5min.
45min.
2min.
ECS
10min.
1min.
18
Deployment before
Managed-Server
EC2
Packe
r
5min.
45min.
2min.
ECS
10min.
0:30min.
1min.
19
Deployment before
Managed-Server
EC2
Packe
r
TTL ~1:03h5min.
45min.
2min.
ECS
10min.
0:30min.
1min.
20
Deployment before
Managed-Server
EC2
Packe
r
TTL ~1:03h5min.
45min.
2min.
ECS
10min.
0:30min.
1min.
21
Deployment before
Managed-Server
EC2
Packe
r
5min.
45min.
2min.
ECS
10min.
0:30min.
1min.
22
Deployment rethink
Managed-Server
EC2
Packe
r
TTL ~1:03h5min.
45min.
2min.
ECS
10min.
0:30min.
1min.
23
Deployment rethink
Managed-Server
EC2
Packe
r
TTL ~1:03h5min.
45min.
2min.
ECS
10min.
0:30min.
1min.
24
Deployment rethink
Managed-Server
EC2
Packe
r
TTL ~1:03h5min.
45min.
2min.
ECS
10min.
0:30min.
1min.
25
Deployment rethink
Managed-Server
EC2
Packe
r
TTL ~1:03h5min.
45min.
2min.
ECS
10min.
0:30min.
1min.
26
Deployment now (live release)
27
Deployment now (live release)
28
Deployment now (live release)
EC
2
29
Deployment now (live release)
EC
2
30
Deployment now (live release)
Runners.
EC
2
31
Deployment now (live release)
Runners.
32
Deployment now (live release)
Web Hook.
Runners.
EC
2
33
Deployment now (live release)
Web Hook.
Runners.
• Build 0:50min.
• Lint 0:04min.
• Test1 4:30min.
• Test2 3:50min.
EC
2
34
Deployment now (live release)
Web Hook.
Runners.
ECR
• Build 0:50min.
• Lint 0:04min.
• Test1 4:30min.
• Test2 3:50min.
• Push Image 0:10min.
EC
2
35
Deployment now (live release)
Web Hook.
Runners.
ECR
• Build 0:50min.
• Lint 0:04min.
• Test1 4:30min.
• Test2 3:50min.
• Push Image 0:10min.
• Coverage combine + coveralls
0:02min.
EC
2
36
Deployment now (live release)
Web Hook.
Runners.
ECR
• Build 0:50min.
• Lint 0:04min.
• Test1 4:30min.
• Test2 3:50min.
• Push Image 0:10min.
• Coverage combine + coveralls
0:02min.
• Cleanup dangling images 0:01m.
EC
2
37
Deployment now (live release)
Web Hook.
Runners.
ECR
fab deploy:1.0.0
• Build 0:50min.
• Lint 0:04min.
• Test1 4:30min.
• Test2 3:50min.
• Push Image 0:10min.
• Coverage combine + coveralls 0:02min.
• Cleanup dangling images 0:01m.
EC
2
38
Deployment now (live release)
Web Hook.
Runners.
ECR
fab deploy:1.0.0
Managed-Server
EC2
• Build 0:50min.
• Lint 0:04min.
• Test1 4:30min.
• Test2 3:50min.
• Push Image 0:10min.
• Coverage combine + coveralls 0:02min.
• Cleanup dangling images 0:01m.
EC
2
39
Deployment now (live release)
Web Hook.
Runners.
ECR
fab deploy:1.0.0
Managed-Server
EC2 ECS
• Build 0:50min.
• Lint 0:04min.
• Test1 4:30min.
• Test2 3:50min.
• Push Image 0:10min.
• Coverage combine + coveralls 0:02min.
• Cleanup dangling images 0:01m.
EC
2
40
Deployment now (live release)
Web Hook.
Runners.
ECR
fab deploy:1.0.0
Managed-Server
EC2 ECS
AWS API
• Build 0:50min.
• Lint 0:04min.
• Test1 4:30min.
• Test2 3:50min.
• Push Image 0:10min.
• Coverage combine + coveralls 0:02min.
• Cleanup dangling images 0:01m.
EC
2
41
Deployment now (live release)
Web Hook.
Runners.
ECR
fab deploy:1.0.0
Managed-Server
EC2 ECS
AWS API
• Build 0:50min.
• Lint 0:04min.
• Test1 4:30min.
• Test2 3:50min.
• Push Image 0:10min.
• Coverage combine + coveralls 0:02min.
• Cleanup dangling images 0:01m.
EC
2
42
Deployment now (live release)
Web Hook.
Runners.
ECR
fab deploy:1.0.0
Managed-Server
EC2 ECS
AWS API • Update tasks 0:30min.
• Deploy CMS / API
• Deploy Background-Workers
• Deploy Background-Scheduler
• Build 0:50min.
• Lint 0:04min.
• Test1 4:30min.
• Test2 3:50min.
• Push Image 0:10min.
• Coverage combine + coveralls 0:02min.
• Cleanup dangling images 0:01m.
EC
2
43
Deployment now (live release)
Web Hook.
Runners.
ECR
fab deploy:1.0.0
Managed-Server
EC2 ECS
AWS API • Update tasks 0:30min.
• Deploy CMS / API
• Deploy Background-Workers
• Deploy Background-Scheduler
TTL ~0:06h
• Build 0:50min.
• Lint 0:04min.
• Test1 4:30min.
• Test2 3:50min.
• Push Image 0:10min.
• Coverage combine + coveralls 0:02min.
• Cleanup dangling images 0:01m.
EC
2
44
Deployment now (dev/beta release)
Web Hook.
Runners.
ECR
ECS
AWS API
• Update tasks 0:30min.
• Deploy CMS / API
• Deploy Background-Workers
• Deploy Background-Scheduler
• Build 0:50min.
• Lint 0:04min.
• Test1 4:30min.
• Test2 3:50min.
• Push Image 0:10min.
• Coverage combine + coveralls 0:02min.
• Deploy
• Cleanup dangling images 0:01m.
new version deployed
EC
2
45
Learnings
• Don’t treat Containers like machines
• Use Docker-build cache to improve build time
• Use small Docker base image like Alpine 4Mb
• Reduce docker-image traffic
46
We’re hiring!
• Senior iOS - Developer (f/m)
• Senior Backend/Web (FullStack) Developer (f/m)
47
THX
„Some potatoes“

More Related Content

PDF
Developing Resilient Cloud Native Apps with Spring Cloud
PPTX
Microservices Platform with Spring Boot, Spring Cloud Config, Spring Cloud Ne...
PPTX
淺談 Redux Thunk
ODP
Developing Microservices using Spring - Beginner's Guide
PDF
Continuous deployment
PDF
Mistral Atlanta design session
PDF
Benchmarking at Parse
PPTX
Automation in Cloud
Developing Resilient Cloud Native Apps with Spring Cloud
Microservices Platform with Spring Boot, Spring Cloud Config, Spring Cloud Ne...
淺談 Redux Thunk
Developing Microservices using Spring - Beginner's Guide
Continuous deployment
Mistral Atlanta design session
Benchmarking at Parse
Automation in Cloud

What's hot (16)

PDF
Mistral OpenStack Meetup Feb 5
PPTX
SaltConf 2015: Salt stack at web scale: Better, Stronger, Faster
PPTX
"Walk in a distributed systems park with Orleans" Евгений Бобров
PDF
SaltConf14 - Anita Kuno, HP & OpenStack - Using SaltStack for event-driven or...
PDF
Puppet Camp London Fall 2015 - Service Discovery and Puppet
PPTX
Containerize all the things!
PPTX
Server Simulator
PDF
PyCon India 2012: Celery Talk
PDF
Cloud Foundry Meetup Tokyo #1 Route service
PDF
Hosting Ruby Web Apps
PPTX
Performance Benchmarking: Tips, Tricks, and Lessons Learned
PPTX
SaltConf2015: SaltStack at Scale Automating Your Automation
PDF
SaltConf14 - Justin Carmony, Deseret Digital Media - Teaching Devs About DevOps
PPTX
Open stack jobs avoiding the axe
PPTX
Kubernetes at NU.nl (Kubernetes meetup 2019-09-05)
PPTX
Ansible Devops North East - slides
Mistral OpenStack Meetup Feb 5
SaltConf 2015: Salt stack at web scale: Better, Stronger, Faster
"Walk in a distributed systems park with Orleans" Евгений Бобров
SaltConf14 - Anita Kuno, HP & OpenStack - Using SaltStack for event-driven or...
Puppet Camp London Fall 2015 - Service Discovery and Puppet
Containerize all the things!
Server Simulator
PyCon India 2012: Celery Talk
Cloud Foundry Meetup Tokyo #1 Route service
Hosting Ruby Web Apps
Performance Benchmarking: Tips, Tricks, and Lessons Learned
SaltConf2015: SaltStack at Scale Automating Your Automation
SaltConf14 - Justin Carmony, Deseret Digital Media - Teaching Devs About DevOps
Open stack jobs avoiding the axe
Kubernetes at NU.nl (Kubernetes meetup 2019-09-05)
Ansible Devops North East - slides
Ad

Similar to Containers @ KitchenStories - DevOps 201704 (20)

PDF
Dynamically scaling a political news and activism hub (up to 5x the traffic i...
PDF
Advanced Topics in Continuous Deployment
PDF
The Good Parts / The Hard Parts
PPTX
Taking Docker to Dance: Continuous Delivery on AWS
PDF
Deployment Tactics
PPTX
Docker Meetup Paris: enterprise Docker
PPTX
AWS Elastic Container Service (ECS) with a CI Pipeline Overview
PDF
Docker in Production: How RightScale Delivers Cloud Applications
PPTX
Continuous Deployment with Amazon Web Services by Carlos Conde
PDF
Dipping Your Toes Into Cloud Native Application Development
ODP
Continuous delivery of Windows micro services in the cloud
PDF
Symfony Live NYC 2014 - Rock Solid Deployment of Symfony Apps
PDF
Top AWS DevOps course in Hyderabad
PPTX
AWS SSA Webinar 12 - Getting started on AWS with Containers
PPTX
SDLC Using Docker for Fun and Profit
PPTX
AWS DevDay Berlin - Automating building blocks choices you will face with con...
PPTX
Lessons Learned Running a Container Cloud on Apache Hadoop YARN
PPTX
Lessons learned running a container cloud on YARN
PDF
ContainerDays Boston 2015: "Continuous Delivery with Containers" (Nick Gauthier)
PDF
SymfonyCon Madrid 2014 - Rock Solid Deployment of Symfony Apps
Dynamically scaling a political news and activism hub (up to 5x the traffic i...
Advanced Topics in Continuous Deployment
The Good Parts / The Hard Parts
Taking Docker to Dance: Continuous Delivery on AWS
Deployment Tactics
Docker Meetup Paris: enterprise Docker
AWS Elastic Container Service (ECS) with a CI Pipeline Overview
Docker in Production: How RightScale Delivers Cloud Applications
Continuous Deployment with Amazon Web Services by Carlos Conde
Dipping Your Toes Into Cloud Native Application Development
Continuous delivery of Windows micro services in the cloud
Symfony Live NYC 2014 - Rock Solid Deployment of Symfony Apps
Top AWS DevOps course in Hyderabad
AWS SSA Webinar 12 - Getting started on AWS with Containers
SDLC Using Docker for Fun and Profit
AWS DevDay Berlin - Automating building blocks choices you will face with con...
Lessons Learned Running a Container Cloud on Apache Hadoop YARN
Lessons learned running a container cloud on YARN
ContainerDays Boston 2015: "Continuous Delivery with Containers" (Nick Gauthier)
SymfonyCon Madrid 2014 - Rock Solid Deployment of Symfony Apps
Ad

Recently uploaded (20)

PDF
Encapsulation theory and applications.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Big Data Technologies - Introduction.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Encapsulation theory and applications.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Review of recent advances in non-invasive hemoglobin estimation
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
NewMind AI Monthly Chronicles - July 2025
Chapter 3 Spatial Domain Image Processing.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Spectral efficient network and resource selection model in 5G networks
Dropbox Q2 2025 Financial Results & Investor Presentation
Advanced methodologies resolving dimensionality complications for autism neur...
Big Data Technologies - Introduction.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Building Integrated photovoltaic BIPV_UPV.pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
“AI and Expert System Decision Support & Business Intelligence Systems”
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Encapsulation_ Review paper, used for researhc scholars
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx

Containers @ KitchenStories - DevOps 201704