View
7.466
Download
0
Embed Size (px)
Citation preview
InsideWindows Azure Websites
Microsoft Corporation河野通宗
Developer Camp | 2012 Japan Fall
自己紹介
• Azure Web サイトを作っています
• SDET です
• こんなところで働いてます
Developer Camp | 2012 Japan Fall
自己紹介
• チーム全体で 40 人くらいです ( Dev / Test / PM )
• 他の AAPT チームも近くにいます
Developer Camp | 2012 Japan Fall
Agenda
• Azure Websites 概要
•開発動機
•内部動作の詳細
•保守・監視機構
•開発プロセス
Developer Camp | 2012 Japan Fall
Windows Azure Websites とは
Start Simple
数クリックで作成完了
メジャーなOSSに対応
データベース提供
10サイトまで無料
Go Live Rapid Scale
Scale out
Scale up/down
Demo
Developer Camp | 2012 Japan Fall
必要は発明の母
デプロイ時間
容易でないスケール変更
既存資産を再利用しづらい
ストレージの保守
スケーリング困難
複雑な初期設定
ミニプロジェクト開始 プロジェクト開始
Antares
Developer Camp | 2012 Japan Fall
Antares 開発 principles (たぶん)
• 単一ビルドで をサポート
の確保されたマルチテナント環境
重視(ダウンタイムをゼロに近づける)
低下をできるだけ抑える
Developer Camp | 2012 Japan Fall
Websites master
API endpoint
Azure Infrastructure(portal, DNS, etc)
Stamp3
Stamp2
Stamp1
全体構成
Developer Camp | 2012 Japan Fall
Websites master
API endpoint
Azure Infrastructure(portal, DNS, etc)
Stamp3
Stamp2
Stamp1
サイト新規作成site1
create
site1
site1@Stamp2
Developer Camp | 2012 Japan Fall
Websites master
API endpoint
Azure Infrastructure(portal, DNS, etc)
Stamp3
Stamp2
Stamp1
サイト呼び出し
HTTP
site1?
IP
Stamp3
Stamp1
DNS query
HTTP
External endpoint
Internal endpoint
site1@Stamp2
Developer Camp | 2012 Japan Fall
HTTP WebWorkerWebWorker
WebWorkerFrontend(IIS ARR)
SQL Database VHD blobs
SQL Database
API endpoint
Publish endpoint
File Server
WebWorker
サイト呼び出し(Cold)
http://site1..../
Developer Camp | 2012 Japan Fall
Frontend(IIS ARR)
SQL Database
VHD blobs
SQL Database
API endpoint
Publish endpoint
File Server
サイト呼び出し(Cold)
WebWorker
site1site1
Developer Camp | 2012 Japan Fall
HTTP WebWorkerWebWorker
WebWorker
SQL Database VHD blobs
SQL Database
API endpoint
Publish endpoint
File Server
サイト呼び出し(Hot)
http://site1..../
site1
WebWorker
Frontend(IIS ARR)
Developer Camp | 2012 Japan Fall
ストレージ
File Server
File Server
File Server
File Server
File Server
Developer Camp | 2012 Japan Fall
ストレージ
1TB × 100=
1TB × 100=
1TB × 100=
Developer Camp | 2012 Japan Fall
リージョンとサイト
サブスクリプション: 課金の単位
Demo
Developer Camp | 2012 Japan Fall
ソースコントロール
Git プロトコルで通信
Push notification を受けて pull 実行
ASP.NET/mvc は Web サイトがビルド
TFS サーバがビルド
WebDeploy で Web サイトにデプロイ
ユーザは気にする必要なし!使い慣れたリポジトリを使い続ければOK!
Developer Camp | 2012 Japan Fall
WebWorker
Frontend(IIS ARR)
SQL Database
API endpoint
Publish endpoint
File Server
監視系
Developer Camp | 2012 Japan Fall
開発プロセス
• 1スプリント=約3~6週間
• Feature crew 単位で scrum
• 役割• PM: スケジューリング、バグ管理、Live Site 諸々
• Dev: 設計・実装・バグ修正
• Test: テストの設計・実装・実行・バグ修正、Sign off
• Ops: 運用環境デプロイ、監視
• Servicing Loop
Developer Camp | 2012 Japan Fall
テスト: すべて自動化
• 機能テスト
• End-to-end シナリオテスト
• ストレステスト
• パフォーマンステスト
• 可用性テスト
• セキュリティテスト
• アップグレードテスト
• アプリケーション互換性テスト
Developer Camp | 2012 Japan Fall
アップグレード
• VIP swap 不使用
• ダウンタイム ゼロ
• データベースのフリーズなし
Developer Camp | 2012 Japan Fall
どんどん使ってください!
• フィードバックお待ちしてます
• 面白い使いかたをお待ちしてます
• これからも改善を続けます
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.