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
Code Driven Infrastructure
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Boris Quiroz
April 18, 2015
Technology
75
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Code Driven Infrastructure
Boris Quiroz
April 18, 2015
More Decks by Boris Quiroz
See All by Boris Quiroz
Secrets management with Vault
boris
0
69
Docker Images Best Practices
boris
0
60
Software Freedom Day 2015
boris
0
50
hola mundo
boris
0
68
DevOps Tools: Chef + Vagrant
boris
0
240
Kitchen.CI
boris
0
120
Introducción a HSTS
boris
0
60
Hands-on Lab
boris
0
83
Tech, Method & Philosophy for the cloud
boris
0
62
Other Decks in Technology
See All in Technology
最適な自走を最小限の支援で — M&Aで拡大する組織で少人数SREが挑んだ1年 / SRE NEXT 2026
genda
0
830
プロダクトだけじゃない、社内プロセスにおける自動化・省力化ノススメ
kakehashi
PRO
1
3.3k
あなたの『Site』はどこですか? — xREという考え方
miyamu
0
570
型は壁、Rustでもバグを直すな、表現できなくせよ
nwiizo
12
1.9k
グローバルチームと挑むプロダクト開発
sansantech
PRO
1
170
AIと共生する開発者プラットフォーム:バクラクのモノレポ×マイクロサービス基盤
sakajunquality
2
3.1k
貴方はどのエンジニアリングを磨くのか
hatyibei
0
110
【Claude Code】鹿野さんに聞く 私の推しの並行開発環境 大公開 / claude-code-parallel-2026-07-15
tonkotsuboy_com
8
3.8k
CSに"SLO"は要らない、経営層に"99.9%"は伝わらない - SREを全社に"翻訳"する3原則
cscengineer
PRO
1
4.2k
Compose 新機能総まとめ / What's New in Jetpack Compose
yanzm
0
160
インフラ寄りSREでも 開発に踏み出せる〜境界を越えてユーザー体験に向き合いたい〜
sansantech
PRO
2
3.3k
SRE本の知られざる名シーン / The Hidden Gems of Google SRE Book
nari_ex
1
310
Featured
See All Featured
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
350
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
210
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
220
How GitHub (no longer) Works
holman
316
150k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
11k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.5k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
3.7k
New Earth Scene 8
popppiees
3
2.4k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
220
GraphQLとの向き合い方2022年版
quramy
50
15k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
410
Transcript
Code Driven Infrastructure
SRE preyproject.com b.zsh.io @cereal_bars Boris Quiroz
Small but global Here are some numbers... 10 90k 4.8M
+150 +6M
¿Por qué? ¿Para qué?
Evolución
Scripts Configuraciones rsync - scp
None
Dev &Ops
Herramientas
Config Management Tool Ruby, Erlang
Chef Server Nodes DevOps
Nodes: boostrap cookbooks chef-client ohai
Cookbooks Unidad fundamental Define el escenario Contiene recetas → git.io/prey_chef
None
Workstations: devops knife chef-repo source control
$ knife bootstrap x.x.x.x -x ubuntu --sudo \ bootstrap-file
Wrapper for virtualization software Ruby
Ambientes reproducibles, de forma fácil y rápida.
“Works on my machine”.
Vagrantfile Tipo Atributos Provisioner
Vagrant Boxes Package de Vagrant. Vagrant 1.5+ → Versioning! vagrantbox.es
vagrantcloud.com
vagrant box add USER/BOX vagrant box add hashicorp/precise64 vagrant box
list vagrant box list ubuntu/precise64 (virtualbox, 12.04.4)
Herramienta de integración Ruby
Test para nuestra infraestructura. → Flujo de trabajo simple. →
Optimiza el código. → Favorece la velocidad del desarrollo.
Config File: → Driver → Provisioner → Platforms → Suites
Driver: Vagrant, Docker, etc. Provisioner: chef_solo, chef_zero Platform: Ubuntu, CentOS,
Debian Suite: Recetas y tests
demo