continuous deployment – nextdoor.fi released every day at scan-agile 2011
Post on 19-Oct-2014
1.971 views
DESCRIPTION
Scan-Agile 2011 presentation about how Nextdoor.fi is continuously deployed (within 24 hours) to productionTRANSCRIPT
Continuous Deployment
Marko Taipale
3.3.2011
Nextdoor.fi deployed
every day
2. My Context
1. Intro
3. Why & How
4. Lessons learned
Features written for an application are
immediately deployed into production
Transaction cost
Deployment
Release
2. www.nextdoor.fi
Why?
Who?
What?
30 000 visitors / month
8 days lead time
24/7 monitoring
5 integrations
4 years of Continuous Deployment
550+ acceptance tests
>80% test coverage
2 bugs (in 4 years)
0 people in operations
0 testers
0 full-time developers
Production bug fix < 1h
3. Why & How
”We need to wait for end of the sprint!”
– Bazooka Team
”KISS – we do not need to configure that”
”Most time in bug fixing is spent on finding it”
How do we do it?
Process and Environments
New commit
Test Deploy
CIProduction
Test Reports
Performance
test
DevDev
TestDev
Mainline24h
CD
TCs
Build artifacts
DB updateCI
deployment
Unit/Acceptance tests
Performance test
Report
Artifacts Reports
New commit
Test Deploy
Inside ”Test”
New commit
Test Deploy
Inside Deploy
Backup ReportsVersion check
DB migration
SW update
DB
Backup
Biz
reports
Failure
report
Monitoring
Business
Application
Containers & DB
OS & Services
Hardware
Biz reports
Hearbeat.rb
& navigator
Hearbeat.rb
& Monit
Monit &
Nagios
Monit &
Nagios
4. Lessons learned
Continuous Integration
Automated tests and Monitoring (Biz & Tech)
”Discipline is the bridge between goals
and accomplishment”- Jim Rohn
5 steps to get it started
1.Continuous Integration + Automated
acceptance tests + Definition of Ready
2.Stop-the-line
3.Simple Deployment Script
4.Real Time Alerting
5.Root cause analysis
Where to go from here
http://bit.ly/OxJv
http://slidesha.re/d5L9H9
http://bit.ly/eEDL30
http://slidesha.re/sHpYV
http://bit.ly/cZLR9M
I help companies to improve by
showing what I have done
how I have done it and
what I have learned about it.
I am a CTO of a lean startup
Marko Taipale
@markotaipale
huitale.blogspot.com