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
58
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
50
Docker Images Best Practices
boris
0
49
Software Freedom Day 2015
boris
0
39
hola mundo
boris
0
53
DevOps Tools: Chef + Vagrant
boris
0
220
Kitchen.CI
boris
0
110
Introducción a HSTS
boris
0
50
Hands-on Lab
boris
0
68
Tech, Method & Philosophy for the cloud
boris
0
47
Other Decks in Technology
See All in Technology
どうするコスト最適化のトレードオフ
tetsuyaooooo
1
700
require(ESM)とECMAScript仕様
uhyo
4
950
.NET Profiler in 2024.
kkamegawa
2
920
KubeConにproposalを送りたい人へのアドバイス
sat
PRO
3
270
Cracking the KubeCon CfP
inductor
2
270
EMとして2023年度に頑張ったこと / What we did well in FY2023 as a EM
pauli
1
210
自己改善からチームを動かす! 「セルフエンジニアリングマネージャー」のすゝめ
shoota
6
1k
MLOpsの「壁」を乗り越える、LINEヤフーの Data Quality as Code
lycorptech_jp
PRO
8
620
障害対応をちょっとずつよくしていくための 演習の作りかた
heleeen
1
1.6k
チームでロジカルシンキングに改めて向き合っている話 〜学習環境と実践⽅法〜
sansantech
PRO
3
3.2k
Building Dashboards as a Hobby
egmc
0
360
Azureの基本的な権限管理の勉強会
yhana
1
2k
Featured
See All Featured
Infographics Made Easy
chrislema
238
18k
Practical Orchestrator
shlominoach
183
9.7k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
13
8.3k
Stop Working from a Prison Cell
hatefulcrawdad
267
19k
10 Git Anti Patterns You Should be Aware of
lemiorhan
649
58k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
123
39k
What the flash - Photography Introduction
edds
64
11k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
19
6.9k
The Power of CSS Pseudo Elements
geoffreycrofte
61
5k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
228
16k
Building Applications with DynamoDB
mza
88
5.6k
Fireside Chat
paigeccino
22
2.6k
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