Azure App Service Overview LT

Preview:

Citation preview

Azure App Service

Hokuriku.NET・JAZUG信州合同勉強会

2015.03.28

Japan Azure User Group/Keiji KAMEBUCHI

Self Introduction

{

"name" : "Keiji Kamebuchi",

"corporation" : "pnop Inc.",

"mail" : "kamebuchi@pnop.co.jp",

"web" : "http://buchizo.wordpress.com/",

"twitter" : "@kosmosebi",

“timezone” : “UTC-8:00 PST”,

}

Copyright© 2015, @kosmosebi All Rights Reserved.

22

buchizo@kosmosebi

Senior Fellow

経緯

Copyright© 2015, @kosmosebi All Rights Reserved.

3※最近ソーシャルハラスメントをたくさん受けてる気がする :)

東京からきました

※出張のついで(普段は大阪)

Copyright© 2015, @kosmosebi All Rights Reserved.

4

趣味?

Copyright© 2015, @kosmosebi All Rights Reserved.

5

趣味?

Copyright© 2015, @kosmosebi All Rights Reserved.

6

https://isazure.azurewebsites.net/

宣伝

Copyright© 2015, @kosmosebi All Rights Reserved.

7

http://www.buildinsider.net/web/azure/01

北陸コミュニティ初なので仲良くしてください

Copyright© 2015, @kosmosebi All Rights Reserved.

8

Azure App Service時間がないので概要だけ

Copyright© 2015, @kosmosebi All Rights Reserved.

9

ざっくり全体像

Copyright© 2015, @kosmosebi All Rights Reserved.

10

ここ!

Azure App Service

Copyright© 2015, @kosmosebi All Rights Reserved.

11増えた!

App Service?

Mobile First, Cloud First な世界を体現するためのサービス

Powerful

High-Scalability

High-Productivity

世界と繋げられるポテンシャル企業、Web、デバイス、クラウド

Copyright© 2015, @kosmosebi All Rights Reserved.

12

Architecture (個人的な予想)

Copyright© 2015, @kosmosebi All Rights Reserved.

13

Web Apps

Azure Websitesが名称変更

機能等はこれまでのWebsitesと同じ(詳細は割愛)

App Serviceの4つ*のアプリケーションタイプの動作基盤

Copyright© 2015, @kosmosebi All Rights Reserved.

14

Web Apps

ユーザーアプリ

Mobile Apps

ユーザーアプリ

API Apps

ユーザーアプリ

LogicApps

* Logic Appsは厳密には違うっぽい?

Mobile Apps [Public Preview]

Azure Mobile Servicesが名称変更

基本的な機能は踏襲+Web Appsの機能が利用可能(割愛)

今のところ.NET バックエンドのみっぽいとはいえWeb AppsベースなのでNode.jsも動くはず(今後に期待)

だれかHackしてください(無駄な労力な予感…)

既存のMobile Servicesからの移行は今のところないGA時に予定

面倒だけどしばらく使い分けしようか・・・

Copyright© 2015, @kosmosebi All Rights Reserved.

15

API Apps [Public Preview]

Web APIのホスティングに特化したアプリケーションタイプ

SwaggerでAPI情報が公開されているWebアプリケーションASP.NETに限らずNode.jsやPHPなどなど

Logic Appsで利用可能同一App Service Planのものに限る

一般的なWeb APIを単純化して再利用しやすくしたものマイクロサービス的な(マイクロである必要性は必ずしも無い)

Copyright© 2015, @kosmosebi All Rights Reserved.

16

API Apps概略

Copyright© 2015, @kosmosebi All Rights Reserved.

17

API定義など

Copyright© 2015, @kosmosebi All Rights Reserved.

18SwaggerによるAPI情報

補足: MarketplaceConnectors

Box

Chatter

Delay

Dropbox

HD Insight

Marketo

Media Services

OneDrive

SharePoint

SQL Server

Office 365

Oracle

QuickBooks

SalesForce

Sugar CRM

SAP

Service Bus

Azure Storage

Timer / Recurrence

Twilio

Twitter

IBM DB2

Infomix

Websphere MQ

Azure Web Jobs

Yammer

Dynamics CRM

Dynamics AX

Hybrid Connectivity

Copyright© 2015, @kosmosebi All Rights Reserved.

19

Protocols

HTTP/S

File

Flat File

FTP/SFTP

POP3/IMAP4

SMTP

SOAP+WCF

BizTalk Services

Batching/Debatching

Validate

Extract(XPath)

Transform(+Mapper)

Convert(XML-JSON)

Convert(XML-FF)

X12

EDIFACT

AS2

TPMOM

Rules Engine

補足: Node.jsでの構成例

Copyright© 2015, @kosmosebi All Rights Reserved.

20※ドキュメントなさすぎて今は茨の道

補足: こまったら

Copyright© 2015, @kosmosebi All Rights Reserved.

21みそ先生にきこう!

Logic Apps [Public Preview]

フローを定義して実行するためのアプリケーションタイプ

API Appsを並べてフロー(パイプライン)を定義Marketplaceから公開されているAPI Appsを追加して選択ことも可能

スケジュール実行や手動など開始トリガーを指定

プレビューポータル上のデザイナで簡単に定義可能

マイクロサービス化されたAPI Appsを組み合わせるだけで一連の処理を実装できる

Copyright© 2015, @kosmosebi All Rights Reserved.

22

Logic Apps 概略

Copyright© 2015, @kosmosebi All Rights Reserved.

23

Logic Apps 概略

Copyright© 2015, @kosmosebi All Rights Reserved.

24

定義例 #1

アクションを選んで引数設定するとAPIの応答情報が見える

Copyright© 2015, @kosmosebi All Rights Reserved.

25

Metadata

APIの引数

定義例 #2

次のAPI Appに入力として渡せる

Copyright© 2015, @kosmosebi All Rights Reserved.

26入力として使える値

前のAPIの応答の値がこのAPIの引数に

フローの中身はJSON

Copyright© 2015, @kosmosebi All Rights Reserved.

27

補足: BizTalk Connectors

BizTalk Services絡みの機能が含まれてるAPI AppsとしてBizTalkとつなぐConnector(EDI連携とか)

Web AppsとオンプレをつなぐHybrid Connectionとか

Copyright© 2015, @kosmosebi All Rights Reserved.

28

料金

Web Hosting Plan は廃止

App Service Plan へApp Serviceの料金プラン

4つのアプリケーションタイプは何れかのプランに属する

同一プラン内は同じインスタンスサイズや制限を受ける

Copyright© 2015, @kosmosebi All Rights Reserved.

29

まとめ

App Service はとても強力なプラットフォーム

より簡単に、便利に、シンプルに

それでいて高い性能と堅牢性

注力すべきポイントに集中しよう!

Productivity!

Mobile first, Cloud first!

Copyright© 2015, @kosmosebi All Rights Reserved.

30

Let's get started!

Copyright© 2015, @kosmosebi All Rights Reserved.

31