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
3 surprises when Continuously Deploying infrast...
Search
Lindsay Holmwood
April 16, 2015
Technology
0
120
3 surprises when Continuously Deploying infrastructure
Lindsay Holmwood
April 16, 2015
Tweet
Share
More Decks by Lindsay Holmwood
See All by Lindsay Holmwood
Your API ain't as secure as you think
auxesis
0
130
Footguns and factorisation: how to make users of your cryptographic library successful
auxesis
0
1.4k
Levelling up database security by thinking in APIs
auxesis
0
130
How to thwart your devops transformation with counterinsurgency doctrine
auxesis
1
79
Microservices are an antipattern
auxesis
0
200
Mirrors, networks, and boundaries
auxesis
0
110
Managing remotely, while remotely managing
auxesis
13
4.4k
Testing Conway’s Law in open source communities
auxesis
6
610
Building and scaling effective distributed teams
auxesis
4
220
Other Decks in Technology
See All in Technology
なぜ「Event Sourcing」を選択したのか〜事実に基づくことの重要性〜/Why did we choose "Event Sourcing"?
bitkey
1
230
Go Modulesの仕組み Bundler(Ruby)との比較を添えて
daisuketakeda
0
1.8k
テクスチャ画像付きのメッシュモデルを3次元点群へ変換する
kentaitakura
1
390
Streamlitの細かい話
nishikawadaisuke
7
780
TechBullエンジニアコミュニティの取り組みについて
rvirus0817
0
500
“常に進化する”開発現場へ! SHIFTが語るアジャイルQAの未来/20250306 Yuma Murase
shift_evolve
0
190
AI_Agent_の作り方_近藤憲児
kenjikondobai
19
5k
株式会社Awarefy(アウェアファイ)会社説明資料 / Awarefy-Company-Deck
awarefy
3
12k
Oracle Cloud Infrastructure IaaS 新機能アップデート 2024/12 - 2025/02
oracle4engineer
PRO
0
160
やっぱり余白が大切だった話
kakehashi
PRO
7
1.9k
プロダクトの一番の理解者を目指してQAが取り組んでいること 〜現場・マネジメント各視点のプラクティス〜
hacomono
PRO
0
100
貧民的プログラミングのすすめ
kakehashi
PRO
2
380
Featured
See All Featured
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
The Cost Of JavaScript in 2023
addyosmani
48
7.5k
How GitHub (no longer) Works
holman
314
140k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
12k
Why Our Code Smells
bkeepers
PRO
336
57k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
11
1.4k
Code Review Best Practice
trishagee
67
18k
YesSQL, Process and Tooling at Scale
rocio
172
14k
A better future with KSS
kneath
238
17k
Automating Front-end Workflow
addyosmani
1369
200k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
14
1k
How to Ace a Technical Interview
jacobian
276
23k
Transcript
3 surprises when Continuously Deploying infrastructure
What is Continuously Deployed infrastructure?
code change CI running infrastructure
Fast feedback is key
Get iteration time down
< 5 minutes
Track cycle time (min, max, median, 95e)
Get CI close to the action
Eliminate latency
Chunk your changes
Change one, Test one
Make it work Make it right Make it fast
Make it work Make it fast Make it right
1. Validate idea 2. Pay off technical debt
Consider eliminating gates
idea production
Staging slows feedback
1. Extra tasks every change 2. Less changes pushed into
production 3. Lingering state 4. Higher costs
BUT it can provide high quality feedback
1. Your changes must apply faster 2. 80% coverage is
good enough
Don’t start with a staging environment
Find other ways to detect errors
Think fast and slow
Fast tests
Smoke tests
< 10 seconds
Change one, Test one
1. Change app 2. Change DB 3. Change proxy 4.
Test app 5. Test DB 6. Test proxy 4. Test app 5. Test DB 6. Test proxy
1. Change app 2. Test app 3. Change DB 4.
Test DB 5. Change proxy 6. Test proxy fail early 1. Change app 2. Test app 3. Change DB 4. Test DB 5. Change proxy 6. Test proxy
Make feedback visual
None
Slow tests
Full stack Integration tests
Things you should test
Flow of data
Example: - Change DNS record - Check record after TTL
Simulated client interactions
Example (AP): - Write data to store - Query each
node has data within n seconds
Hook into monitoring
Example: - CI runs slow tests - Monitoring queries CI
Ship monitoring with code
Expose discoverable endpoints
Biggest surprise?
Actually possible
Push all changes through CI
More visibility
Faster to change Faster to fix
Thank you! Questions?