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
ChatOps & Deployment - RubyConf 2015
Search
Jonathan Lima
September 19, 2015
Programming
1
220
ChatOps & Deployment - RubyConf 2015
Palestra sobre ChatOps & Deployment na RubyConf.
Jonathan Lima
September 19, 2015
Tweet
Share
More Decks by Jonathan Lima
See All by Jonathan Lima
ChatOps & Deployment
greenboxal
1
300
Other Decks in Programming
See All in Programming
RustでAWS Lambda functionをいい感じに書く
taiki45
2
150
Ruby on Fails - effective error handling with Rails conventions
talyssonoc
0
300
JS RPCを理解する
yusukebe
5
280
Productivity is Messing Around and Having Fun
hollycummins
1
180
Exploring the Implementation of “t.Run”, “t.Parallel”, and “t.Cleanup”
akarin
1
160
Balkan Ruby 2024 — How and why to run SQLite on Rails in production
fractaledmind
0
110
ソースコードを美しくたもつために ~コードレビューの認知限界を突破し、年間400リリースを達成する~
kotauchisunsun
1
770
TypeScriptとGraphQLで実現する 型安全なAPI実装 / TSKaigi 2024
hokaccha
5
2.8k
TCAとKMPを用いた新規動画配信アプリ 「ABEMA Live」の設計
tomu28
2
140
Findy - エンジニア向け会社紹介 / Findy Letter for Engineers
findyinc
2
74k
Namespace, What and Why
tagomoris
3
690
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
1
130
Featured
See All Featured
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
352
28k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
188
16k
The Pragmatic Product Professional
lauravandoore
26
5.9k
The MySQL Ecosystem @ GitHub 2015
samlambert
244
12k
Building Applications with DynamoDB
mza
88
5.7k
YesSQL, Process and Tooling at Scale
rocio
165
13k
Optimising Largest Contentful Paint
csswizardry
13
2.4k
Facilitating Awesome Meetings
lara
43
5.6k
Building a Scalable Design System with Sketch
lauravandoore
457
32k
The Invisible Side of Design
smashingmag
294
49k
Adopting Sorbet at Scale
ufuk
69
8.6k
Six Lessons from altMBA
skipperchong
22
3k
Transcript
ChatOps & Deployment Melhorando sua vida com um chatbot idiota
Jonathan Lima - Pagar.me -
[email protected]
- @gboxmuchacho
Disclaimer
(Chat)Ops
Slack slack.com
None
Slack • Agrega todas pessoas da sua empresa em um
único local • Unifica as conversas • Histórico • Todos sabem o que está acontecendo
Hubot
Sharon <3 Stone?
Hubot/Sharon • "A customizable, life embetterment robot" • NodeJS •
Slack / HipChat / IRC / Campfire github/hubot
O que isso significa na prática?
sharon lbctl Gerenciamento rápido de load balancers
Muitos outros
sharon log me sharon graph me sharon deploy sharon puppet
Provisioning
Puppet
Puppet • Mantém uma configuração conhecida • Gerencia 5385438 servidores
• PuppetDB • Hasta la vista, SSH! • PCI DSS puppetlabs/puppet
F*cking magnets, how do they work?
ops1 puppetmaster web1 puppetagent web2 puppetagent live-api1 puppetagent HTTPS
$ puppet agent --onetime \ --server puppet.pagarme.net \ --environment production
0 * * * cron
ChatOps
sharon puppet force
None
PuppetDB
Give me all servers with live-es role that belongs to
the production environment
live-es1-prd.aws.pagarme.net live-es2-prd.aws.pagarme.net live-es3-prd.aws.pagarme.net
None
gPanel
gPanel • Inventário • Queries • Controle
$ http gpanel.pagarme.net/servers \ environment==production \ role==web
None
Deployment
Jenkins
Jenkins • Widely used • Confiável • Infinitos plugins
None
JenkinsJanky • Simples • ChatOps! • Esconde(abstrai) as coisas feias
github/janky
None
ChatOps
None
Heaven
Heaven • GitHub Deployments • ChatOps! atmos/heaven
None
sharon deploy pagarme-api 1..2..3.. done!
None
Capistrano • Widely used • Estável • DSL fácil de
usar capistrano/capistrano
BuildEngine • Funciona em cima do Capistrano • Biblioteca de
build steps comuns • Mudanças previsíveis • Build local
None
have a lot of fun™
sharon pug me pugs
sharon pub bomb 5 lotsa pugs
Comunicação Rápida Engajando todos a entrarem no chat
Todos veem tudo acontecendo
Todos veem tudo acontecendo no primeiro dia
Coisas que não perguntei ultimamente
Os testes estão passando? Alguém deployou algo ae? Alguém trocou
a configuração de alguma maquina?
ChatOps & Deployment Melhorando sua vida com um chatbot idiota
Jonathan Lima - Pagar.me -
[email protected]
- @gboxmuchacho
We're hiring
[email protected]