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
Patterns for treating infrastructure as code
Search
Andrew Crump
May 09, 2013
Programming
1
290
Patterns for treating infrastructure as code
London Continuous Delivery Meetup - 9th May 2013
Andrew Crump
May 09, 2013
Tweet
Share
More Decks by Andrew Crump
See All by Andrew Crump
Docker and Cloud Foundry
acrmp
0
96
Extending Foodcritic with new rules
acrmp
2
630
Continuous Delivery with Cloud Foundry
acrmp
1
92
Other Decks in Programming
See All in Programming
Remix on Hono on Cloudflare Workers
yusukebe
1
300
CSC509 Lecture 12
javiergs
PRO
0
160
Macとオーディオ再生 2024/11/02
yusukeito
0
370
みんなでプロポーザルを書いてみた
yuriko1211
0
280
subpath importsで始めるモック生活
10tera
0
310
初めてDefinitelyTypedにPRを出した話
syumai
0
420
Laravel や Symfony で手っ取り早く OpenAPI のドキュメントを作成する
azuki
2
120
とにかくAWS GameDay!AWSは世界の共通言語! / Anyway, AWS GameDay! AWS is the world's lingua franca!
seike460
PRO
1
890
C++でシェーダを書く
fadis
6
4.1k
Jakarta EE meets AI
ivargrimstad
0
590
Amazon Qを使ってIaCを触ろう!
maruto
0
410
Better Code Design in PHP
afilina
PRO
0
130
Featured
See All Featured
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
109
49k
The World Runs on Bad Software
bkeepers
PRO
65
11k
Intergalactic Javascript Robots from Outer Space
tanoku
269
27k
Scaling GitHub
holman
458
140k
Code Reviewing Like a Champion
maltzj
520
39k
Building an army of robots
kneath
302
43k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
93
16k
Fashionably flexible responsive web design (full day workshop)
malarkey
405
65k
What's in a price? How to price your products and services
michaelherold
243
12k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Typedesign – Prime Four
hannesfritz
40
2.4k
Keith and Marios Guide to Fast Websites
keithpitt
409
22k
Transcript
Patterns for treating infrastructure as code #londoncd
@acrmp
"Enable the reconstruction of the business from nothing but a
source code repository, an application data backup, and bare metal resources." - John Allspaw and Jesse Robbins, Web Operations
#1 Include infrastructure code in your pipeline
None
Bring your infrastructure and application pipelines together
Application Code Infrastructure Code Base OS
Rebuild when other layers change
#2 Treat individual modules as software projects
None
Separate code repo
Use a tool to manage module dependencies
#3 Avoid making manual changes
None
code -> build -> binary
code -> converge -> node
Reproducible
Metrics
#4 Aggressively chase fast feedback
None
Parallelise
realness -> time ->
Well-formedness check
Static code analysis
Unit Testing
None
Integration Tests
Converge and reconverge
Lightweight Virtualisation
#5 Vendor your dependencies
None
Caching Proxy
Build in a off-network environment
Schedule Builds
Automate population of your artefact repo
#6 Define your complete environment in a declarative manifest
None
Use services that expose an API
Dumb Orchestration
Thanks!