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