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
lt_Results of migration using CloudEndure
Search
虎の穴ラボ株式会社
June 24, 2020
Programming
1
860
lt_Results of migration using CloudEndure
虎の穴ラボ株式会社
June 24, 2020
Tweet
Share
More Decks by 虎の穴ラボ株式会社
See All by 虎の穴ラボ株式会社
FreshとHonoでDeno KVを使い倒す
toranoana
1
43
サブカル業界Developers_実践_開発業務でのAIの活用
toranoana
1
280
「エンジニアリングマネージャーのしごと」勉強してみた
toranoana
2
250
【OSC2024 Online/Spring】とらのあなラボの Deno イベント開催の取り組み
toranoana
0
280
【toranoana.deno#15】WebGPUで遊ぼう
toranoana
0
310
App Router による Web 開発について
toranoana
0
93
Fresh(Deno)をプラグインで拡張しよう!
toranoana
0
220
Freshプラグインのテストもプラグインを使うと捗る!
toranoana
0
120
個人開発アプリにスキーマ 駆動開発を取り入れた話
toranoana
0
80
Other Decks in Programming
See All in Programming
スクラムガイドのスプリントレトロスペクティブを改めて読みかえしてみた / Re-reading the Sprint Retrospective Section in the Scrum Guide
mackey0225
3
410
Behind VS Code Extensions for JavaScript / TypeScript Linnting and Formatting
unvalley
5
910
Hanami and htmx
bkuhlmann
0
210
"config" ってなんだ? / What is "config"?
okashoi
0
240
はてなにおける CSS Modules、及び CSS Modules に足りないもの / CSS Modules in Hatena, and CSS Modules missing parts
mizdra
7
920
Micro Frontends for Java Microservices - Devnexus 2024
mraible
PRO
0
490
Blue/Greenデプロイの導入による 運用フローの改善
kudoas
1
370
코틀린으로 멀티플랫폼 만들기
pangmoo
0
150
DMMプラットフォームがTiDB Cloudを採用した背景
pospome
8
4k
冗長なエラーログを削減し、スタックトレースを手に入れる / Reducing Verbose Error Logs and Obtaining Stack Traces
upamune
0
520
Rethinking UI building strategies @ SFI 2024
letelete
0
270
Amazon SQSコンシューマー疎結合への旅 - 出張! #DevelopersIO IT技術ブログの中の人が語る勉強会 #3
quiver
0
260
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
19
1.7k
Being A Developer After 40
akosma
57
580k
Debugging Ruby Performance
tmm1
70
11k
Code Review Best Practice
trishagee
55
15k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
121
39k
What’s in a name? Adding method to the madness
productmarketing
PRO
16
2.6k
Practical Orchestrator
shlominoach
182
9.7k
Fashionably flexible responsive web design (full day workshop)
malarkey
398
65k
What's new in Ruby 2.0
geeforr
337
31k
Build your cross-platform service in a week with App Engine
jlugia
225
17k
Why Our Code Smells
bkeepers
PRO
331
56k
Making Projects Easy
brettharned
108
5.5k
Transcript
虎の穴 虎の穴 虎の穴 虎の穴 Copyright © 2020 Toranoana Inc. All Rights Reserved. 通販サイトをCloud
Endure で移行した結果 1 2020/06/24 【オンライン開催】フリーテーマLT【とらのあなLT】 虎の穴ラボ株式会社 平山 仁正
虎の穴 虎の穴 虎の穴 虎の穴 Copyright © 2020 Toranoana Inc. All Rights Reserved. 名前 :平山 仁正
担当業務 :放クラの担当P 最近の兆候:はめふらすき。2期おめでとう(小 並感) 2 自己紹介
虎の穴 虎の穴 虎の穴 虎の穴 Copyright © 2020 Toranoana Inc. All Rights Reserved. 3
本日の内容 • Cloud Endureとはなにか • 移行してわかった問題点と対応 • まとめ
虎の穴 虎の穴 虎の穴 虎の穴 Copyright © 2020 Toranoana Inc. All Rights Reserved. 4
Cloud Endureとはなにか オンプレ、仮想、クラウドなどの既存サーバを AWS EC2などに移行するためのツール 移行対象のサーバにエージェントをインストールして、OSごとデータを吸 い上げ、移行先にサーバを移行する。
虎の穴 虎の穴 虎の穴 虎の穴 Copyright © 2020 Toranoana Inc. All Rights Reserved. 5
Cloud Endureとはなにか • メリット 今あるサーバをそのままAWSなどに移行できる • デメリット 本当に“そのまま”AWSに移行してしまう
虎の穴 虎の穴 虎の穴 虎の穴 Copyright © 2020 Toranoana Inc. All Rights Reserved. 6
Cloud Endureとはなにか 移行したサービス:虎の穴通販サイト • 移行前の環境 とあるクラウドサーバ • 移行後の環境 AWS EC2
虎の穴 虎の穴 虎の穴 虎の穴 Copyright © 2020 Toranoana Inc. All Rights Reserved. 7
移行してわかった問題点 • 移行前のOS古すぎ問題 • 前クラウドサーバ特有のネットワーク設定 • 無駄なところまで移行している問題
虎の穴 虎の穴 虎の穴 虎の穴 Copyright © 2020 Toranoana Inc. All Rights Reserved. 8
移行してわかった問題点と対応 • 移行前のOS古すぎ問題 R5インスタンスに移行した時にサーバが立ち上がらない ↓ T2インスタンス(古いタイプサーバ)に変更してから起動し てカーネルをバージョンアップなどを行う ↓ R5インスタンスで起動可能になる
虎の穴 虎の穴 虎の穴 虎の穴 Copyright © 2020 Toranoana Inc. All Rights Reserved. 9
移行してわかった問題点と対応 • 前クラウドサーバ特有のネットワーク設定 DNSが前クラウドのDNSに固定されていた ↓ unbound(DNSキャッシュ)のパッケージ削除 ↓ xxxx_NetworkManager.confを削除 ↓ AWSのDNSを見るようになる
虎の穴 虎の穴 虎の穴 虎の穴 Copyright © 2020 Toranoana Inc. All Rights Reserved. 10
移行してわかった問題点と対応 • 無駄なところまで移行している問題 【移行前】 前クラウドサービスでは30GB+300GBの構成で決定 ↓ サーバによっては300GB中5GBしか使わない無駄な状 態
虎の穴 虎の穴 虎の穴 虎の穴 Copyright © 2020 Toranoana Inc. All Rights Reserved. 11
移行してわかった問題点と対応 • 無駄のところまで移行している問題 【移行後】 ディスク無駄の状態でAWS移行(30+300GB) ↓ 300GBのファイルを全部、30GBのディスクに移行 300GBのディスクをファイル移行後削除
虎の穴 虎の穴 虎の穴 虎の穴 Copyright © 2020 Toranoana Inc. All Rights Reserved. 12
まとめ • Cloud Endureの移行はかなり簡単 • そのまま移行することで起こる問題もある • 移行は現在の問題点を治せるチャンス