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
Boris Quiroz
April 18, 2015
Technology
0
65
Code Driven Infrastructure
Boris Quiroz
April 18, 2015
Tweet
Share
More Decks by Boris Quiroz
See All by Boris Quiroz
Secrets management with Vault
boris
0
56
Docker Images Best Practices
boris
0
52
Software Freedom Day 2015
boris
0
42
hola mundo
boris
0
61
DevOps Tools: Chef + Vagrant
boris
0
230
Kitchen.CI
boris
0
120
Introducción a HSTS
boris
0
52
Hands-on Lab
boris
0
76
Tech, Method & Philosophy for the cloud
boris
0
50
Other Decks in Technology
See All in Technology
モンテカルロ木探索のパフォーマンスを予測する Kaggleコンペ解説 〜生成AIによる未知のゲーム生成〜
rist
4
1.2k
「ラベルにとらわれない」エンジニアでいること/Be an engineer beyond labels
kaonavi
0
220
出前館を支えるJavaとKotlin
demaecan
0
110
PostgreSQL Unconference #52 pg_tde
nori_shinoda
1
250
小さく始めるDevOps 内製化支援から見えたDevOpsの始め方 / 20250317 Ken Takayanagi
shift_evolve
1
120
DevOps文化を育むQA 〜カルチャーバブルを生み出す戦略〜 / 20250317 Atsushi Funahashi
shift_evolve
1
120
AIエージェントの地上戦 〜開発計画と運用実践 / 2025/04/08 Findy W&Bミートアップ #19
smiyawaki0820
17
3.7k
Tirez profit de Messenger pour améliorer votre architecture
tucksaun
1
180
30 代子育て SRE が考える SRE ナレッジマネジメントの現在と将来
kworkdev
PRO
0
170
MCP Documentation Server @AI Coding Meetup #1
yyoshiki41
1
690
大規模プロジェクトにおける 品質管理の要点と実践 / 20250327 Suguru Ishii
shift_evolve
0
310
SpannerとAurora DSQLの同時実行制御の違いに想いを馳せる
masakikato5
0
580
Featured
See All Featured
It's Worth the Effort
3n
184
28k
Typedesign – Prime Four
hannesfritz
41
2.6k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
Fireside Chat
paigeccino
37
3.4k
Optimising Largest Contentful Paint
csswizardry
35
3.2k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
2.1k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
227
22k
Why Our Code Smells
bkeepers
PRO
336
57k
4 Signs Your Business is Dying
shpigford
183
22k
Adopting Sorbet at Scale
ufuk
75
9.3k
Stop Working from a Prison Cell
hatefulcrawdad
268
20k
Agile that works and the tools we love
rasmusluckow
328
21k
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