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
The 6 month Yak Shave
Search
Alan Harper
June 05, 2012
Technology
1
190
The 6 month Yak Shave
Alan Harper
June 05, 2012
Tweet
Share
Other Decks in Technology
See All in Technology
KnowledgeBaseDocuments APIでベクトルインデックス管理を自動化する
iidaxs
1
240
re:Invent 2024 Innovation Talks(NET201)で語られた大切なこと
shotashiratori
0
290
コンテナセキュリティのためのLandlock入門
nullpo_head
2
310
Kubeshark で Kubernetes の Traffic を眺めてみよう/Let's Look at k8s Traffic with Kubeshark
kota2and3kan
3
370
kargoの魅力について伝える
magisystem0408
0
190
GitHub Copilot のテクニック集/GitHub Copilot Techniques
rayuron
21
10k
アップデート紹介:AWS Data Transfer Terminal
stknohg
PRO
0
170
Amazon VPC Lattice 最新アップデート紹介 - PrivateLink も似たようなアップデートあったけど違いとは
bigmuramura
0
190
Wantedly での Datadog 活用事例
bgpat
1
330
フロントエンド設計にモブ設計を導入してみた / 20241212_cloudsign_TechFrontMeetup
bengo4com
0
1.9k
レンジャーシステムズ | 会社紹介(採用ピッチ)
rssytems
0
140
[Ruby] Develop a Morse Code Learning Gem & Beep from Strings
oguressive
1
150
Featured
See All Featured
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
26
1.9k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
28
2.1k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
29
2k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
Docker and Python
trallard
41
3.1k
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.4k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
48
2.2k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
28
900
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
17
2.2k
Documentation Writing (for coders)
carmenintech
66
4.5k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
Transcript
The 6 month yak shave http://www.flickr.com/photos/lokar/3958675730/
We are a CMS app
And manage digital signage
First commit commit a03185170d9e33e829dd2162fdf10ab57f0333ef Date: Tue Apr 18 16:40:16 2006
+0000
App was single tenanted
One vm per customer
Slow deploys • too many steps • some deploys have
taken 2+ months • one migration has been going on since January
None
Time go go multitenant
http://www.flickr.com/photos/shirokazan/3003817000/
None
Use separate schema per organisation
None
Time to switch database engines
Now to migrate, we need to run both, right?
Not enough resources in datacenter
Also driving to DC to deal with hardware at 3am
sucks
Time to find a new hosting option
AU or US?
EC2?
http://www.flickr.com/photos/avlxyz/6758784553/
Managed hardware
Now have 3x ram, modern CPUs and it still costs
less
Configuration management
Deprec had reached its usefulness
None
I like Chef more
Dependencies are less surprising
Two runs in a row do the same thing
Between testing, some early teething problems, production & staging...
Over 200 vm installs
And I still have my sanity
I ❤ Chef Search
Load balancer that configures itself
search(:apps).each do |app| role = app["server_roles"].first nodes = search(:node, "roles:#{role}
AND chef_environment:#{node.chef_environment}") unless nodes.empty? web_apps << { "app" => app, "nodes" => nodes } end end
Nagios sucks... less
Future yaks
Move about 1TB of assets off of a shared NFS
mount
Curent plan is Rackspace Cloud Files
Uses Akamai so actually has Australian front ends
One more thing...
www.worldipv6day.com Tomorrow
www.worldipv6day.com 2001:4801:1041:2a::161
Alan Harper @aussiegeek