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
migration ghe to aws
Search
pnsk
September 02, 2015
Technology
0
190
migration ghe to aws
pnsk
September 02, 2015
Tweet
Share
More Decks by pnsk
See All by pnsk
2024-02-09-nailconf
pnsk
0
20
GitHubUniverseRecap2023
pnsk
1
81
Women Tech Terrace 2023
pnsk
0
420
Engineer Friendly City Fukuoka Festival 2020
pnsk
0
120
DevFestWomen 2019
pnsk
0
1.5k
Woman Tech Terrace 2019
pnsk
1
1.1k
Cloud Support Engineer Event 2019
pnsk
1
1.6k
Developers Summit Kobe 2018 0928
pnsk
0
1.3k
Developers Summit 2018 0727
pnsk
1
660
Other Decks in Technology
See All in Technology
運用改善、不都合な真実 / 20240722-ssmjp-kaizen
opelab
17
8.4k
ゆめみのアクセシビリティの現在地と今後
ryokatsuse
3
290
Android研修【MIXI 24新卒技術研修】
mixi_engineers
PRO
0
100
AWSでRAGを作る法方
sonoda_mj
1
140
20240717_イケコパ代表Copilot_in_Teams会社でこう使ってます
ponponmikankan
2
430
Scaling Technical Excellence at 104: Evolution in AWS and Developer Empowerment
scotthsieh825
1
160
コンテナ・K8s研修 - 後半 Kubernetes 基礎&ハンズオン【MIXI 24新卒技術研修】
mixi_engineers
PRO
1
120
Git 研修 Advanced【MIXI 24新卒技術研修】
mixi_engineers
PRO
0
200
サービス開発を前に進めるために 新米リードエンジニアが 取り組んだこと / Steps Taken by a Novice Lead Engineer to Advance Service Development
nologyance
0
180
成長期に歩みを止めないための創業期の開発文化形成
mayah
6
420
LLMアプリケーションの評価の実践と課題 ~PharmaXにおける今後の展望~
pharma_x_tech
2
170
「我々はどこに向かっているのか」を問い続けるための仕組みづくり / Establishing a System for Continuous Inquiry about where we are
daitasu
0
170
Featured
See All Featured
Building a Scalable Design System with Sketch
lauravandoore
458
32k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
35
6.3k
Navigating Team Friction
lara
181
13k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
502
140k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.4k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
228
16k
Designing Experiences People Love
moore
136
23k
Infographics Made Easy
chrislema
238
18k
What’s in a name? Adding method to the madness
productmarketing
PRO
21
2.9k
The Invisible Side of Design
smashingmag
294
50k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
155
14k
Teambox: Starting and Learning
jrom
130
8.6k
Transcript
GitHub Enterprise のAWS移行と バージョンアップのお話 株式会社 サイバーエージェント 奥田 順子
自己紹介 • Junko Okuda • 主にJava書いてた •
最近は、開発環境まわりの何でも屋さん • @pnsk
None
今日のお話
GHEのAWSへの移行 • 構成 • 移行の簡単な流れ • ちょっと困ったところ
構成
None
移行の簡単な流れ
Ver. 11.10.348 Ver. 2.2.7 ※おおよそ300GBのデータを移行しました
なぜVMWareからAWSに移行したか • windows環境が必要 • 社内にVMWare出来る人がほぼいない
• 社内でAWSを公式に導入し始めた
「利用できない」時間を可能な限り短く • 営業時間中に落とす事ができない ☞10分間隔の監視より早いユーザのメンション •
休日も緊急リリース時に困らないような環境 ☞休日の障害、そこそこ発生する • たくさんの拠点から「漏れなく」アクセス可能 • DC • オフィス • ツール類(CircleCI)
移行準備 • 事前に本番データで移行時間の計測 ☞休日に実施
• 緊急リリース用のGHEを事前に提供 ☞検証環境をそのまま提供 • 同NW構成で検証環境を構築し、NW関連の動作検証 • 本番用のインスタンスの構築 ☞当日の作業を「データ移行」+αにしぼる
移行タイムスケジュール 6:00〜 ghe-‐backup 11:30〜 ghe-‐restore 23:00〜
DNS切り替え 細かな設定変更 動作確認 23:00〜 HA clusterの動作検証 4:30
Backup • HA Cluster ☞ 非同期 ☞ ちなみに切り替えは、「EIPの付け替え」
• ghe-‐backup ☞per 1h • AWSのスナップショット ☞per 1day
ちょっと困ったところ
HA Clusterのレプリ • ghe-‐repl-‐setup ${ip} • GIPに指定
☞レプリ完了に要する時間2.5倍(data:300GB) ☞AWSの課金も増える ☞インターナルIPオヌヌメ
メール送信 • メール送信が詰まる ☞30000/dayのメールが1日400件程度しか送信されない ☞メール送信ポートを25から587に変更
h[p://docs.aws.amazon.com/ja_jp/ses/latest/DeveloperGuide/smtp-‐connect.html
おしまい