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
67
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
58
Docker Images Best Practices
boris
0
56
Software Freedom Day 2015
boris
0
45
hola mundo
boris
0
63
DevOps Tools: Chef + Vagrant
boris
0
230
Kitchen.CI
boris
0
120
Introducción a HSTS
boris
0
53
Hands-on Lab
boris
0
78
Tech, Method & Philosophy for the cloud
boris
0
53
Other Decks in Technology
See All in Technology
20250818_KGX・One Hokkaidoコラボイベント
tohgeyukihiro
0
120
datadog-distribution-of-opentelemetry-collector-intro
tetsuya28
0
170
Delegate authentication and a lot more to Keycloak with OpenID Connect
ahus1
0
240
広島発!スタートアップ開発の裏側
tsankyo
0
110
AIに頼りすぎない新人育成術
cuebic9bic
3
340
o11yツールを乗り換えた話
tak0x00
2
1.7k
R-SCoRe: Revisiting Scene Coordinate Regression for Robust Large-Scale Visual Localization
takmin
0
190
自治体職員がガバクラの AWS 閉域ネットワークを理解するのにやって良かった個人検証環境
takeda_h
2
350
Jamf Connect ZTNAとMDMで実現! 金融ベンチャーにおける「デバイストラスト」実例と軌跡 / Kyash Device Trust
rela1470
1
210
Autonomous Database Serverless 技術詳細 / adb-s_technical_detail_jp
oracle4engineer
PRO
18
52k
コミュニティと計画的偶発性理論 - 出会いが人生を変える / Life-Changing Encounters
soudai
PRO
7
1k
生成AIによるデータサイエンスの変革
taka_aki
0
3.1k
Featured
See All Featured
The Language of Interfaces
destraynor
160
25k
4 Signs Your Business is Dying
shpigford
184
22k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
We Have a Design System, Now What?
morganepeng
53
7.7k
Building Applications with DynamoDB
mza
96
6.6k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.4k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Optimizing for Happiness
mojombo
379
70k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.5k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
33
2.4k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.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