SlideShare a Scribd company logo
CONTINUOUS
DEPLOYMENT
Lars Kluge, Hacker.
Previously CTO and Cofounder of Kitchensurfing.
DEFINITION
Continuous Deployment is the automated
process of shipping your product to
production, with every push to master.
MOTIVATION
Earlier feedback for your business: get features in front of
users as early as possible
Faster development: develop, push, next feature
Fewer merge conflicts
Lower the risk of deployments
Motivation for everyone involved: changes can be done
immediately--no wait for the next scheduled release
THE BIG PICTURE
Webinar: Continuous Deployment with MongoDB at Kitchensurfing
WHO IS USING IT?
Facebook, Etsy, Quora, Linkedin, …
IS IT PRACTICAL FOR SMALLER STARTUPS?
YES.
We use it and love it at Kitchensurfing.
OUR STACK
Ruby on Rails, MongoDB, Heroku, …
OUR WORKFLOW
1. Pick up a ticket in Pivotal Tracker
2. Code
3. Commit with reference to ticket id
4. Pull Request on Github
5. Code Review
6. Multiple Staging Environments if manual check necessary
7. CI: Codeship runs test suite for pull request
8. Merge into master
9. Github notifies Pivotal Tracker that ticket is merged
10. CI runs again
11. On successful build, Codeship deploys to Heroku
12. Release Notes Email sent by Heroku
OUR LEARNINGS
MONGODB HELPS.
NO SCHEMA.
ETSY
source
WITH MONGODB:
While (re)inventing your product,
no* schema migration necessary.
YOUNG PRODUCT = A LOT SCHEMA CHANGES
TRUST YOUR TEST SUITE
RELEASE BIG PRODUCTS IN SMALL PIECES
USE FEATURE FLAGS
Show new features only to your beta user group
Avoid the 'big bang' release
OBSERVE PRODUCTION AFTER DEPLOY
Not only exception tracking
How are business #s changing?
Cloud behavior
MMS Monitoring for MongoDB
New Relic
BEHAVIOR CHANGE
Is your team ready to make the behavior change?
The whole team needs to support it.
Introduce Continuous Deployment as early as possible; it's
getting harder down the road.
PRODUCT TEAM
How to break down features into small, easy to release
pieces? What is the order of operation?
COMMUNICATION
Keep your team in the loop
Release Notes Email
What is online, what's not?
Ticket finished, does it mean it's online?
RUNTIME OF TEST SUITE
> 15 Min. tricky
Context Switch is expensive for Engineers
HEROKU PREBOOT
$ heroku labs:enable -a myapp preboot
FUTURE PLANS
Better Release Notes Email based on finished stories in
Tracker
Statistics in Pull Request to understand the change based
on compiled JS, CSS size, test suite build time, # of database
queries, etc.
Engineering Dashboard: See how a deploy changes business
#s
THANK YOU.
larskluge.com
@aekym

More Related Content

What's hot (8)

PDF
Implementing Infrastructure as Code ConfigMgtCamp 2017
Kief Morris
 
PPT
Jenkins Overview
Ahmed M. Gomaa
 
PPTX
Power of Azure Devops
Azure Riyadh User Group
 
PDF
Anatomy of a Continuous Integration and Delivery (CICD) Pipeline
Robert McDermott
 
PDF
Event driven infrastructure
Shiva Narayanaswamy
 
PDF
Jenkins-CI
Gong Haibing
 
PDF
Serverless Delivery
Casey Lee
 
PDF
Jenkins Reviewbot
Yardena Meymann
 
Implementing Infrastructure as Code ConfigMgtCamp 2017
Kief Morris
 
Jenkins Overview
Ahmed M. Gomaa
 
Power of Azure Devops
Azure Riyadh User Group
 
Anatomy of a Continuous Integration and Delivery (CICD) Pipeline
Robert McDermott
 
Event driven infrastructure
Shiva Narayanaswamy
 
Jenkins-CI
Gong Haibing
 
Serverless Delivery
Casey Lee
 
Jenkins Reviewbot
Yardena Meymann
 

Viewers also liked (9)

PDF
Becoming Friends with Cassandra
DataStax
 
PPTX
Continuous Deployment with Cassandra
DataStax Academy
 
PDF
Scaling Crashlytics: Building Analytics on Redis 2.6
Crashlytics
 
PDF
Large Scale Data Analytics with Spark and Cassandra on the DSE Platform
DataStax Academy
 
PPTX
Managing (Schema) Migrations in Cassandra
DataStax Academy
 
PPTX
Hierarchy of Skills
Igor Kokcharov
 
PPT
CI and CD with Jenkins
Martin Málek
 
