ibm bluemix オンラインセミナー · 2014-11-05 · ibm bluemix...
TRANSCRIPT
IBM Bluemixwww.bluemix.net
日本アイ・ビー・エム株式会社ソフトウェア事業本部
クラウド・プラットフォーム・サービス事業部
テクニカル・セールス 李展飛
IBM Bluemix オンラインセミナー今からはじめるBluemixシリーズ
第2期 Bluemixで実現するソリューション第1回 「モバイル・ソリューション」
© 2014 IBM Corporation2
IBM Bluemixwww.bluemix.net
アジェンダ
モバイル関連サービス概要
API呼び出しのモバイル・サービス• デモ#1 : モバイル・サービスを使用したモバイル・アプリ
その他のモバイル・サービス• デモ#2 : Mobile Quality Assuranceモバイル・サービス
まとめ
© 2014 IBM Corporation3
IBM Bluemixwww.bluemix.net
アジェンダ
モバイル関連サービス概要
API呼び出しのモバイル・サービス• デモ#1 : モバイル・サービスを使用したモバイル・アプリ
その他のモバイル・サービス• デモ#2 : Mobile Quality Assuranceモバイル・サービス
まとめ
© 2014 IBM Corporation4
IBM Bluemixwww.bluemix.net
モバイル関連サービス 概要カテゴリー アイコン 名称 提供形態 説明 種類
Boiler-plates
Mobile Cloud
IBM
Android、iOS、JavaScript向けのSDKを提供。
[SDK for Node.js] + [Mobile Application Security] + [Mobile Data] + [Push] で構成されるテンプレート。
-
Run-times
SDK for Node.js
IBM [Mobile Cloud]ボイラー・プレートに含まれるRuntime。 MBaaS
Mobile
Mobile Application
SecurityIBM
Bluemix モバイル・サービスのアクセス制御を集中管理。
[Push]、[Mobile Data]サービス利用における前提。MBaaS
Mobile Data
IBM
クラウド上のデータ・ストア(オブジェクト形式)を提供。
クライアント・アプリからは、プラットフォームごとにネイティブなオブジェクトを操作可能(SDK提供)。
データストアの管理や実装は隠蔽。
MBaaS
Mobile Quality
AssuranceIBM
モバイル・アプリのクラッシュ・ログやユーザー・フィードバックなどのアプリの品質指標の管理を提供。 Other
Push IBM複数のモバイル・プラットフォームに対して、プッシュ通知サービスを提供。 MBaaS
Twilio 3rd Partyモバイル・アプリと電話(音声)やSMSを連携させるサービスを提供。 MBaaS
SecurityAppScanMobile
Analyzer
IBM
Beta
Androidモバイル・アプリのソースコードをスキャンし、セキュリティーの問題をレポート。 Other
© 2014 IBM Corporation5
IBM Bluemixwww.bluemix.net
Bluemixのモバイル・サービスとは
MBaaS (Mobile Backend as a Service)
• モバイル・アプリが必要とするサーバー側の様々な機能をインターネットを通じてサービスとして提供するクラウド・サービスの一種
• 提供される機能の例
• ユーザー認証
• データ保管
• プッシュ通知
• アプリケーション開発者はこれらの機能のAPIを呼び出すことで、アプリケーションの一部として取り込むことができる
© 2014 IBM Corporation6
IBM Bluemixwww.bluemix.net
Bluemixモバイル・サービス (MBaaS)の特徴
マルチ言語サポートの一貫したSDK
• Android Java
• iOS Objective-C
• JavaScript (Web, Cordova, Worklight, Node.js)
クラウド上で提供ミドルウェアのデプロイや管理は不要
3rdパーティーのサービスも活用可能
開発やテストを支援するサービスも提供
Mobile
Web
Node.js
© 2014 IBM Corporation7
IBM Bluemixwww.bluemix.net
2種類のモバイル関連サービス
クライアント・アプリからサービスのAPIをコール:
• MBaaS
• Mobile Data, Push, Twilioなど
その他:
• モバイル・アプリのテスト/開発などをサポート
• AppScan Mobile Analyzer、RapidApps
• アプリ全体に機能を追加
• Mobile Quality AssuranceMobile Quality Assurance
© 2014 IBM Corporation8
IBM Bluemixwww.bluemix.net
アジェンダ
モバイル関連サービス概要
API呼び出しのモバイル・サービス• デモ#1 : モバイル・サービスを使用したモバイル・アプリ
その他のモバイル・サービス• デモ#2 : Mobile Quality Assuranceモバイル・サービス
まとめ
© 2014 IBM Corporation9
IBM Bluemixwww.bluemix.net
Mobile Dataサービス
スケーラブルなCloudデータベース
Cloudantベース
異なるモバイル・クライアントとデータ共有
シンプルなAPI/SDK提供
Objective-C (iOS), Java (Android), JavaScript
各プラットフォームごとのネイティブ・ライクなオブジェクトを格納するAPI
例えば、JavaScriptのプラットフォームでは、JSONオブジェクトとしてCRUD操作可能
RDBのスキーマやSQLの知識は不要
ファイル同期
オブジェクトだけでなく、ファイルの共有も可能
© 2014 IBM Corporation10
IBM Bluemixwww.bluemix.net
Push通知を実現アプリが起動しなくても、メッセージを通知
人や時間に応じたPush通知を実現可能
プラットフォーム固有のAPIを隠蔽提供APIの種類
Mobile Cloud Services SDKObjective-C (iOS), Java (Android), JavaScript
REST API
Bluemixコンソール
柔軟な通知先の選択All
特定のユーザー
特定のタグを購読するグループ
特定のプラットフォーム
Pushサービス
© 2014 IBM Corporation11
IBM Bluemixwww.bluemix.net
Mobile Application Securityサービス
モバイル・アプリへのアクセス制御
アプリ認証特定のアプリからのみアクセスを許可
Androidのパッケージ名
iOSのBundle ID
ユーザー/デバイス認証GoogleアカウントまたはWorklightのユーザー認証をモバイルアプリに構成
特定のユーザー/デバイスのアクセス無効化をコンソールから制御
※備考:Pushサービス、Mobile Dataサービスをよりセキュアに利用するための機能
© 2014 IBM Corporation12
IBM Bluemixwww.bluemix.net
Twilioサービス
音声、SMS、VoIPサービスを付与
Voice
電話回線を用いて高品質で安全な音声通話を実現
Client (VoIP)
インターネット回線を用いてデバイスから音声通話が可能
SMS
アプリケーションから電話へメッセージを送受信
国内では、KDDIがTwilioサービスを提供
KDDI「Twilio の機能」
http://twilio.kddi-web.com/function/
© 2014 IBM Corporation13
www.bluemix.net
デモ#1 :
Bluemixモバイル・サービスを使用した「順番予約アプリ」
Mobile Data
Push
Twilio
© 2014 IBM Corporation14
IBM Bluemixwww.bluemix.net
アジェンダ
モバイル関連サービス概要
API呼び出しのモバイル・サービス• デモ#1 : モバイル・サービスを使用したモバイル・アプリ
API呼び出し以外のモバイル・サービス• デモ#2 : Mobile Quality Assuranceモバイル・サービス
まとめ
© 2014 IBM Corporation15
IBM Bluemixwww.bluemix.net
Mobile Quality Assurance (MQA) サービス
エンド・ユーザーとのつながり
ニーズの理解
情報に基づく開発方針の決定
報告の解析
実装
更新されたアプリの配布
• テスト対象の入手とテスト
• 不具合の再現
• レポート
• 開発側とのつながり
• アプリの活用
• 改善提案
テスト担当者 ユーザー開発者ビジネス・オーナー
4
1
3
2
端末上でのバグの報告: アプリケーション上で直接バグやクラッシュをレポート1
4
23アプリケーションの配布制御: テスト担当者に必要なビルドを迅速に展開
端末上でのフィードバック: アプリケーション上で直接フィードバックを送信
フィードバック分析: アプリ配布元と連携し品質評価とセンチメント分析を実施
モバイル・アプリの品質向上
© 2014 IBM Corporation16
IBM Bluemixwww.bluemix.net
MQAサービスの使い方
Bluemixコンソール
MQAサービス作成
対象プラットフォームを選択
テスト対象アプリの開発環境
MQAのライブラリーを組み込み
テスト用と実働用の2種類
MQAを有効化する設定とお決まりのコードを追加
テスト実施
Bluemixコンソール
Bugレポート、
クラッシュ・ログの確認
© 2014 IBM Corporation17
IBM Bluemixwww.bluemix.net
Bugの報告:端末をシェイクし、報告画面に遷移
・画面キャプチャー上に直接フリーハンドでマークやコメント
・Bug内容を文章でコメント
© 2014 IBM Corporation18
IBM Bluemixwww.bluemix.net
Bugレポート、クラッシュ・ログの確認
© 2014 IBM Corporation19
www.bluemix.net
デモ#2 :
Mobile Quality Assuranceモバイル・サービス
デモで使用するアプリは、下記よりダウンロード可能です。developerWorks「完璧ではないモバイル・アプリケーションを作成する」http://www.ibm.com/developerworks/jp/mobile/library/mo-build-imperfect-mobile-app/index.html
© 2014 IBM Corporation20
IBM Bluemixwww.bluemix.net
AppScan Mobile Analyzer (Beta)
モバイル・アプリのソースコードをスキャン解析し、セキュリティーの問題/対応策を報告
AppScanのエンジンを使用
対象:Androidアプリ(apk)のみ (2014年11月現在)
アプリケーションのスキャン
解析(問題の発見)
アプリケーション・セキュリティー検査の自動化
レポート
FIX
1 2 3
© 2014 IBM Corporation21
IBM Bluemixwww.bluemix.net
(参考) スキャンする問題の一覧
Activity HijackingAndroid Class Loading
HijackingAndroid Fragment InjectionBroadcast TheftBuffer OverflowClient-side SQL InjectionCrash in Java CodeCrash in Native CodeCross-Application ScriptingCross-Site Scripting (XSS)
via Man-in-the-Middle (MiTM)
Debug Flag Enabled on Release Version
Debug Version DetectedFile ManipulationInsecure File PermissionInsecure Pending IntentPhishing via Man-in-the-
Middle (MiTM)Service HijackingUI SpoofingUnsafe ReflectionWeak Random Number
Generator
© 2014 IBM Corporation22
IBM Bluemixwww.bluemix.net
まとめ
Bluemixモバイル・サービス
開発者が容易にMBaaSにアクセスできるSDKを提供
Mobile Cloud SDKに含まれるサービス/ランタイム
SDK for Node.js
Mobile Data
Push
Mobile Application Security
3rdパーティーのモバイル・サービスも利用可能
Twilio
モバイル・アプリの開発やテストを支援するサービスも提供
Mobile Quality Assurance
AppScan Mobile Analyzer (Beta)
Bluemixモバイル・サービス = MBaaSを活用して、高品質のアプリを簡単&迅速に開発
© 2014 IBM Corporation23
IBM Bluemixwww.bluemix.net
Bluemix 情報の入手
・Bluemixオンラインセミナー動画、資料Bluemixの日本語チュートリアル
https://www.ibm.com/developerworks/community/groups/community/bluemix-jp/
・IBM Bluemix のフリートライアルに参加手順http://www.ibm.com/developerworks/jp/bluemix/registration.html
・Bluemix YouTube 日本語動画リスト(Webinar録画等)https://www.youtube.com/playlist?list=PLCJgI3_0GF1b-dOJupFdoZO_w7dEbcld2
・IBM Bluemix ハンズオン・セミナー申し込み(無料) @渋谷IBM Innovation Center
https://www-304.ibm.com/partnerworld/wps/servlet/ContentHandler/pw_frm_bpedusw_30
・IBM Bluemix 日本語HP
http://www-01.ibm.com/software/jp/info/bluemix/index.html
・Bluemix Developers Community(英語)https://developer.ibm.com/bluemix/
© 2014 IBM Corporation24
© Copyright IBM Corporation 2014. All rights reserved.
The information contained in these materials is provided for informational purposes only, and
is provided AS IS without warranty of any kind, express or implied. IBM shall not be
responsible for any damages arising out of the use of, or otherwise related to, these materials.
Nothing contained in these materials is intended to, nor shall have the effect of, creating any
warranties or representations from IBM or its suppliers or licensors, or altering the terms and
conditions of the applicable license agreement governing the use of IBM software.
References in these materials to IBM products, programs, or services do not imply that they
will be available in all countries in which IBM operates. Product release dates and/or
capabilities referenced in these materials may change at any time at IBM’s sole discretion
based on market opportunities or other factors, and are not intended to be a commitment to
future product or feature availability in any way. IBM, the IBM logo, Rational, the Rational
logo, and other IBM products and services are trademarks of the International Business
Machines Corporation, in the United States, other countries or both. Other company, product,
or service names may be trademarks or service marks of others.
IBM Bluemixwww.bluemix.net
© 2014 IBM Corporation25
© Copyright IBM Corporation 2014. All rights reserved.
The information contained in these materials is provided for informational purposes only, and
is provided AS IS without warranty of any kind, express or implied. IBM shall not be
responsible for any damages arising out of the use of, or otherwise related to, these materials.
Nothing contained in these materials is intended to, nor shall have the effect of, creating any
warranties or representations from IBM or its suppliers or licensors, or altering the terms and
conditions of the applicable license agreement governing the use of IBM software.
References in these materials to IBM products, programs, or services do not imply that they
will be available in all countries in which IBM operates. Product release dates and/or
capabilities referenced in these materials may change at any time at IBM’s sole discretion
based on market opportunities or other factors, and are not intended to be a commitment to
future product or feature availability in any way. IBM, the IBM logo, Rational, the Rational
logo, and other IBM products and services are trademarks of the International Business
Machines Corporation, in the United States, other countries or both. Other company, product,
or service names may be trademarks or service marks of others.
IBM Bluemixwww.bluemix.net
© 2014 IBM Corporation26
IBM Bluemixwww.bluemix.net
参考資料
IBM Bluemix Docshttps://www.ng.bluemix.net/docs/# [Creating Apps]-[Mobile Cloud] [Services]-[Mobile Application Security], [Mobile Data], [Mobile Quality Assurance],
[Push], [AppScan Mobile Analyzer]
IBM Mobile Cloud Services SDK Developer Guidehttp://mbaas-gettingstarted.ng.bluemix.net/index.html 各プラットフォームごと(Android, iOS, JavaScriptなど)のSDKのガイド REST APIのAPI Docもあり
Getting Started with Twiliohttps://www.twilio.com/docs
DeveloperWorks「Mobile devlopment」Zone記事(英語)ポータルhttp://www.ibm.com/developerworks/mobile/library/?contentarea_by=Mobile+develop
ment
DeveloperWorks「Mobile devlopment」ゾーン記事(日本語)ポータルhttp://www.ibm.com/developerworks/jp/views/mobile/libraryview.jsp
© 2014 IBM Corporation27
IBM Bluemixwww.bluemix.net
参考資料
個別のサービス使用の記事
Mobile Data Mobile Data クラウド・サービスを利用して Android アプリを作成する
http://www.ibm.com/developerworks/jp/mobile/library/mo-android-mobiledata-app/index.html
Mobile Data クラウド・サービスを利用して iOS アプリを作成するhttp://www.ibm.com/developerworks/jp/mobile/library/mo-ios-mobiledata-app/index.html
Mobile Data クラウド・サービスを利用した iOS アプリを拡張して Worklight を統合するhttp://www.ibm.com/developerworks/jp/mobile/library/mo-ios-mobiledata-worklight-app/index.html
iBeacon と IBM Mobile Data サービスを使用して時間とともに変化する情報を管理するアプリを構築する
http://www.ibm.com/developerworks/jp/mobile/library/mo-bluemix-ibeacons/index.html
Extend an Android app using the IBM Mobile Cloud service to integrate with Worklighthttp://www.ibm.com/developerworks/mobile/library/mo-android-mobiledata-worklight-app/index.html
Build a hybrid mobile app with Cordova and the IBM Bluemix Mobile Data servicehttp://www.ibm.com/developerworks/mobile/library/mo-cordova-md-app/index.html
Push Push クラウド・サービスを利用して Android アプリを拡張する
http://www.ibm.com/developerworks/jp/mobile/library/mo-android-push-app/index.html
5 分以内にモバイル・アプリケーションからプッシュ通知を送信するhttp://www.ibm.com/developerworks/jp/mobile/library/mo-push-apache-cordova-app/index.html
Leverage push capabilities in hybrid mobile apps with Cordova plugins for Bluemixhttp://www.ibm.com/developerworks/mobile/library/mo-cordova-push-app/index.html
© 2014 IBM Corporation28
IBM Bluemixwww.bluemix.net
参考資料
Mobile Application Security Enhance an Android app with Google+ authentication
http://www.ibm.com/developerworks/mobile/library/mo-android-googleauth-app/index.html?ca=drs-
Twilio Twilio クラウド・サービスを利用して Android アプリと iOS アプリにテキスト・メッセージング機能を追加する
http://www.ibm.com/developerworks/jp/mobile/library/mo-android-twilio-app/index.html
Mobile Quality Assurance 完璧ではないモバイル・アプリケーションを作成する
http://www.ibm.com/developerworks/jp/mobile/library/mo-build-imperfect-mobile-app/index.html
Distribute mobile apps to testers over the air with IBM Mobile Quality Assurancehttp://www.ibm.com/developerworks/mobile/library/mo-otadistribution-mqa-app/index.html
その他 IBM Bluemix 上でバックエンドのクラウド・サービスを作成して、モバイル・アプリと Web アプリを迅速に構築する
http://www.ibm.com/developerworks/jp/cloud/library/cl-rapiddev-app/index.html
Cloudant を使用して Bluemix 上で Famo.us モバイル・アプリを自動化するhttp://www.ibm.com/developerworks/jp/cloud/library/cl-bluemix-famous-mobile/index.html
Jumping through Hadoop: Stream Big Data video on a mobile app by integrating IBM Worklight with IBM InfoSphere BigInsights on IBM Bluemix
http://www.ibm.com/developerworks/mobile/library/mo-aim1408-worklight-biginsights/index.html
© 2014 IBM Corporation29
IBM Bluemixwww.bluemix.net
Bluemixのライセンス・モデル
30日間の無償トライアル
クレジット・カード不要
全てのサービス、およびサポートに制限なくアクセスが可能(2014月11月現在)
必要に応じて、必要なプラットフォームやサービスを注文&利用
実利用量に応じた登録クレジット・カードでの月次決済
柔軟な契約、いつでもキャンセル可能
無償枠を提供
競争力ある料金体系
PA契約、PA Express契約に加えて、IBMクラウド・サービス契約(“CSA”)を利用した、全てのサービスを含むプラットフォームが利用可能なエンタイトルメントの購入
PAYGモデルと比較して割引きあり
柔軟な利用期間と請求方式を提供
無償枠を提供
競争力のある料金体系
フリートライアル
Pay as you go (Web決済)
サブスクリプション
*レート:$1 = ¥105固定2014年11月現在
月次の最低利用料金を設けてある
利用期間は事前に選択
“月次の想定利用料金”と“利用期間”の組合せによる合計金額に応じた割引率を適用