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
97
Extending Foodcritic with new rules
acrmp
2
640
Continuous Delivery with Cloud Foundry
acrmp
1
95
Other Decks in Programming
See All in Programming
From the Wild into the Clouds - Laravel Meetup Talk
neverything
0
180
Domain-Driven Design (Tutorial)
hschwentner
13
22k
オレを救った Cline を紹介する
codehex
13
13k
複数のAWSアカウントから横断で 利用する Lambda Authorizer の作り方
tc3jp
0
120
Learning Kotlin with detekt
inouehi
1
190
Rubyと自由とAIと
yotii23
6
1.9k
ML.NETで始める機械学習
ymd65536
0
240
機能が複雑化しても 頼りになる FactoryBotの話
tamikof
1
230
React 19アップデートのために必要なこと
uhyo
8
1.6k
Webフレームワークとともに利用するWeb components / JSConf.jp おかわり
spring_raining
1
130
CDKを使ったPagerDuty連携インフラのテンプレート化
shibuya_shogo
0
120
新宿駅構内を三人称視点で探索してみる
satoshi7190
2
120
Featured
See All Featured
Faster Mobile Websites
deanohume
306
31k
Facilitating Awesome Meetings
lara
53
6.3k
Practical Orchestrator
shlominoach
186
10k
StorybookのUI Testing Handbookを読んだ
zakiyama
28
5.5k
Docker and Python
trallard
44
3.3k
Build The Right Thing And Hit Your Dates
maggiecrowley
34
2.5k
Rebuilding a faster, lazier Slack
samanthasiow
80
8.9k
Typedesign – Prime Four
hannesfritz
41
2.5k
Designing for humans not robots
tammielis
250
25k
Music & Morning Musume
bryan
46
6.4k
Agile that works and the tools we love
rasmusluckow
328
21k
A Modern Web Designer's Workflow
chriscoyier
693
190k
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!