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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Hironobu Saitoh
July 21, 2016
Programming
1.3k
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.3k
俺がどんな風にConoHaを使っているのか 全部見せますスペシャル
hironobu
0
2.5k
俺用ツールをオープンソースで公開したら 意外と反応があった話
hironobu
0
140
Goでデーモンを作ってみる
hironobu
4
3.6k
エバンジェリストの役割(HosCon大阪)
hironobu
0
730
自作サーバーの時代から 最新クラウドの時代へ、そして
hironobu
1
870
開発者× CloudStack × Stuck
hironobu
0
760
Other Decks in Programming
See All in Programming
When benchmarks go bad - what I learned from measuring performance wrong
hollycummins
0
170
RAG の “R” を Swift で覗いてみる 〜「意味から探す」検索の仕組み〜
nao_randd
0
120
ジョジョの世界をXRで再現する
mofurune
0
130
APNsからLive Activityを開始する話
yumnumm
0
150
見えないものを探る要求要件定義に必要な基本的思考 / invisible-requirement-thinking
minodriven
15
7.7k
Everything will be SERVERLESS — 信じて運用した10年の経験値 / Everything Will be Serverless — Lessons Learned from 10 Years of Operational Experience
seike460
PRO
1
780
仕様駆動開発による爆速プロダクト開発 / Bakusoku Spec Driven Development
kobakei
0
210
パズルゲームの作り方 / how to make puzzle games
kaityo256
PRO
2
270
設計次第でAIコードの読む量は減らせる / designing-for-code-reading
minodriven
34
15k
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
490
技術的負債の返済は、AI時代の複利で効く投資 — 経営としての意思決定とその遂行
curekoshimizu
1
2.2k
自サークルのIdPからログアウトできるようになるまで
taiseiue
1
110
Featured
See All Featured
It's Worth the Effort
3n
188
29k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
450
Docker and Python
trallard
47
4.2k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
460
brightonSEO & MeasureFest 2025 - Winning Strategies for Black Friday CRO & PPC - Christian Goodrich
cargoodrich
3
860
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
350
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
18k
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