31
Azure App Service Hokuriku.NETJAZUG信州合同勉強会 2015.03.28 Japan Azure User Group/Keiji KAMEBUCHI

Azure App Service Overview LT

Embed Size (px)

Citation preview

Page 1: Azure App Service Overview LT

Azure App Service

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

2015.03.28

Japan Azure User Group/Keiji KAMEBUCHI

Page 2: Azure App Service Overview LT

Self Introduction

{

"name" : "Keiji Kamebuchi",

"corporation" : "pnop Inc.",

"mail" : "[email protected]",

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

"twitter" : "@kosmosebi",

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

}

Copyright© 2015, @kosmosebi All Rights Reserved.

22

buchizo@kosmosebi

Senior Fellow

Page 3: Azure App Service Overview LT

経緯

Copyright© 2015, @kosmosebi All Rights Reserved.

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

Page 4: Azure App Service Overview LT

東京からきました

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

Copyright© 2015, @kosmosebi All Rights Reserved.

4

Page 5: Azure App Service Overview LT

趣味?

Copyright© 2015, @kosmosebi All Rights Reserved.

5

Page 6: Azure App Service Overview LT

趣味?

Copyright© 2015, @kosmosebi All Rights Reserved.

6

https://isazure.azurewebsites.net/

Page 7: Azure App Service Overview LT

宣伝

Copyright© 2015, @kosmosebi All Rights Reserved.

7

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

Page 8: Azure App Service Overview LT

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

Copyright© 2015, @kosmosebi All Rights Reserved.

8

Page 9: Azure App Service Overview LT

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

Copyright© 2015, @kosmosebi All Rights Reserved.

9

Page 10: Azure App Service Overview LT

ざっくり全体像

Copyright© 2015, @kosmosebi All Rights Reserved.

10

ここ!

Page 11: Azure App Service Overview LT

Azure App Service

Copyright© 2015, @kosmosebi All Rights Reserved.

11増えた!

Page 12: Azure App Service Overview LT

App Service?

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

Powerful

High-Scalability

High-Productivity

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

Copyright© 2015, @kosmosebi All Rights Reserved.

12

Page 13: Azure App Service Overview LT

Architecture (個人的な予想)

Copyright© 2015, @kosmosebi All Rights Reserved.

13

Page 14: Azure App Service Overview LT

Web Apps

Azure Websitesが名称変更

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

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

Copyright© 2015, @kosmosebi All Rights Reserved.

14

Web Apps

ユーザーアプリ

Mobile Apps

ユーザーアプリ

API Apps

ユーザーアプリ

LogicApps

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

Page 15: Azure App Service Overview LT

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

Page 16: Azure App Service Overview LT

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

Page 17: Azure App Service Overview LT

API Apps概略

Copyright© 2015, @kosmosebi All Rights Reserved.

17

Page 18: Azure App Service Overview LT

API定義など

Copyright© 2015, @kosmosebi All Rights Reserved.

18SwaggerによるAPI情報

Page 19: Azure App Service Overview LT

補足: 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

Page 20: Azure App Service Overview LT

補足: Node.jsでの構成例

Copyright© 2015, @kosmosebi All Rights Reserved.

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

Page 21: Azure App Service Overview LT

補足: こまったら

Copyright© 2015, @kosmosebi All Rights Reserved.

21みそ先生にきこう!

Page 22: Azure App Service Overview LT

Logic Apps [Public Preview]

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

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

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

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

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

Copyright© 2015, @kosmosebi All Rights Reserved.

22

Page 23: Azure App Service Overview LT

Logic Apps 概略

Copyright© 2015, @kosmosebi All Rights Reserved.

23

Page 24: Azure App Service Overview LT

Logic Apps 概略

Copyright© 2015, @kosmosebi All Rights Reserved.

24

Page 25: Azure App Service Overview LT

定義例 #1

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

Copyright© 2015, @kosmosebi All Rights Reserved.

25

Metadata

APIの引数

Page 26: Azure App Service Overview LT

定義例 #2

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

Copyright© 2015, @kosmosebi All Rights Reserved.

26入力として使える値

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

Page 27: Azure App Service Overview LT

フローの中身はJSON

Copyright© 2015, @kosmosebi All Rights Reserved.

27

Page 28: Azure App Service Overview LT

補足: BizTalk Connectors

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

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

Copyright© 2015, @kosmosebi All Rights Reserved.

28

Page 29: Azure App Service Overview LT

料金

Web Hosting Plan は廃止

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

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

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

Copyright© 2015, @kosmosebi All Rights Reserved.

29

Page 30: Azure App Service Overview LT

まとめ

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

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

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

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

Productivity!

Mobile first, Cloud first!

Copyright© 2015, @kosmosebi All Rights Reserved.

30

Page 31: Azure App Service Overview LT

Let's get started!

Copyright© 2015, @kosmosebi All Rights Reserved.

31