39

Windows Azure Today and Tomorrow - WordPress.com · 本セッションのテーマ Windows Azure を活用したWindows 8 アプリ ケーション開発 • Windows Azure の最新情報、Windows

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Windows Azure Today and Tomorrow - WordPress.com · 本セッションのテーマ Windows Azure を活用したWindows 8 アプリ ケーション開発 • Windows Azure の最新情報、Windows
Page 2: Windows Azure Today and Tomorrow - WordPress.com · 本セッションのテーマ Windows Azure を活用したWindows 8 アプリ ケーション開発 • Windows Azure の最新情報、Windows

佐藤直生 (さとうなおき)Twitter @satonaoki

Facebook satonaoki

http://satonaoki.wordpress.com/

2010年、Windows Azureのエバンジェリストとして、マイクロソフトに参画

以前は、オラクルでJavaエバンジェリストとして活動

Page 3: Windows Azure Today and Tomorrow - WordPress.com · 本セッションのテーマ Windows Azure を活用したWindows 8 アプリ ケーション開発 • Windows Azure の最新情報、Windows

Twitter 公式ハッシュ タグ

#javafesta

Page 4: Windows Azure Today and Tomorrow - WordPress.com · 本セッションのテーマ Windows Azure を活用したWindows 8 アプリ ケーション開発 • Windows Azure の最新情報、Windows

はじめに…

• アンケートにご協力ください• 記入したアンケートは受付に

• 質問があれば、セッション後にお気軽にどうぞ

• おみやげ (クラウディア グッズ、Tシャツ) 差し上げます

Page 5: Windows Azure Today and Tomorrow - WordPress.com · 本セッションのテーマ Windows Azure を活用したWindows 8 アプリ ケーション開発 • Windows Azure の最新情報、Windows

本セッションのテーマWindows Azure を活用した Windows 8 アプリケーション開発

• Windows Azure の最新情報、Windows 8向けのWindows ストアアプリケーション開発の概要、「Windows Azure Mobiles Services」を使った効率的なWindows ストアアプリケーション開発について、ご紹介します。

Page 6: Windows Azure Today and Tomorrow - WordPress.com · 本セッションのテーマ Windows Azure を活用したWindows 8 アプリ ケーション開発 • Windows Azure の最新情報、Windows

本セッションの内容

• Windows Azure アップデート

• Windows 8 開発

• Windows Azure Mobile Servicesによる、Windows Azure &Windows 8開発

Page 7: Windows Azure Today and Tomorrow - WordPress.com · 本セッションのテーマ Windows Azure を活用したWindows 8 アプリ ケーション開発 • Windows Azure の最新情報、Windows

Windows Azure

SDK 1.1 SDK 1.3 SDK 1.5 SDK 1.7

Page 8: Windows Azure Today and Tomorrow - WordPress.com · 本セッションのテーマ Windows Azure を活用したWindows 8 アプリ ケーション開発 • Windows Azure の最新情報、Windows

Windows Azure

Page 9: Windows Azure Today and Tomorrow - WordPress.com · 本セッションのテーマ Windows Azure を活用したWindows 8 アプリ ケーション開発 • Windows Azure の最新情報、Windows
Page 10: Windows Azure Today and Tomorrow - WordPress.com · 本セッションのテーマ Windows Azure を活用したWindows 8 アプリ ケーション開発 • Windows Azure の最新情報、Windows
Page 11: Windows Azure Today and Tomorrow - WordPress.com · 本セッションのテーマ Windows Azure を活用したWindows 8 アプリ ケーション開発 • Windows Azure の最新情報、Windows

クラウド サービス

Page 12: Windows Azure Today and Tomorrow - WordPress.com · 本セッションのテーマ Windows Azure を活用したWindows 8 アプリ ケーション開発 • Windows Azure の最新情報、Windows

仮想マシン ( IaaS )

Windows Server 2012

Page 13: Windows Azure Today and Tomorrow - WordPress.com · 本セッションのテーマ Windows Azure を活用したWindows 8 アプリ ケーション開発 • Windows Azure の最新情報、Windows

Start Simple

無料で始めて簡単拡張

数秒で準備が完了

ビルトインの監視機能

Go LiveCode Smart

Page 14: Windows Azure Today and Tomorrow - WordPress.com · 本セッションのテーマ Windows Azure を活用したWindows 8 アプリ ケーション開発 • Windows Azure の最新情報、Windows

マイクロソフト ×オープンソースプロジェクト

And

More …

Page 15: Windows Azure Today and Tomorrow - WordPress.com · 本セッションのテーマ Windows Azure を活用したWindows 8 アプリ ケーション開発 • Windows Azure の最新情報、Windows

