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
61
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
51
Docker Images Best Practices
boris
0
51
Software Freedom Day 2015
boris
0
39
hola mundo
boris
0
58
DevOps Tools: Chef + Vagrant
boris
0
220
Kitchen.CI
boris
0
110
Introducción a HSTS
boris
0
51
Hands-on Lab
boris
0
74
Tech, Method & Philosophy for the cloud
boris
0
49
Other Decks in Technology
See All in Technology
OS 標準のデザインシステムを超えて - より柔軟な Flutter テーマ管理 | FlutterKaigi 2024
ronnnnn
1
300
Storybook との上手な向き合い方を考える
re_taro
5
1.4k
The Rise of LLMOps
asei
9
1.8k
20241120_JAWS_東京_ランチタイムLT#17_AWS認定全冠の先へ
tsumita
2
310
OCI Security サービス 概要
oracle4engineer
PRO
0
6.5k
【LT】ソフトウェア産業は進化しているのか? #Agilejapan
takabow
0
110
Lambda10周年!Lambdaは何をもたらしたか
smt7174
2
130
アジャイルでの品質の進化 Agile in Motion vol.1/20241118 Hiroyuki Sato
shift_evolve
0
190
【Pycon mini 東海 2024】Google Colaboratoryで試すVLM
kazuhitotakahashi
2
570
100 名超が参加した日経グループ横断の競技型 AWS 学習イベント「Nikkei Group AWS GameDay」の紹介/mediajaws202411
nikkei_engineer_recruiting
1
170
CDCL による厳密解法を採用した MILP ソルバー
imai448
3
190
TanStack Routerに移行するのかい しないのかい、どっちなんだい! / Are you going to migrate to TanStack Router or not? Which one is it?
kaminashi
0
620
Featured
See All Featured
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
44
2.2k
Git: the NoSQL Database
bkeepers
PRO
427
64k
Designing for Performance
lara
604
68k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.4k
Optimizing for Happiness
mojombo
376
70k
Happy Clients
brianwarren
98
6.7k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
For a Future-Friendly Web
brad_frost
175
9.4k
It's Worth the Effort
3n
183
27k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
900
Optimising Largest Contentful Paint
csswizardry
33
2.9k
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