PDF
An Introduction to Python Concurrency
David Beazley (Dabeaz LLC)
 
PDF
Cassandra NoSQL Tutorial
Michelle Darling
 
Becoming Friends with Cassandra
DataStax
 
Continuous Deployment with Cassandra
DataStax Academy
 
Scaling Crashlytics: Building Analytics on Redis 2.6
Crashlytics
 
Large Scale Data Analytics with Spark and Cassandra on the DSE Platform
DataStax Academy
 
Managing (Schema) Migrations in Cassandra
DataStax Academy
 
Hierarchy of Skills
Igor Kokcharov
 
CI and CD with Jenkins
Martin Málek
 
An Introduction to Python Concurrency
David Beazley (Dabeaz LLC)
 
Cassandra NoSQL Tutorial
Michelle Darling
 
Ad

Similar to Webinar: Continuous Deployment with MongoDB at Kitchensurfing (20)

PDF
Continuous Deployment at Kitchensurfing
Lars Kluge
 
PDF
Demystifying GitHub Actions - Harnessing the power of automation to streamlin...
VictorSzoltysek
 
PDF
Yatoto-technical
Ivailo Bardarov
 
PDF
Effective Kubernetes - Is Kubernetes the new Linux? Is the new Application Se...
Wojciech Barczyński
 
PDF
Scaling Up Lookout
Lookout
 
PPTX
DevOps Days Toronto: From 6 Months Waterfall to 1 hour Code Deploys
Andreas Grabner
 
PDF
Api gitlab: configurazione dei progetti as a service
Emerasoft, solutions to collaborate
 
PDF
Pete Marshall - casmadrid2015 - Continuous Delivery in Legacy Environments
Peter Marshall
 
PDF
Luiz Fernando Testa Contador - Aplicando DevOps em grandes corporações
Agile Trends
 
PPTX
WinOps Conf 2016 - Matteo Emili - Development and QA Dilemmas in DevOps
WinOps Conf
 
PDF
DevOps & DevEx
Ifunga Ndana
 
PDF
Product! - The road to production deployment
Filippo Zanella
 
PPTX
30 days or less: New Features to Production
Karthik Gaekwad
 
PPT
Continues Deployment - Tech Talk week
rantav
 
PDF
Continuous delivery the french way Agile Cambridge 2014
Dimitri Baeli
 
PPTX
DevOps - Understanding Core Concepts
Nitin Bhide
 
PDF
DevOps for the Discouraged
James Wickett
 
PDF
MeetingPoint 2015 - Swimming upstream in the container revolution
Bert Jan Schrijver
 
PDF
DevOps Continuous Integration & Delivery - A Whitepaper by RapidValue
RapidValue
 
PDF
CICD_BestPractices.pdf
motupalli2
 
Continuous Deployment at Kitchensurfing
Lars Kluge
 
Demystifying GitHub Actions - Harnessing the power of automation to streamlin...
VictorSzoltysek
 
Yatoto-technical
Ivailo Bardarov
 
Effective Kubernetes - Is Kubernetes the new Linux? Is the new Application Se...
Wojciech Barczyński
 
Scaling Up Lookout
Lookout
 
DevOps Days Toronto: From 6 Months Waterfall to 1 hour Code Deploys
Andreas Grabner
 
Api gitlab: configurazione dei progetti as a service
Emerasoft, solutions to collaborate
 
Pete Marshall - casmadrid2015 - Continuous Delivery in Legacy Environments
Peter Marshall
 
Luiz Fernando Testa Contador - Aplicando DevOps em grandes corporações
Agile Trends
 
WinOps Conf 2016 - Matteo Emili - Development and QA Dilemmas in DevOps
WinOps Conf
 
DevOps & DevEx
Ifunga Ndana
 
Product! - The road to production deployment
Filippo Zanella
 
30 days or less: New Features to Production
Karthik Gaekwad
 
Continues Deployment - Tech Talk week
rantav
 
Continuous delivery the french way Agile Cambridge 2014
Dimitri Baeli
 
DevOps - Understanding Core Concepts
Nitin Bhide
 
DevOps for the Discouraged
James Wickett
 
MeetingPoint 2015 - Swimming upstream in the container revolution
Bert Jan Schrijver
 
DevOps Continuous Integration & Delivery - A Whitepaper by RapidValue
RapidValue
 
CICD_BestPractices.pdf
motupalli2
 
Ad

More from MongoDB (20)

PDF
MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
MongoDB
 
PDF
MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!
MongoDB
 
PDF
MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...
MongoDB
 
PDF
MongoDB SoCal 2020: A Complete Methodology of Data Modeling for MongoDB
MongoDB
 
