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
arkw vs. サーバ移転 -2024年1月版-
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Sora Arakawa
March 17, 2024
Technology
360
0
Share
arkw vs. サーバ移転 -2024年1月版-
JSNOG-LT-3
Sora Arakawa
March 17, 2024
More Decks by Sora Arakawa
See All by Sora Arakawa
今からFlash開発できるわけないじゃん、ムリムリ! (※ムリじゃなかった!?)
arkw
0
200
令和最新版Android Studioで化石デバイス向けアプリを作る
arkw
0
640
お前も同人作家にならないか? 技術系同人誌制作入門
arkw
3
76
非root化Androidスマホでも動く仮想マシンアプリを試してみた
arkw
0
1.2k
技術島の指定ツール「LaTeX」で同人誌を作ろう
arkw
2
410
ポスト・パソコン時代のジャンク遊び スマートデバイス編
arkw
0
200
ジャンカーよ、車も買え ~10分でわかる!? 中古車選び入門~
arkw
2
210
なれる! 村上さん Misskeyサーバ構築入門
arkw
0
670
Cloudflare Tunnelで自宅サーバを公開してみた
arkw
0
2k
Other Decks in Technology
See All in Technology
AI: Making Admin and Users, Lives Better
kbmsg
0
110
Shipping AI Agents — Lessons from Production
vvatanabe
0
270
クラウドネイティブな開発 ~ 認知負荷に立ち向かうためのコンテナ活用
literalice
0
140
最初の一歩を踏み出せなかった私が、誰かの背中を押したいと思うようになるまで / give someone a push
mii3king
0
160
エージェントスキルを作って自分のインプットに役立てよう
tsubakimoto_s
0
400
プラットフォームエンジニアリングの実践 - AWS コンテナサービスで構築する社内プラットフォーム / AWS Containers Platform Meetup #1
literalice
1
210
UIライブラリに依存しすぎないReact Native設計を目指して
grandbig
0
100
ハーネスエンジニアリングの概要と設計思想
sergicalsix
9
5.1k
国内外の生成AIセキュリティの最新動向 & AIガードレール製品「chakoshi」のご紹介 / Latest Trends in Generative AI Security (Domestic & International) & Introduction to AI Guardrail Product "chakoshi"
nttcom
4
1.3k
2026年、知っておくべき最新 サーバレスTips10選/serverless-10-tips
slsops
13
5.2k
生成AIが変える SaaS の競争原理と弁護士ドットコムのプロダクト戦略
bengo4com
1
1.3k
サイボウズ 開発本部採用ピッチ / Cybozu Engineer Recruit
cybozuinsideout
PRO
10
78k
Featured
See All Featured
Tell your own story through comics
letsgokoyo
1
900
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
Odyssey Design
rkendrick25
PRO
2
580
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
180
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.5k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
230
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
61
43k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
190
How to train your dragon (web standard)
notwaldorf
97
6.6k
The browser strikes back
jonoalderson
0
980
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
150
Transcript
arkw vs. サーバ移転 - 2024年1月版 - 荒川 奏良 (Sora Arakawa,
arkw) 2024/03/17 JSNOG-LT-3@オンライン (Discord)
© 2023, 2024 Sora Arakawa all rights reserved. https://arkw.net/ 自己紹介
• 荒川 奏良 (Sora Arakawa, arkw) • 静岡大学 情報学部 行動情報学科 B4 (24卒) • 春から社会人 • 愛知県岡崎市在住 • 趣味 : プログラミング、デザイン、旅行 など • https://arkw.net/ • X (旧Twitter) : @arkw0 • Misskey : @
[email protected]
None
None
None
None
出会いの 季節
別れの 季節
サーバ移転の 季節
None
None
None
© 2023, 2024 Sora Arakawa all rights reserved. https://arkw.net/ arkwのサーバ事情
• arkw.net • ロリポップ! レンタルサーバ • 外部アクセスは9割こっち • arkw.work • 自宅サーバ (Chifuyu Server)
© 2023, 2024 Sora Arakawa all rights reserved. https://arkw.net/ 自宅サーバ沿革
• Shiori Server • Orange Pi Zero • 2020/04~2022/07 • 2021/10~2022/02は一時休止 • 愛知県岡崎市→静岡県浜松市 • ドメインごとレンタルサーバに仮設置 • 当時は静的HTMLとPHPのみ
© 2023, 2024 Sora Arakawa all rights reserved. https://arkw.net/ 自宅サーバ沿革
• Shiori Server • Orange Pi Zero • 2020/04~2022/07 • 2021/10~2022/02は一時休止 • 愛知県岡崎市→静岡県浜松市 • ドメインごとレンタルサーバに仮設置 • 当時は静的HTMLとPHPのみ • Chifuyu Server • EPSON Endeavor ST170E • 2022/07~
None
これに加えてオタ辞苑 (MediaWiki)、コミケレジのバックエンド (Rust)、 フォント警察AIのバックエンド (Python+Tensorflow+Flask) など…
© 2023, 2024 Sora Arakawa all rights reserved. https://arkw.net/ 日程調整
• 2024年1月20日 (土) • 帰省合わせ • 1月末に光回線を停止 • 6:00 作業開始 • 早朝深夜以外の浜松は道路がおしまい! • Misskeyのタイムライン更新が比較的遅い • 夜型オタク就寝~昼型オタク起床の隙間 • サーバ停止時間は2~3時間を想定 • これくらいなら許されるやろ… (ほんまか) • 時間短縮&衝撃緩和のため高速課金
© 2023, 2024 Sora Arakawa all rights reserved. https://arkw.net/ 事前準備
• ルータの設定内容をメモ • DHCP固定割当 • ポートマッピング • DDNSの設定も控えておくと良い • トンネリングサービスとも • 今回はCloudflare Access • 理由については後述
© 2023, 2024 Sora Arakawa all rights reserved. https://arkw.net/ いざ移転
• 04:45 起床 • 06:15 サーバ停止 • 06:25 積載、下宿発 • 06:35 浜松西ICから東名高速 • 07:15 岡崎ICで一般道へ • 07:25 実家着
© 2023, 2024 Sora Arakawa all rights reserved. https://arkw.net/ トラブル発生
• 機器設置、配線、ルータ設定変更は順調に完了 • Cloudflare Accessの認証が通らない… • 回線が違うから? • トンネルごと作り直して解決 • 08:40 動作テスト開始 • 08:50 復旧、サーバ移転完了 • ダウンタイムは2時間半程度
None
© 2023, 2024 Sora Arakawa all rights reserved. https://arkw.net/ まとめ
• 下宿民はサーバの出口戦略を考えろ • 機器選定、ネットワーク構成、移転方法 etc… • 実家は一般のご家庭 (× 逸般の誤家庭) • 富豪or長距離ならハードウェア2セットの切替を推奨 • Cloudflare Accessは別回線で認証できない? • トンネルごと作り直す方がラク • そして…
次回予告
arkw vs. サーバ移転 2024年7月版
お楽しみに (?)