SQL データベース

Page 16: Windows Azure Today and Tomorrow - WordPress.com · 本セッションのテーマ Windows Azure を活用したWindows 8 アプリ ケーション開発 • Windows Azure の最新情報、Windows

NoSQL データベース

3多重

スキーマレス

REST API

大量の動画や画像に最適

3多重 + DC間複製

REST API

CDN 対応

Page 17: Windows Azure Today and Tomorrow - WordPress.com · 本セッションのテーマ Windows Azure を活用したWindows 8 アプリ ケーション開発 • Windows Azure の最新情報、Windows

単純なセットアップと管理

E2E セキュリティ

迅速なプロビジョニング

簡易的完全な制御

スケーラブル

複雑なシナリオに対応

エンタープライズ向け

Page 18: Windows Azure Today and Tomorrow - WordPress.com · 本セッションのテーマ Windows Azure を活用したWindows 8 アプリ ケーション開発 • Windows Azure の最新情報、Windows

ハイブリッドな基盤構築と運用

仮想ネットワーク

Page 19: Windows Azure Today and Tomorrow - WordPress.com · 本セッションのテーマ Windows Azure を活用したWindows 8 アプリ ケーション開発 • Windows Azure の最新情報、Windows

キャッシュ

Web インスタンス間でセッション状態とデータを共有

データ層からの読み込み負荷を軽減

Page 20: Windows Azure Today and Tomorrow - WordPress.com · 本セッションのテーマ Windows Azure を活用したWindows 8 アプリ ケーション開発 • Windows Azure の最新情報、Windows

メディア サービス

エンコーディング

Page 21: Windows Azure Today and Tomorrow - WordPress.com · 本セッションのテーマ Windows Azure を活用したWindows 8 アプリ ケーション開発 • Windows Azure の最新情報、Windows

新機能まとめ

各開発言語, Mac/Linux向け SDK

SQL レポートローカル冗長ストレージ

インメモリキャッシュ 仮想マシン

Web サイト

仮想ネットワーク

メディア

Page 22: Windows Azure Today and Tomorrow - WordPress.com · 本セッションのテーマ Windows Azure を活用したWindows 8 アプリ ケーション開発 • Windows Azure の最新情報、Windows

本セッションの内容

• Windows Azure アップデート

• Windows 8 開発

• Windows Azure Mobile Servicesによる、Windows Azure &Windows 8開発

Page 23: Windows Azure Today and Tomorrow - WordPress.com · 本セッションのテーマ Windows Azure を活用したWindows 8 アプリ ケーション開発 • Windows Azure の最新情報、Windows

このパートのスライドは非公開です…

Page 24: Windows Azure Today and Tomorrow - WordPress.com · 本セッションのテーマ Windows Azure を活用したWindows 8 アプリ ケーション開発 • Windows Azure の最新情報、Windows

本セッションの内容

• Windows Azure アップデート

• Windows 8 開発

• Windows Azure Mobile Servicesによる、Windows Azure &Windows 8開発

Page 25: Windows Azure Today and Tomorrow - WordPress.com · 本セッションのテーマ Windows Azure を活用したWindows 8 アプリ ケーション開発 • Windows Azure の最新情報、Windows

Windows Azure Mobile Services とは?

Page 26: Windows Azure Today and Tomorrow - WordPress.com · 本セッションのテーマ Windows Azure を活用したWindows 8 アプリ ケーション開発 • Windows Azure の最新情報、Windows

キーとなるシナリオWindows Azure Mobile Services が向いているのは:

Page 27: Windows Azure Today and Tomorrow - WordPress.com · 本セッションのテーマ Windows Azure を活用したWindows 8 アプリ ケーション開発 • Windows Azure の最新情報、Windows

構造化されたストレージの利用Windows Azure SQL Database

単一のデータベースアプリはスキーマで分割可能AppX.Todoitem

AppY.Todoitem

データの管理は下記いずれでも可能ポータル上

SQL 管理ポータル

SQL Management Studio

REST API…

Page 28: Windows Azure Today and Tomorrow - WordPress.com · 本セッションのテーマ Windows Azure を活用したWindows 8 アプリ ケーション開発 • Windows Azure の最新情報、Windows

サーバー側ロジック

ストレージ用に自動生成されるサービス用 REST API

Dynamic な Schema の On/Off が可能

CRUD 操作に対するサーバー側ロジック追加が可能

高度なクエリーの利用が可能

Page 29: Windows Azure Today and Tomorrow - WordPress.com · 本セッションのテーマ Windows Azure を活用したWindows 8 アプリ ケーション開発 • Windows Azure の最新情報、Windows

