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
DevopsConf 2015
Search
Matias De Carli
November 11, 2015
Technology
0
59
DevopsConf 2015
Devops desde la trinchera
Matias De Carli
November 11, 2015
Tweet
Share
More Decks by Matias De Carli
See All by Matias De Carli
Docker @ MURAL
matiasdecarli
0
69
Other Decks in Technology
See All in Technology
Databricksの生成AI戦略
taka_aki
1
360
テストコードを書きながらCompose Multiplatformを乗りこなす
subroh0508
0
140
Autonomous Database Cloud 技術詳細 / adb-s_technical_detail_jp
oracle4engineer
PRO
15
36k
複雑なビジネスルールに挑む:正確性と効率性を両立するfp-tsのチーム活用術 / Strike a balance between correctness and efficiency with fp-ts
kakehashi
5
3.5k
シンプルなHITL機械学習と様々なタスクにおけるHITL機械学習
naohachi89
0
310
エンジニアゼロの組織から内製開発の DX をどう実現したのか / How did we achieve DX in in-house development in an organization with zero engineers?
genkiogasawara
6
2.9k
#phpconkagawa レガシーコードにもオブザーバビリティを 〜少しずつ始めるサービス監視〜
yamato_sorariku
0
520
能動学習のいろは:書籍「Human-in-the-Loop機械学習」3〜5章
hiroyoshiito
0
290
Real World Type Puzzle and Code Generation
yukukotani
4
630
Oracle Cloud Infrastructureデータベース・クラウド:各バージョンのサポート期間
oracle4engineer
PRO
12
7.9k
Observabilityジャーニーを実現するためのAWSサービス:CloudWatch編
o11yfes2023
0
140
PhpStorm超絶技巧40分集中講義 #phpconkagawa
yusuke
4
720
Featured
See All Featured
How GitHub (no longer) Works
holman
305
140k
Imperfection Machines: The Place of Print at Facebook
scottboms
261
12k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
8
3.5k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
9
1.3k
Into the Great Unknown - MozCon
thekraken
15
1.1k
Clear Off the Table
cherdarchuk
86
310k
VelocityConf: Rendering Performance Case Studies
addyosmani
321
23k
Facilitating Awesome Meetings
lara
43
5.6k
Agile that works and the tools we love
rasmusluckow
325
20k
ParisWeb 2013: Learning to Love: Crash Course in Emotional UX Design
dotmariusz
104
6.7k
Documentation Writing (for coders)
carmenintech
60
4k
A Modern Web Designer's Workflow
chriscoyier
689
190k
Transcript
DevOps desde la trinchera Matías De Carli
• +700.000 registered users • 15k/20k monthly users • +150
countries Product • Node.js app, multiple Clients • MongoDB • Microsoft Azure • Lots of sockets Tech
Code => Github => Jenkins => Azure BEFORE
Problems • Downtime on deploys • Random Downtimes • Latency
• Node on Windows
Requirements • Azure • No DEIS • No MESOS •
Scale Down • Fast & Easy Going • Low Footprint • Zero downtime deploys • FIVE NINes SLA (99.999%) • easy Scaling
None
• Low footprint • No agent needed on host •
Visibility trough Tower • Fast • SSH (Password or Key) • YML
AFTER • 2 Load Balancers (HA) • HAPROXY ON LB
• Internal Network • No routing on hosts • Rolling deployment • Sticky Sessions on LB
Host selection: Web Turning off the old container, creating a
new one Post-tasks: Smoke test the app Pre-Tasks: Removing host from the HAProxy set
Tag deployments on New Relic & Roller Host Selection: LB
& Restart HAProxy Putting back the node on the LB set Host Selection: MGMT
“Measure what is measurable, and make measurable what is not
so.” -Galileo GalileI “You Can’t Improve What You Can’t Measure.” -Agustin Soler
Visibility: Ansible Tower
Monitoring: New Relic (APM)
Monitoring: New Relic (VM)
Papertrail (logs) Rollbar (app errors)
Matías De Carli @matiasdecarli www.matiasdecarli.com