37
インフラエンジニア、アプリ開発者集まれ!今注目のクラウド SoftLayer & Bluemix をはじめよう! 北瀬 公彦 twitter: @kkitase facebook.com/kkitase

Introduction softlayer and bluemix

Embed Size (px)

Citation preview

Page 1: Introduction softlayer and bluemix

インフラエンジニア、アプリ開発者集まれ!今注目のクラウド

SoftLayer & Bluemixをはじめよう!

北瀬公彦twitter: @kkitase

facebook.com/kkitase

Page 2: Introduction softlayer and bluemix

北瀬公彦KIMIHIKO KITASE

http://blogs.itmedia.co.jp/kkitase

@kkitase

日本IBM勤務(前職: Citrix Systems)マーケティング兼クラウドエバンジェリストIBMクラウド(SoftLayer & Bluemix)を担当OSS / クラウドコミュニティ支援にも従事仮想化、クラウド関連の記事執筆、講演多数

facebook.com/kkitase

Page 3: Introduction softlayer and bluemix

どのクラウドを知ってますか?

• IBM SoftLayer | Amazon Web Services | Microsoft Azure | Google Cloud Platform | Digital Ocean | IIJ GIO | NTT Communications | IDC Frontier | Sakura Internet | Nifty Cloud

• IBM Bluemix | Amazon Web Services | Microsoft Azure | Heroku | Google App Engine

Page 4: Introduction softlayer and bluemix

どのクラウドを使った事がありますか?

• IBM SoftLayer | Amazon Web Services | Microsoft Azure | Google Cloud Platform | Digital Ocean | IIJ GIO | NTT Communications | IDC Frontier | Sakura Internet | Nifty Cloud

• IBM Bluemix | Amazon Web Services | Microsoft Azure | Heroku | Google App Engine

Page 5: Introduction softlayer and bluemix

パブリッククラウド (IaaS / PaaS) の動向

Page 6: Introduction softlayer and bluemix

パブリッククラウド (IaaS / PaaS) の動向

出典: 日経BP クラウドランキング

Page 7: Introduction softlayer and bluemix

10分で分かるSoftLayer

Page 8: Introduction softlayer and bluemix

ホスティング クラウド

オンデマンドセルフサービス

仮想サーバー

システム資源のプール

従量課金

拡張性

物理サーバー

高いパフォーマンス

占有

固定アーキテクチャー

長期契約長いリードタイム

Page 9: Introduction softlayer and bluemix

オンデマンドセルフサービス

システム資源のプール

従量課金

拡張性

物理サーバー

パフォーマンス

占有

ベアメタルクラウドいいとこどり…

Page 10: Introduction softlayer and bluemix

オンデマンド

例えば、

物理サーバーはメモリ: 8GCPU: 3.4GHzDisk: 2TB

30分以内に作成、約50円/時で利用可能

Page 11: Introduction softlayer and bluemix

オンデマンド

もちろん、

仮想サーバーもメモリ: 1GCPU: 1コアDisk: 25G

数分以内に作成、約4円/時で利用可能

Page 12: Introduction softlayer and bluemix
Page 13: Introduction softlayer and bluemix

セルフサービス

Page 14: Introduction softlayer and bluemix

Demo

Page 15: Introduction softlayer and bluemix

http://ibm.biz/freeserver-jp

Page 16: Introduction softlayer and bluemix
Page 17: Introduction softlayer and bluemix

10分で分かるBluemix

Page 18: Introduction softlayer and bluemix

今までのアプリ開発

サーバー

言語環境

データベース

Webサーバー

ソースコード

開発環境

言語環境

データベース

Webサーバー

ソースコード

ソースコード管理

ストレージ

バックアップ

他のサービス 他のサービス

Page 19: Introduction softlayer and bluemix

PaaSを利用したアプリ開発

PaaS

ソースコード

開発環境

言語環境

データベース

Webサーバー

ソースコード

他のサービス 他のサービス

全て用意されていて、開発者はインフラを準備する必要はない

コーディングに集中できる

Git, CF

Page 20: Introduction softlayer and bluemix
Page 21: Introduction softlayer and bluemix

IBM Bluemixが提供するコンポーネント

Boilerplates(ボイラープレート)“ランタイム”と“サービス”の典型的な組み合せを事前に定義したもの。一括で環境作成が可能。

Runtimes(ランタイム)アプリケーションの実行に必要な言語環境。JavaやNode.js

などが利用可能。加えて、”Buildpack”という仕組みによって、PHPやPython

などの言語環境も利用可能。

Page 22: Introduction softlayer and bluemix

IBM Bluemixが提供するコンポーネントServices(サービス)Bluemix上で開発するアプリケーションが必要とする各種ミドルウェアを、ランタイムに追加(バインド)して利用。

モバイル・アプリやWebアプリの開発・実行を容易にするためのサービスや、RDBやNoSQLといったデータ管理のサービス、さらにはビッグデータやInternet of Things(IoT)といった現在注目のサービスなど、多彩な部品を提供。

