Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
ConoHaとDocker Machineで Dockerホストを作ってみよう
Search
Hironobu Saitoh
July 21, 2016
Programming
1.4k
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
ConoHaとDocker Machineで Dockerホストを作ってみよう
HosCon 2016 Fukuokaでお話しした資料です。
http://gmohoscon.connpass.com/event/34514/
Hironobu Saitoh
July 21, 2016
More Decks by Hironobu Saitoh
See All by Hironobu Saitoh
コンテナの基礎
hironobu
0
1.7k
オレのエンジニア的英語勉強法
hironobu
2
120
ConoHa WINGを支える技術(インフラ編)
hironobu
2
2.4k
俺がどんな風にConoHaを使っているのか 全部見せますスペシャル
hironobu
0
2.5k
俺用ツールをオープンソースで公開したら 意外と反応があった話
hironobu
0
140
Goでデーモンを作ってみる
hironobu
4
3.6k
エバンジェリストの役割(HosCon大阪)
hironobu
0
740
自作サーバーの時代から 最新クラウドの時代へ、そして
hironobu
1
870
開発者× CloudStack × Stuck
hironobu
0
760
Other Decks in Programming
See All in Programming
LLM 101
dalinaum
0
470
Distance field of Julia set
kinakomoti321
0
120
AI時代のシニアエンジニアとは
yosuke_furukawa
PRO
14
11k
Apple Intelligenceとオンデバイス時代の到来
yahir0
0
200
Optunaを作ったときにやりたかったこと、その後 (2026/10/16, Optuna Meetup #3)
iwiwi
4
1.5k
S3 TablesのIcebergデータに、AIエージェントからアクセスしてみた / 20261016developersio2026joetsu-accessing-iceberg-in-s3tables-via-agent
kasacchiful
PRO
0
270
PumaからFalconに移行したRailsアプリケーションでの実践
falcon8823
0
350
當我們開始不讀 Code - AI Agent 時代,Code Review 與 Clean Code 還剩下什麼?
jame2408
1
360
AIで開発が速くなった先で、開発チームは何を目指すか
shihochan
1
2k
社内AIエージェント「Askワンバン」における コストチューニングの取り組み
t0yohei
0
150
[JA] Domain Modeling with Vanilla Rails: 「操作」から再考するRailsの設計論
yasaichi
4
1.8k
TS 7.0 で baseUrl が使えなくなった今、パスエイリアスをどうするか
bicstone
2
490
Featured
See All Featured
Testing 201, or: Great Expectations
jmmastey
46
8.4k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
1
660
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
560
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
680
Crafting Experiences
bethany
1
420
Joys of Absence: A Defence of Solitary Play
codingconduct
1
570
How to Think Like a Performance Engineer
csswizardry
28
2.9k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
1.1k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
77k
Navigating Team Friction
lara
192
16k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
510
Transcript
GMOインターネット株式会社 テクニカルエバンジェリスト 斉藤 弘信 ConoHaとDocker Machineで Dockerホストを作ってみよう
Speaker 斉藤 弘信 (Hironobu Saito) GMOインターネット株式会社 テクニカルエバンジェリスト 2000年に同社に入社 2014年9月よりホスティング事業のテクニカルエバンジェリストを担当 @hironobu_s
hironobu.saitoh hironobu-s
ࠓΔ͜ͱ ConoHa上にDocker環境を構築し、KUSANAGI(WordPress)をデプロイする • ConoHaとOpenStack API • Dockerや関連ツール • KUSANAGI
• 全ストレージにSSDを採用 • 900円/月〜の定額制 • 法人利用でも個人利用でも https://www.conoha.jp/ GMOインターネットが提供する IaaS型パブリッククラウド
サーバー ネットワーク ストレージ リージョン 東京 グローバルネットワーク (IPv4/IPv6 デュアルスタック) シンガポール アメリカ(サンノゼ)
ロードバランサー 無料DNS GeoDNS(GeoRouting) ローカルネットワーク 追加IPv4 リージョン間転送 ⾃動バックアップ スケールアップ スナップショット ブロックストレージ(SSD) オブジェクトストレージ 仮想サーバー (SSD) メールサーバー DBサーバー (MySQL互換) A P I ISOイメージ管理
OpenStackͱAPI • クラウド基盤を構築するためのソフトウェア • ConoHaはOpenStackで構築されている & APIを利用可能 引用: http://www.slideshare.net/irix_jp/2013-0223osctokyospring
Docker Machine 仮想マシンやクラウド上にDockerホストを簡単に作成できる公式ツール AWS, Azure, VirtualBox, Vmware, OpenStackなどに対応 VMの作成 Dockerのインストール
デーモンの起動 Swarm設定など
https://github.com/docker/machine/pull/1933 OpenStackの IPv4/IPv6デュアルスタック環境で 動かなかった Pull Requestした →Version 0.5.0でマージ ಈ͔ͳ͔ͬͨ('A`)
OpenStack のCompute APIが ←こんなJSONを返してくる (v6とv4が順不同で返ってくる) Docker Machineの実装は 「一番最初のIPアドレスを使う」 だった。
KUSANAGI RoD (Run on Docker) • プライムストラテジー社が開発 • 超高速なWordPress実行環境 •
各パブリッククラウドで提供されている • ConoHa, AWS, Azure, さくらのクラウド • Dockerイメージがある(β版) • kusanagi-nginx • Kusanagi-php7 • Kusanagi-data https://kusanagi.tokyo/
Demo VM作成 (docker-machine) docker環境の構築 (docker-machine) KUSANAGIのデプロイ(docker-compose)
ଞͷπʔϧͳͲ Vagrant provider for ConoHa Vagrant 1.6+ plugin. https://github.com/hironobu-s/vagrant-conoha conoha-iso
ISO management tool for ConoHa https://github.com/hironobu-s/conoha-iso conoha-net Security group manager for ConoHa https://github.com/hironobu-s/conoha-net
ࠓ͓ͨ͜͠͠ͱ ConoHa上にDockerクラスタを構築し、KUSANAGI(WordPress)の環境を作る • ConoHaとOpenStack API • Dockerや関連ツール • KUSANAGI •
その他ConoHaツール http://qiita.com/hironobu_s/items/db865ca43af8eca9d3ac ConoHaでDocker Machineを使う@Qiita