More Related Content
Similar to 第1回福岡SoftLayer勉強会 (20)
第1回福岡SoftLayer勉強会
- 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. Who am I ?
•坂本新
•所属
⁃株式会社福岡情報ビジネスセンター
⁃Sales? Management? Engineer? 便利屋?
•好きなこと
⁃インフラ設計・構築
Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 3
- 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. BizTouch Checker ?
シリーズの1つ
http://biztouch.jp/
BizTouch
Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 5
- 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. Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 7
Agenda
•Who Am I ?
•BizTouch Checker ?
•Why SoftLayer ?
•Advantages ?
•What’s Next ?
- 8. Why SoftLayer ?
以前は某国産クラ
ウドを利⽤してま
した・・・
Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 8
- 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. Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 10
Agenda
•Who Am I ?
•BizTouch Checker ?
•Why SoftLayer ?
•Advantages ?
•What’s Next ?
- 11. Advantages ?
•Vulnerability Scan
•Monitoring
•VPN接続
•REST API
Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 11
- 14. Advantages ?
•Vulnerability Scan
•Monitoring
•VPN接続
•REST API
Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 14
- 16. Monitoring
Basic
パッケージ
なら無料
Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 16
- 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. 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. 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. $ 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. 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. 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. 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
- 26. Advantages ?
•Vulnerability Scan
•Monitoring
•VPN接続
•REST API
Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 26
- 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. Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 28
VPN接続
• SSL VPN(標準機能で無償)
• IPSec VPN(有償)
•PPTP VPN(有償)
- 29. Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 29
VPN接続
• SSL VPN
⁃ブラウザ・プラグインを使う
⁃スタンドアロン型のVPNクライアントを使う
- 30. Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 30
VPN接続
http://vpn.softlayer.com/
- 31. Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 31
VPN接続
Internet Exploler
or
Firefox
- 32. Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 32
VPN接続
Chrome
つかえんばい
- 33. Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 33
VPN接続
• SSL VPN
⁃ブラウザ・プラグインを使う
⁃スタンドアロン型のVPNクライアントを使う
- 34. Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 34
VPN接続
自分の環境に合わせて
Download
- 35. Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 35
VPN接続
Array Networks VpnApp
- 36. Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 36
VPN接続
Windows起
動時の自動ス
タート
- 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. Advantages ?
•Vulnerability Scan
•Monitoring
•VPN接続
•REST API
Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 38
- 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. Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 40
REST API
https://github.com/softlayer
- 41. Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 41
REST API
- 42. Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 42
REST API
- 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. Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 44
Agenda
•Who Am I ?
•BizTouch Checker ?
•Why SoftLayer ?
•Advantages ?
•What’s Next ?
- 45. Tokyo Data Center
東京データセンター
coming soon
Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 45
- 46. Catalyst Startup Program
$1,000/month
使える
Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 46
- 47. SoftLayer Advent Calendar
http://qiita.com/advent-calendar/
2014/softlayer
Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 47
- 48. Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 48
Agenda
•まとめ
- 49. Copyright © 2014 Fukuoka Business Information technology center. All Rights Reserved. 49
まとめ
SoftLayer
最高!!