またアプリケーション開発/DevOps関係の機能や、負荷に応じて自動的にリソースを拡張する機能、さらにオンプレミス環境と接続する機能(インテグレーション機能)なども提供。

更にBluemixの特徴的なポイントとしては、WatsonなどのIBM

の最先端のテクノロジーのサービスに加え、IBM製ではなく、パートナー様が提供するサービス(Third Party)も数多く提供。

ラインナップは、今後も拡大予定。

Page 23: Introduction softlayer and bluemix

Demo

Page 24: Introduction softlayer and bluemix

10分で分かるIoT

Page 25: Introduction softlayer and bluemix

2020年迄にネットに接続するデバイスは、500億を超える

出典: ncta, GROWTH IN THE INTERNET OF THINGS https://www.ncta.com/broadband-by-the-numbers

Page 26: Introduction softlayer and bluemix

IoTとは

モノのインターネット(Internet of Things、IoT)は、一意に識別可能な「もの」がインターネット/クラウドに接続され、情報交換することにより相互に制御する仕組みである。

出典:wikipedia

Page 27: Introduction softlayer and bluemix

ちょっと考えてみてください…

○○が○○に、○○と話す

と便利でしょうか・・

Page 28: Introduction softlayer and bluemix

例えば…

• 車が、駐車場に、シャッターを開けてと話す

• 家のカメラが、スマホに、侵入者ありと話す

• 宅配便がついたら、不在ボックスが、スマホに、教えてくれる

• 植木鉢が、スマホに、水がなくなったと話す

• ビニールハウスが、スマホに、湿度と温度が高くなったから、窓をあけるようにと教えてくれる

• ゴミ箱が、ごみ収集車にゴミが溜まったから収集にきてくれと話す

• 自動販売機が、ディスプレイで気温や湿度をみて、本日のお勧めの飲みものを教えてくれる

Page 29: Introduction softlayer and bluemix

IoTの典型的なアーキテクチャ

センサー

センサー デバイス

デバイス

MQTTサーバー

アプリケーション

パブリッシャー

サブスクライバー

代表的なブローカー・IBM MessageSight

・Mosquitto

・Apache Apollo

など

ブローカー

鉄板構成・Node.js

・MongoDB

BLE

MQTT

MQTT

MQTT

ビッグデータ

クラウド

モバイル

Page 30: Introduction softlayer and bluemix

ちょっと試してみたい!

IBM IoT

Foundation

MQTT

サーバー

IBM Bluemix

Node-red

Node.js

Cloudant

(NoSQL)

センサー(ダミー)

MQTT

MQTT

HTTPブラウザー

WebSocket

気温や湿度を収集(デモではダミー・データを送信しています)

設定気温以上になるとツイッター、SMSで通知するデモ

センサーから得られたデータはDBに蓄積し、ブラウザー画面へ一定間隔で反映(WebSocketを使用しています)

パブリッシュ

サブスクライブ

MQTTクライアント

MQTTクライアント

外部サービス

Twitter

TwilioHTTP

IoT Boilerplates

Page 31: Introduction softlayer and bluemix

Node-RED

処理ノードをパレットから選択

デプロイボタンをクリック

各ノードの動作を設定

シートにドラッグ&ドロップし処理順にノードを結合

• ブラウザベースのUIで処理フローを作成• Node.js上でツールやランタイムが動作• BluemixのNode.jsでも実行環境を提供

• Node-RED Starter、Internet of Things Boilerplatesで使用可能

Page 32: Introduction softlayer and bluemix

Demo

Page 33: Introduction softlayer and bluemix

http://ibm.biz/bluemixfree

Page 34: Introduction softlayer and bluemix

応募

■ http://www.ibm.com/developerworks/jp/bluemix/contest より応募

応募期間

■一般部門:2015年5月19日(火)~7月10日(金)

■学生部門:2015年5月19日(火)~8月20日(木)

結果発表・表彰:2015年9月上旬

各賞

■一般部門:最優秀賞1名、優秀賞2名、IoT賞、Watson賞、Bluemix賞、その他の賞・各副賞

■学生部門:最優秀賞1名、優秀賞数名 副賞として米国IBM研究所と米国IBM本社こ招待

■一般部門: 新しい未来を予感できる、アプリやサービス(学生も参加可)

■学生部門: コネクテッド・ビークルまたは

モビリティ/トランスホーテーションを支えるアプリ

Page 35: Introduction softlayer and bluemix

http://jslug.jp

https://facebook.com/groups/jslug

[email protected]

https://youtube.com/user/softlayerjp

@softlayerjp

http://bmxug.doorkeeper.jp

http://ibm.biz/bmxug-facebook

コミュニティー

Page 36: Introduction softlayer and bluemix

SoftLayer BluemixSummit 2015開催決定

開催日2015年9月2日

開催場所ベルサール渋谷ファースト

主催

SoftLayer Bluemix

Summit 2015 実行委員会

http://softlayer-bluemix-summit.jp

#slbm15

Page 37: Introduction softlayer and bluemix

こ連絡は、

twitter: @kkitase

facebook.com/kkitase