サーバー側ロジック

サポートされたモジュール + Globals

mssql

request

console

push

tables

statusCodes

mssql.query('select top 1 * from statusupdates',

{ success: function(results) {

console.log(results);

}

}

);

Page 30: Windows Azure Today and Tomorrow - WordPress.com · 本セッションのテーマ Windows Azure を活用したWindows 8 アプリ ケーション開発 • Windows Azure の最新情報、Windows

REST API と SQL 型とのマッピング

JSON Value T-SQL Type

Numeric values (integer, decimal, floating point)

Float

Boolean Bit

DateTime DateTimeOffset(3)

String Nvarchar(max)

Page 31: Windows Azure Today and Tomorrow - WordPress.com · 本セッションのテーマ Windows Azure を活用したWindows 8 アプリ ケーション開発 • Windows Azure の最新情報、Windows

Push 通知ライフサイクル概要

• 1. チャネル URI を要求

• 2. クラウド サービスに登録

• 3. 認証とプッシュ通知

Cloud Service

Page 32: Windows Azure Today and Tomorrow - WordPress.com · 本セッションのテーマ Windows Azure を活用したWindows 8 アプリ ケーション開発 • Windows Azure の最新情報、Windows

Push 通知

Windows Notification Services (WNS) を使ってToast、Tile、および Badge の各通知を提供

Portal を使って

WNS Client に SID をセキュアにパッケージ

push.wns.* が提供するのは:

・プッシュ通知を構成するための

クリーンで簡単なオブジェクトモデル・WNS を使った認証

Page 33: Windows Azure Today and Tomorrow - WordPress.com · 本セッションのテーマ Windows Azure を活用したWindows 8 アプリ ケーション開発 • Windows Azure の最新情報、Windows

認証*Windows Live を使用した認証

個々の CRUD 操作に対するTable レベルのパーミッション付与

Everyone

Anyone with the Application Key

Only Authenticated Users

Only Scripts and Admins

サーバー側スクリプトを使用した更に粒度の細かい制御

user.level: {admin, authenticated, anonymous}

user.userId: id or undefined if not authenticated

Page 34: Windows Azure Today and Tomorrow - WordPress.com · 本セッションのテーマ Windows Azure を活用したWindows 8 アプリ ケーション開発 • Windows Azure の最新情報、Windows

Diagnostics、その他の機能

DiagnosticsAPI 呼び出しCPU 時間Data 出力

Loggingconsole.error(…)console.log(…)…

Scale - Computeインスタンスを増やしてスケールアウトVM サイズのスケールアップ

Scale - StorageMobile Services テナントの専用 SQL Database への変更SQL Database のスケールアップ

Page 35: Windows Azure Today and Tomorrow - WordPress.com · 本セッションのテーマ Windows Azure を活用したWindows 8 アプリ ケーション開発 • Windows Azure の最新情報、Windows

Start Windows Azure

http://WindowsAzure.com

90 日 無料評価版開発者向け情報

Web 開発企業

月 375 時間まで

最大 3 年間

無償

スタートアップ企業

月 1,500 時間まで

Page 36: Windows Azure Today and Tomorrow - WordPress.com · 本セッションのテーマ Windows Azure を活用したWindows 8 アプリ ケーション開発 • Windows Azure の最新情報、Windows

Windows ストアアプリ開発支援最新情報は常にこちら→ http://www.facebook.com/5Metro

Developer

Camp

Application

Excellence Lab

http://aka.ms/devcampJP

http://aka.ms/AELjp

テンプレート& 素材集 http://msdn.microsoft.com/ja-jp/jj556277

Page 37: Windows Azure Today and Tomorrow - WordPress.com · 本セッションのテーマ Windows Azure を活用したWindows 8 アプリ ケーション開発 • Windows Azure の最新情報、Windows

まとめ

クラウド移行を可能にするシナリオを大幅に拡大

より多くのお客様のクラウド移行を支援

Window 8アプリのバックエンドとしても最適

Page 38: Windows Azure Today and Tomorrow - WordPress.com · 本セッションのテーマ Windows Azure を活用したWindows 8 アプリ ケーション開発 • Windows Azure の最新情報、Windows

最後に…

• アンケートにご協力ください• 記入したアンケートは受付に

• 質問があれば、お気軽にどうぞ• おみやげ (クラウディア グッズ、

Tシャツ) 差し上げます

Page 39: Windows Azure Today and Tomorrow - WordPress.com · 本セッションのテーマ Windows Azure を活用したWindows 8 アプリ ケーション開発 • Windows Azure の最新情報、Windows

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.

The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the

part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.