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
CloudGarageRancherMeetupFukuoka#2
Search
MiyataAKiyoshi
October 06, 2017
Technology
0
500
CloudGarageRancherMeetupFukuoka#2
Rancher meets CloudGarage
CloudGarage meets Rancher
MiyataAKiyoshi
October 06, 2017
Tweet
Share
More Decks by MiyataAKiyoshi
See All by MiyataAKiyoshi
2018.10#ssmjp-CloudGarageDevAssistProgram
miyataakiyoshi
0
41
CloudGarageRenewal2018.02
miyataakiyoshi
0
370
CloudGarageConcrete5TokyoMeetup#12
miyataakiyoshi
0
88
CloudGarageRancherMeetupTokyo#10
miyataakiyoshi
0
690
CloudGarageRancherMeetupTokyo#9
miyataakiyoshi
0
380
CloudGarageServiceOutline
miyataakiyoshi
0
1.3k
Other Decks in Technology
See All in Technology
OCI Database Management サービス詳細
oracle4engineer
PRO
1
7.4k
コミュニティが変えるキャリアの地平線:コロナ禍新卒入社のエンジニアがAWSコミュニティで見つけた成長の羅針盤
kentosuzuki
0
130
Oracle Cloud Observability and Management Platform - OCI 運用監視サービス概要 -
oracle4engineer
PRO
2
14k
ランサムウェア対策としてのpnpm導入のススメ
ishikawa_satoru
0
220
広告の効果検証を題材にした因果推論の精度検証について
zozotech
PRO
0
210
SchooでVue.js/Nuxtを技術選定している理由
yamanoku
3
200
Kiro IDEのドキュメントを全部読んだので地味だけどちょっと嬉しい機能を紹介する
khmoryz
0
210
コスト削減から「セキュリティと利便性」を担うプラットフォームへ
sansantech
PRO
3
1.6k
こんなところでも(地味に)活躍するImage Modeさんを知ってるかい?- Image Mode for OpenShift -
tsukaman
1
170
22nd ACRi Webinar - NTT Kawahara-san's slide
nao_sumikawa
0
100
ファインディの横断SREがTakumi byGMOと取り組む、セキュリティと開発スピードの両立
rvirus0817
1
1.6k
Webhook best practices for rock solid and resilient deployments
glaforge
2
310
Featured
See All Featured
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
440
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.2k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.3k
Building the Perfect Custom Keyboard
takai
2
690
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
120
How STYLIGHT went responsive
nonsquared
100
6k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
330
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
1
57
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
0
1.1k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.1k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
250
Transcript
Copyright © NHN Techorus Corp. NHNテコラス株式会社 クラウドサービス開発室 宮田 晃佳 Rancher
meets CloudGarage Service Site Facebook Twitter https://cloudgarage.jp @CloudGarage.PR @CloudGarage_PR
Page 2 hashtag #CloudGarage Rancher meets CloudGarage ~ CloudGarageとRancherの相性が良い理由 ~
Page 3 hashtag #CloudGarage 相性が良い理由 https://tech.ex-cloud.jp/archives/3879 https://tech.ex-cloud.jp/archives/3776 (1)Disk I/O が早い
http://qiita.com/FoxBoxsnet/items/859723042dae238ac2d2 (2)Rancher OSが選択できる
Page 4 hashtag #CloudGarage 相性が良い理由 RANCHER-Server (3)複数インスタンスで利用が楽々 (4)Private IPが付与されるので内部で通信
Page 5 hashtag #CloudGarage 相性が良い理由 (5)複数インスタンスでHA構成が組める (6)Load Balancerが無料
Page 6 hashtag #CloudGarage 相性が良い理由 (7)バックアップイメージから再構築できる (8)複数インスタンスが固定料金でお財布にやさしい
Page 7 hashtag #CloudGarage 相性が良い理由 (9)牛だって家が欲しい (10)マシンドライバ開発中
Page 8 hashtag #CloudGarage 中締め (1)Disk I/O が早い (2)Rancher OSが選択できる
(3)複数インスタンスで利用が楽々 (4)Private IPが付与されるので内部で通信 (5)複数インスタンスでHA構成が組める (6)Load Balancerが無料 (7)バックアップイメージから再構築できる (8)複数インスタンスが固定料金でお財布にやさしい (9)牛だって家が欲しい (10)マシンドライバ開発中
Page 9 hashtag #CloudGarage CloudGarage meets Rancher ~ Rancher OS
インストール ~
Page 10 サーバーインスタンス Service Site Facebook Twitter https://cloudgarage.jp @CloudGarage.PR @CloudGarage_PR
Page 11 hashtag #CloudGarage プラン購入 パック選択 :サーバーインスタンス数を選択 3、5、7、10から インスタンス選択:スペックを選択 サーバーインスタンスを利用するため、プランを購入
Page 12 hashtag #CloudGarage サーバーインスタンスを用意します サーバーインスタンス構築 インスタンス :CPU 3Core メモリ
4GB SSD 150GB OS :Rancher OS 接続許可ポート :22,8080 インスタンス名 :RancherOSTest ※rootパスワードは設定できません
Page 13 hashtag #CloudGarage コンソールへのアクセス 起動したことを確認し、コンソールへアクセス
Page 14 hashtag #CloudGarage Rancherパスワード設定 コンソールを起動して、Rancherのパスワードを変更 $ sudo passwd rancher
Changing password for rancher New password: Retype password: Passwd: password for rancher changed by root $
Page 15 hashtag #CloudGarage Rancher OSの初期設定 Terminalからアクセスし、 cloud-config.ymlを作成 $ sudo
–s #vi cloud-config.yml cloud-config ssh_authorized_keys: - ssh-rsa ************** #mkfs.ext4 -L B2D_STATE /dev/vda mke2fs 1.43.3 (04-Sep-2016) /dev/vda contains a ext4 file system labelled 'ephemeral0' created on Tue Oct 3 04:03:59 2017 Proceed anyway? (y,n) y コマンド実行、パーティション作成 Creating filesystem with 39321600 4k blocks and 9830400 inodes Filesystem UUID: 81ac63e7-cd24-429e-a027-133de150128b Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000, 7962624, 11239424, 20480000, 23887872 Allocating group tables: done Writing inode tables: done Creating journal (262144 blocks): done Writing superblocks and filesystem accounting information: Done
Page 16 hashtag #CloudGarage Rancher OSの初期設定 インストール # ros install
-c cloud-config.yml -d /dev/vda > INFO[0000] No install type specified...defaulting to generic Installing from rancher/os:v1.0.3 Continue [y/N]: y > INFO[0002] start !isoinstallerloaded > INFO[0003] trying to load /bootiso/rancheros/installer.tar.gz 404361ced64e: Loading layer [==================================================>] 4.221 MB/4.221 MB 4361304d3da7: Loading layer [==================================================>] 14.97 MB/14.97 MB 09ba8a5cee0e: Loading layer [==================================================>] 4.608 kB/4.608 kB e5afbc3cfca1: Loading layer [==================================================>] 18.08 MB/18.08 MB a18e5c9a9926: Loading layer [==================================================>] 1.636 MB/1.636 MB ee1a08a7474f: Loading layer [==================================================>] 1.536 kB/1.536 kB c692731ace1c: Loading layer [==================================================>] 2.56 kB/2.56 kB 2102ea1d03a0: Loading layer [==================================================>] 3.072 kB/3.072 kB > INFO[0005] Loaded images from /bootiso/rancheros/installer.tar.gz > INFO[0005] starting installer container for rancher/os-installer:latest (new) Installing from rancher/os-installer:latest mount: /dev/sr0 is write-protected, mounting read-only mke2fs 1.43.4 (31-Jan-2017) Creating filesystem with 39321088 4k blocks and 39321600 inodes Filesystem UUID: aefaa416-b373-4c18-a307-a04a0db6494d Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000, 7962624, 11239424, 20480000, 23887872 Allocating group tables: done Writing inode tables: done Creating journal (262144 blocks): done Writing superblocks and filesystem accounting information: done Continue with reboot [y/N]: y > INFO[0092] Rebooting
Page 17 hashtag #CloudGarage ISOイメージのアンマウントと再起動 アンマウントと再起動 ・ISOイメージのアンマウント ・再起動(強制) の順番でクリック
Page 18 hashtag #CloudGarage Rancherの起動 DockerコマンドでRancherを起動 # docker run -d
-p 8080:8080 rancher/server ブラウザでアクセス(http://<IPアドレス>:8080)
Service Site Facebook Twitter hashtag https://cloudgarage.jp @CloudGarage.PR @CloudGarage_PR #CloudGarage