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
Protecting sensitive data in DynamoDB with searchable encryption
auxesis
0
14
Your API ain't as secure as you think
auxesis
0
150
Footguns and factorisation: how to make users of your cryptographic library successful
auxesis
0
1.5k
Levelling up database security by thinking in APIs
auxesis
0
140
How to thwart your devops transformation with counterinsurgency doctrine
auxesis
1
93
Microservices are an antipattern
auxesis
0
220
Mirrors, networks, and boundaries
auxesis
0
120
Managing remotely, while remotely managing
auxesis
13
4.6k
Testing Conway’s Law in open source communities
auxesis
6
690
Other Decks in Technology
See All in Technology
Biz職でもDifyでできる! 「触らないAIワークフロー」を実現する方法
igarashikana
3
2.5k
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
3k
Introduction to Sansan Meishi Maker Development Engineer
sansan33
PRO
0
310
[VPoE Global Summit] サービスレベル目標による信頼性への投資最適化
satos
0
220
コンパウンド組織のCRE #cre_meetup
layerx
PRO
1
230
serverless team topology
_kensh
3
180
ソフトウェアエンジニアの生成AI活用と、これから
lycorptech_jp
PRO
0
850
難しいセキュリティ用語をわかりやすくしてみた
yuta3110
0
370
個人でデジタル庁の デザインシステムをVue.jsで 作っている話
nishiharatsubasa
3
4.3k
「REALITY」3Dアバターシステムの7年分の拡張の歴史について
gree_tech
PRO
0
130
Kubernetes self-healing of your workload
hwchiu
0
400
会社を支える Pythonという言語戦略 ~なぜPythonを主要言語にしているのか?~
curekoshimizu
3
600
Featured
See All Featured
How to Think Like a Performance Engineer
csswizardry
27
2.1k
Gamification - CAS2011
davidbonilla
81
5.5k
Embracing the Ebb and Flow
colly
88
4.9k
We Have a Design System, Now What?
morganepeng
53
7.8k
Context Engineering - Making Every Token Count
addyosmani
8
300
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
Art, The Web, and Tiny UX
lynnandtonic
303
21k
The Art of Programming - Codeland 2020
erikaheidi
56
14k
A Modern Web Designer's Workflow
chriscoyier
697
190k
The Straight Up "How To Draw Better" Workshop
denniskardys
238
140k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.7k
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?