Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
SoftLayerを使ってみよう 
2014/11/21 Shin,Sakamoto 
第1回福岡SoftLayer勉強会
Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 2 
Agenda 
•Who Am I ? 
•BizTouch Ch...
Who am I ? 
•坂本新 
•所属 
⁃株式会社福岡情報ビジネスセンター 
⁃Sales? Management? Engineer? 便利屋? 
•好きなこと 
⁃インフラ設計・構築 
Copyright © 2014 Fukuoka...
Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 4 
Agenda 
•Who Am I ? 
•BizTouch Ch...
BizTouch Checker ? 
シリーズの1つ 
http://biztouch.jp/ 
BizTouch 
Copyright © 2014 Fukuoka Business Information technology cente...
BizTouch Checker ? 
PHP 
インターネット 
事務所LTE/WiFi 
Android 
PHP 
Virtual Servers 
Storage 
Copyright © 2014 Fukuoka Business I...
Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 7 
Agenda 
•Who Am I ? 
•BizTouch Ch...
Why SoftLayer ? 
以前は某国産クラ 
ウドを利⽤してま 
した・・・ 
Copyright © 2014 Fukuoka Business Information technology center. All Rights Re...
Why SoftLayer ? 
•豊富なAPI 
⁃ Infrastructure as Code 
•PrivateVLAN 
⁃全てのインスタンスは、必ずpublic VLANと 
private VLANにひとつづつIP address...
Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 10 
Agenda 
•Who Am I ? 
•BizTouch C...
Advantages ? 
•Vulnerability Scan 
•Monitoring 
•VPN接続 
•REST API 
Copyright © 2014 Fukuoka Business Information technolog...
Vulnerability Scan 
無償の脆弱性スキャン 
Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 12
Vulnerability Scan 
Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 13
Advantages ? 
•Vulnerability Scan 
•Monitoring 
•VPN接続 
•REST API 
Copyright © 2014 Fukuoka Business Information technolog...
Monitoring 
Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 15
Monitoring 
Basic 
パッケージ 
なら無料 
Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 16
Monitoring 
• Install the Nimsoft Monitoring Robot 
•ports must be open on to the Private 
Network 
•Restart provisioning ...
Monitoring 
• Install the Nimsoft Monitoring Robot 
Copyright © 2014 Fukuoka Business Information technology center. All R...
Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 19 
VPN接続 
$ wget 
http://downloads....
$ pVs auPx |Ngrep接nis*続 
root 1 0.0 0.1 19356 1052 ? Ss Oct02 0:00 /sbin/init 
root 19347 0.0 0.0 9788 612 ? Ss 11:04 0:00...
Monitoring 
• Install the Nimsoft Monitoring Robot 
•ports must be open on to the Private 
Network 
•Restart provisioning ...
VPN接続 
$ vim /etc/sysconfig/iptables 
設定ファイルの編集 
-A INPUT -p tcp -m tcp --dport 48000:48020 -j ACCEPT 
$ service iptables ...
Monitoring 
• Install the Nimsoft Monitoring Robot 
•ports must be open on to the Private 
Network 
•Restart provisioning ...
Monitoring 
Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 24
Monitoring 
Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 25
Advantages ? 
•Vulnerability Scan 
•Monitoring 
•VPN接続 
•REST API 
Copyright © 2014 Fukuoka Business Information technolog...
Public VLAN Private VLAN 
Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 27 
VPN接続 ...
Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 28 
VPN接続 
• SSL VPN(標準機能で無償) 
• IPS...
Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 29 
VPN接続 
• SSL VPN 
⁃ブラウザ・プラグインを使う...
Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 30 
VPN接続 
http://vpn.softlayer.com/
Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 31 
VPN接続 
Internet Exploler 
or 
Fi...
Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 32 
VPN接続 
Chrome 
つかえんばい
Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 33 
VPN接続 
• SSL VPN 
⁃ブラウザ・プラグインを使う...
Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 34 
VPN接続 
自分の環境に合わせて 
Download
Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 35 
VPN接続 
Array Networks VpnApp
Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 36 
VPN接続 
Windows起 
動時の自動ス 
タート
VPN接続 
10:46:36: Connecting to SSL VPN gateway 
10:46:38:1001 Now start the VPN client... 
10:46:52:1001 Preparing your sy...
Advantages ? 
•Vulnerability Scan 
•Monitoring 
•VPN接続 
•REST API 
Copyright © 2014 Fukuoka Business Information technolog...
REST API 
•CUIから色んな事が出来る。 
⁃仮想サーバーの作成 
⁃仮想サーバーの一覧取得 
⁃仮想サーバーの削除 
⁃サーバー状態の取得(CPU使⽤率等) 
API Rerference 
http://sldn.softlaye...
Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 40 
REST API 
https://github.com/sof...
Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 41 
REST API
Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 42 
REST API
VPN接続sl_storage = SoftLayer::ObjectStorage::Connection.new({ 
:username => "YOUR_USERNAME", 
:api_key => "YOUR_API_KEY", 
...
Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 44 
Agenda 
•Who Am I ? 
•BizTouch C...
Tokyo Data Center 
東京データセンター 
coming soon 
Copyright © 2014 Fukuoka Business Information technology center. All Rights Res...
Catalyst Startup Program 
$1,000/month 
使える 
Copyright © 2014 Fukuoka Business Information technology center. All Rights R...
SoftLayer Advent Calendar 
http://qiita.com/advent-calendar/ 
2014/softlayer 
Copyright © 2014 Fukuoka Business Informatio...
Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 48 
Agenda 
•まとめ
Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 49 
まとめ 
SoftLayer 
最高!!
ご清聴ありがとう 
ございました 
Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 50
Upcoming SlideShare
Loading in …5
×

第1回福岡SoftLayer勉強会

766 views

Published on

第1回福岡SoftLayer勉強会

Published in: Technology

第1回福岡SoftLayer勉強会

  1. 1. SoftLayerを使ってみよう 2014/11/21 Shin,Sakamoto 第1回福岡SoftLayer勉強会
  2. 2. Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 2 Agenda •Who Am I ? •BizTouch Checker ? •Why SoftLayer ? •Advantages ? •What’s Next ?
  3. 3. Who am I ? •坂本新 •所属 ⁃株式会社福岡情報ビジネスセンター ⁃Sales? Management? Engineer? 便利屋? •好きなこと ⁃インフラ設計・構築 Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 3
  4. 4. Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 4 Agenda •Who Am I ? •BizTouch Checker ? •Why SoftLayer ? •Advantages ? •What’s Next ?
  5. 5. BizTouch Checker ? シリーズの1つ http://biztouch.jp/ BizTouch Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 5
  6. 6. BizTouch Checker ? PHP インターネット 事務所LTE/WiFi Android PHP Virtual Servers Storage Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 6 工事帳票 現場 Webサーバ・DBサーバ Linux+PHP+MySQL ・工事予定登録機能 ・工事予定/修正/照会機能 ・帳票一覧/修正/照会機能 ・容量削減機能 結果帳票 施工依頼主 ・対象工事の選択 ・帳票⼊⼒/修正機能 ・帳票追加機能 ・帳票データ送信機能 ・工事帳票照会機能
  7. 7. Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 7 Agenda •Who Am I ? •BizTouch Checker ? •Why SoftLayer ? •Advantages ? •What’s Next ?
  8. 8. Why SoftLayer ? 以前は某国産クラ ウドを利⽤してま した・・・ Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 8
  9. 9. Why SoftLayer ? •豊富なAPI ⁃ Infrastructure as Code •PrivateVLAN ⁃全てのインスタンスは、必ずpublic VLANと private VLANにひとつづつIP addressを持ちま す。 •クラウド専門業者 Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 9
  10. 10. Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 10 Agenda •Who Am I ? •BizTouch Checker ? •Why SoftLayer ? •Advantages ? •What’s Next ?
  11. 11. Advantages ? •Vulnerability Scan •Monitoring •VPN接続 •REST API Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 11
  12. 12. Vulnerability Scan 無償の脆弱性スキャン Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 12
  13. 13. Vulnerability Scan Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 13
  14. 14. Advantages ? •Vulnerability Scan •Monitoring •VPN接続 •REST API Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 14
  15. 15. Monitoring Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 15
  16. 16. Monitoring Basic パッケージ なら無料 Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 16
  17. 17. Monitoring • Install the Nimsoft Monitoring Robot •ports must be open on to the Private Network •Restart provisioning of a monitoring agent Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 17
  18. 18. Monitoring • Install the Nimsoft Monitoring Robot Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 18 ⁃Windows ⁃Linux http://knowledgelayer.softlayer.com/procedu re/install-nimsoft-monitoring-robot
  19. 19. Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 19 VPN接続 $ wget http://downloads.service.softlayer.com/nimsoft/NIMSOF T_LINUX_64.tar.gz $ tar –zxvf NIMSOFT_LINUX_32.tar.gz $ cd NIMSOFT_LINUX_32 $ ./install.sh 64bit版を Download
  20. 20. $ pVs auPx |Ngrep接nis*続 root 1 0.0 0.1 19356 1052 ? Ss Oct02 0:00 /sbin/init root 19347 0.0 0.0 9788 612 ? Ss 11:04 0:00 ./nimbus /opt/nimsoft root 20818 0.0 0.2 12600 2688 ? S 11:40 0:01 nimbus(controller) root 20864 0.0 0.1 12484 1856 ? S 11:42 0:00 nimbus(hdb) root 20865 0.0 0.2 87864 2084 ? Sl 11:42 0:01 nimbus(spooler) root 25542 0.0 0.2 43056 2380 ? S 13:31 0:00 nimbus(cdm) root 25757 0.0 0.1 12252 1940 ? S 13:36 0:00 nimbus(processes) Agent稼働確認 Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 20
  21. 21. Monitoring • Install the Nimsoft Monitoring Robot •ports must be open on to the Private Network •Restart provisioning of a monitoring agent Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 21
  22. 22. VPN接続 $ vim /etc/sysconfig/iptables 設定ファイルの編集 -A INPUT -p tcp -m tcp --dport 48000:48020 -j ACCEPT $ service iptables restart FireWall再起動 FireWallの設定 PrivateVLANのPort開放 Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 22
  23. 23. Monitoring • Install the Nimsoft Monitoring Robot •ports must be open on to the Private Network •Restart provisioning of a monitoring agent Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 23
  24. 24. Monitoring Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 24
  25. 25. Monitoring Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 25
  26. 26. Advantages ? •Vulnerability Scan •Monitoring •VPN接続 •REST API Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 26
  27. 27. Public VLAN Private VLAN Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 27 VPN接続 Virtual Server Public IP Private IP VPNクライアント・ソフトは、このプラ イベートIPアドレスへの接続パスを提供
  28. 28. Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 28 VPN接続 • SSL VPN(標準機能で無償) • IPSec VPN(有償) •PPTP VPN(有償)
  29. 29. Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 29 VPN接続 • SSL VPN ⁃ブラウザ・プラグインを使う ⁃スタンドアロン型のVPNクライアントを使う
  30. 30. Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 30 VPN接続 http://vpn.softlayer.com/
  31. 31. Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 31 VPN接続 Internet Exploler or Firefox
  32. 32. Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 32 VPN接続 Chrome つかえんばい
  33. 33. Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 33 VPN接続 • SSL VPN ⁃ブラウザ・プラグインを使う ⁃スタンドアロン型のVPNクライアントを使う
  34. 34. Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 34 VPN接続 自分の環境に合わせて Download
  35. 35. Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 35 VPN接続 Array Networks VpnApp
  36. 36. Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 36 VPN接続 Windows起 動時の自動ス タート
  37. 37. VPN接続 10:46:36: Connecting to SSL VPN gateway 10:46:38:1001 Now start the VPN client... 10:46:52:1001 Preparing your system for VPN connection. It may take several minutes. Please wait... 10:46:54:1001 Connecting to Array SSL VPN server... 接続OK 10:46:55:1001 Negotiating VPN parameters... 10:47:00: SSL VPN Connected Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 37
  38. 38. Advantages ? •Vulnerability Scan •Monitoring •VPN接続 •REST API Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 38
  39. 39. REST API •CUIから色んな事が出来る。 ⁃仮想サーバーの作成 ⁃仮想サーバーの一覧取得 ⁃仮想サーバーの削除 ⁃サーバー状態の取得(CPU使⽤率等) API Rerference http://sldn.softlayer.com/reference/overview Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 39
  40. 40. Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 40 REST API https://github.com/softlayer
  41. 41. Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 41 REST API
  42. 42. Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 42 REST API
  43. 43. VPN接続sl_storage = SoftLayer::ObjectStorage::Connection.new({ :username => "YOUR_USERNAME", :api_key => "YOUR_API_KEY", :datacenter => :dal05 Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 43 }) sl_storage.containers # ["foo"] sl_storage.create_container("bar") sl_storage.containers # ["foo", "bar"] container = sl_storage.container("foo") container.objects # [] container.create_object("baz") container.objects # ["foo"] object = container.object("foo") Rubyで ObjectStorageに アクセス
  44. 44. Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 44 Agenda •Who Am I ? •BizTouch Checker ? •Why SoftLayer ? •Advantages ? •What’s Next ?
  45. 45. Tokyo Data Center 東京データセンター coming soon Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 45
  46. 46. Catalyst Startup Program $1,000/month 使える Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 46
  47. 47. SoftLayer Advent Calendar http://qiita.com/advent-calendar/ 2014/softlayer Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 47
  48. 48. Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 48 Agenda •まとめ
  49. 49. Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 49 まとめ SoftLayer 最高!!
  50. 50. ご清聴ありがとう ございました Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 50

×