Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Provisioning from Development to Production, BedCon 2013
Search
Oliver Wehrens
April 08, 2013
Technology
0
2.9k
Provisioning from Development to Production, BedCon 2013
Berlin Expert Days Talk April 2013
Oliver Wehrens
April 08, 2013
Tweet
Share
More Decks by Oliver Wehrens
See All by Oliver Wehrens
Service Discovery For Machines And Humans - OOP conference 2017
owehrens
0
10k
How not to lose your mind with too many microservices - Architecture Gathering 2016
owehrens
3
270
How not to lose your mind with too many microservices - BedCon 2016
owehrens
1
690
Entwicklung verteilter Systeme (The Architecture Gathering 2015)
owehrens
1
110
Entwicklung verteilter Systeme - Herausforderungen nicht nur für die Architektur, BedCon 2015
owehrens
0
2.2k
Wider den Monolith - Am Ende wird alles gut. WJAX 2014.
owehrens
1
3.6k
Getting Faster, Continuous Lifecycle 2013
owehrens
2
5.1k
Other Decks in Technology
See All in Technology
スレットハンティングについて知っておきたいこと
hacket
0
130
Classmethod流のPlatform Engineering / classmethod-platform-engineering-devio2024
tomoki10
0
480
AIアシスタントの活用で品質の向上と開発ワークフローのスピードアップ
nagix
1
210
エンジニアの生存戦略 〜クラウド潮流の経験から紐解く技術トレンドのメカニズムと乗りこなし方〜
shimy
9
1.9k
What is DRE? - Road to SRE NEXT@広島
chanyou0311
3
630
[2024最新版]AWS Control Towerを使ったセキュアなマルチアカウント環境の作り方
hiashisan
0
270
ペパボのオブザーバビリティ研修2024 説明資料
kesompochy
0
1.1k
OSSコミットしてZennの課題を解決した話
dyoshikawa1993
0
150
DevIO2024_レガシー運用からの脱却 -クラウド活用の実践事例とベストプラクティス-
jun2882
0
210
What if...? 처음부터 다시 LLM 어플리케이션을 개발한다면
huffon
0
1k
楽しくGoを学び合う、LayerXの勉強会文化 / LayerX's study culture of having fun and learning Go together
ar_tama
2
350
Classmethod Odyssey 登壇資料
yamahiro
0
390
Featured
See All Featured
Art, The Web, and Tiny UX
lynnandtonic
291
20k
Web development in the modern age
philhawksworth
203
10k
Speed Design
sergeychernyshev
9
270
How STYLIGHT went responsive
nonsquared
93
5k
A Tale of Four Properties
chriscoyier
155
22k
KATA
mclloyd
20
13k
Producing Creativity
orderedlist
PRO
340
39k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
24
1.8k
Building Applications with DynamoDB
mza
89
5.8k
Into the Great Unknown - MozCon
thekraken
20
1.3k
ParisWeb 2013: Learning to Love: Crash Course in Emotional UX Design
dotmariusz
105
6.8k
Scaling GitHub
holman
458
140k
Transcript
PROVISIONING FROM DEVELOPMENT TO PRODUCTION
ANDRE VON DEETZEN @VDANDRE OLIVER WEHRENS @OWEHRENS
@BERLIN
“FASTER TIME TO MARKET”
4-6 MEANTIME BETWEEN DELIVERIES IN WEEKS
150 DEV / QA / OPS
>100 SOURCE REPOSITORIES
1 RELEASE
“FASTER TIME TO MARKET”
3 AREAS TO CHANGE
WORKFLOW DEPLOYMENT ARCHITECTURE
ARCHITECTURE
MANY SMALL SERVICES
STATELESS SERVICES
INDEPENDENT DEPLOYABLE
STABLE INTERFACES
DEPLOYMENT PIPELINE
Stages & Version Stage Version DEV Development Testing Release Candidate
Stable Certified Release
Tests Unit- + Componenttests Component - Integrationtests Smoke- tests DEV
Testing Stable Way to production
YUM Repo Stable YUM Repo Testing YUM Repo DEV YUM
Repo Stable (Rechenzentrum) DataCenter
YUM Repo Stable YUM Repo Testing YUM Repo DEV YUM
Repo Stable (Rechenzentrum) DataCenter
YUM Repo Stable YUM Repo Testing YUM Repo DEV YUM
Repo Stable (Rechenzentrum) DataCenter Contract with Ops
YUM Repo Stable YUM Repo Testing YUM Repo DEV YUM
Repo Stable (Rechenzentrum) DataCenter Contract with Ops
YUM Repo Stable YUM Repo Testing YUM Repo DEV YUM
Repo Stable (Rechenzentrum) DEV-NET DataCenter Same Binary across all stages!
YUM Repo Stable YUM Repo Testing YUM Repo DEV YUM
Repo Stable (Rechenzentrum) DEV-NET DataCenter Same Binary across all stages!
CONFIGURATION MANAGED BY PUPPET
VCS CI Unit Tests
Dev Dev Test with Mocks
Dev Dev Test with Mocks Release Candidate Testing SmokeTests
Dev Dev Test with Mocks QA Release Candidate SmokeTests Certified
Release Prod Certified Release SmokeTests
fully automated Stages Repos Certified Release Prod VCS CI Dev
Release Candidate Certified Release Dev Testing Test with Mocks SmokeTests SmokeTests Unit Tests Pull
PROVISIONING
LIFECYCLE KVM Kickstart & RPM Puppet $$$
DISASTER RECOVERY BUILD IN
BLUE - GREEN DEPLOYMENT
HOW TO TEST LOCALLY?
Developer Operating Systems
None
Everything can be tested locally with vagrant (this means operating
system like in production, configuration management, deployment, building packages, needed network interfaces, ...) http://www.vagrantup.com
WHAT CHANGED IN OUR WORKFLOW?
TEAM IS RESPONSIBLE
EVERY COMMIT GOES TO PRODUCTION
DEPLOY ≠ FEATURE RELEASE
ROLL FORWARD
AUTOMATE ALL THE THINGS
IF IT HURTS DO IT MORE OFTEN (EXCEPT MEETINGS)
TEST SETUP
VISIBILITY
NEXT STEPS
DB DEPLOYMENT
COMPONENT PUPPET WITH HIERA
SAME KICKSTART IN DEV & PROD
FEEDBACK: LIVE DATA IN DEV WITH GRAPHITE
MEASURE, MEASURE, MEASURE
SELF HEALING
LESSONS LEARNED
#1 CLOSE TO PRODUCTION AS EARLY AS POSSIBLE
#2 EVERYTHING CAN BE AUTOMATED
#3 MANAGEMENT BUY IN
#4 SELF-SERVICE INFRASTRUCTURE FOR TEAMS
#5 RESISTANCE WILL RISE
#6 IT’S WORTH THE EFFORT
~ 30 MIN TO CR
#7 FEEDBACK IS NEVER FAST ENOUGH
QUESTIONS