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
Google Cloud の AI を支える裏側のインフラを垣間見る!
maroon1st
0
210
Janus
bkuhlmann
1
490
[2024年3月版] Databricksのシステムアーキテクチャ
databricksjapan
8
1.9k
エンタープライズ環境下での Active Directory の運用 TIPS
tamaiyutaro
1
1.6k
長期間TiDBを使ってきた話 @ 私たちはなぜNewSQLを使うのかTiDB選定5社が語る選定理由と活用LT / Experiences with TiDB Over Time
chibiegg
2
730
SPI原点回帰論:事業課題とFour Keysの結節点を見出す実践的ソフトウェアプロセス改善 / DevOpsDays Tokyo 2024
visional_engineering_and_design
4
1.6k
Tableau事例紹介 / Tableau Case Study of Eureka
kazuya_araki_tokyo
1
170
レガシーをぶっ壊せ。AEONで始めるDevRelの話 / Qiita Night 2024-2-22
aeonpeople
3
150
オーナーシップを持つ領域を明確にする
konifar
12
2.7k
〜小さく始めて大きく育てる〜データ分析基盤の開発から活用まで
kniino
0
2k
Aurora MySQL v3(MySQL8.0互換)の オンラインDDLの罠挙動を全バージョンで検証した
yutakikai
1
150
Vertex AI を中心に 生成AIのアップデートを共有します
kaz1437
0
150
Featured
See All Featured
Building a Scalable Design System with Sketch
lauravandoore
455
32k
Designing with Data
zakiwarfel
95
4.8k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
18
6.9k
Why You Should Never Use an ORM
jnunemaker
PRO
50
8.6k
Build The Right Thing And Hit Your Dates
maggiecrowley
23
2k
Large-scale JavaScript Application Architecture
addyosmani
503
110k
Embracing the Ebb and Flow
colly
79
4.1k
Raft: Consensus for Rubyists
vanstee
132
6.2k
GraphQLの誤解/rethinking-graphql
sonatard
50
9.2k
A Modern Web Designer's Workflow
chriscoyier
688
190k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
1
3.4k
Gamification - CAS2011
davidbonilla
76
4.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