PDF
MongoDB SoCal 2020: From Pharmacist to Analyst: Leveraging MongoDB for Real-T...
MongoDB
 
PDF
MongoDB SoCal 2020: Best Practices for Working with IoT and Time-series Data
MongoDB
 
PDF
MongoDB SoCal 2020: MongoDB Atlas Jump Start
MongoDB
 
PDF
MongoDB .local San Francisco 2020: Powering the new age data demands [Infosys]
MongoDB
 
PDF
MongoDB .local San Francisco 2020: Using Client Side Encryption in MongoDB 4.2
MongoDB
 
PDF
MongoDB .local San Francisco 2020: Using MongoDB Services in Kubernetes: any ...
MongoDB
 
PDF
MongoDB .local San Francisco 2020: Go on a Data Safari with MongoDB Charts!
MongoDB
 
PDF
MongoDB .local San Francisco 2020: From SQL to NoSQL -- Changing Your Mindset
MongoDB
 
PDF
MongoDB .local San Francisco 2020: MongoDB Atlas Jumpstart
MongoDB
 
PDF
MongoDB .local San Francisco 2020: Tips and Tricks++ for Querying and Indexin...
MongoDB
 
PDF
MongoDB .local San Francisco 2020: Aggregation Pipeline Power++
MongoDB
 
PDF
MongoDB .local San Francisco 2020: A Complete Methodology of Data Modeling fo...
MongoDB
 
PDF
MongoDB .local San Francisco 2020: MongoDB Atlas Data Lake Technical Deep Dive
MongoDB
 
PDF
MongoDB .local San Francisco 2020: Developing Alexa Skills with MongoDB & Golang
MongoDB
 
PDF
MongoDB .local Paris 2020: Realm : l'ingrédient secret pour de meilleures app...
MongoDB
 
PDF
MongoDB .local Paris 2020: Upply @MongoDB : Upply : Quand le Machine Learning...
MongoDB
 
MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
MongoDB
 
MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!
MongoDB
 
MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...
MongoDB
 
MongoDB SoCal 2020: A Complete Methodology of Data Modeling for MongoDB
MongoDB
 
MongoDB SoCal 2020: From Pharmacist to Analyst: Leveraging MongoDB for Real-T...
MongoDB
 
MongoDB SoCal 2020: Best Practices for Working with IoT and Time-series Data
MongoDB
 
MongoDB SoCal 2020: MongoDB Atlas Jump Start
MongoDB
 
MongoDB .local San Francisco 2020: Powering the new age data demands [Infosys]
MongoDB
 
MongoDB .local San Francisco 2020: Using Client Side Encryption in MongoDB 4.2
MongoDB
 
MongoDB .local San Francisco 2020: Using MongoDB Services in Kubernetes: any ...
MongoDB
 
MongoDB .local San Francisco 2020: Go on a Data Safari with MongoDB Charts!
MongoDB
 
MongoDB .local San Francisco 2020: From SQL to NoSQL -- Changing Your Mindset
MongoDB
 
MongoDB .local San Francisco 2020: MongoDB Atlas Jumpstart
MongoDB
 
MongoDB .local San Francisco 2020: Tips and Tricks++ for Querying and Indexin...
MongoDB
 
MongoDB .local San Francisco 2020: Aggregation Pipeline Power++
MongoDB
 
MongoDB .local San Francisco 2020: A Complete Methodology of Data Modeling fo...
MongoDB
 
MongoDB .local San Francisco 2020: MongoDB Atlas Data Lake Technical Deep Dive
MongoDB
 
MongoDB .local San Francisco 2020: Developing Alexa Skills with MongoDB & Golang
MongoDB
 
MongoDB .local Paris 2020: Realm : l'ingrédient secret pour de meilleures app...
MongoDB
 
MongoDB .local Paris 2020: Upply @MongoDB : Upply : Quand le Machine Learning...
MongoDB
 

Recently uploaded (20)

PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PDF
AI Agents in the Cloud: The Rise of Agentic Cloud Architecture
Lilly Gracia
 
PDF
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
PDF
ICONIQ State of AI Report 2025 - The Builder's Playbook
Razin Mustafiz
 
PDF
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
PPTX
Digital Circuits, important subject in CS
contactparinay1
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PPTX
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PPTX
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PDF
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
PPTX
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
PDF
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
AI Agents in the Cloud: The Rise of Agentic Cloud Architecture
Lilly Gracia
 
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
ICONIQ State of AI Report 2025 - The Builder's Playbook
Razin Mustafiz
 
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
Digital Circuits, important subject in CS
contactparinay1
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 

Webinar: Continuous Deployment with MongoDB at Kitchensurfing