Upload
vuongbao
View
236
Download
0
Embed Size (px)
Citation preview
本セッションでお伝えしたい事
IaaSの基礎とサイズ選択の勘所
IaaS のストレージ選択の勘所
IaaS の Virtual Network 基礎
Azureでは、
“リージョン“ という名前
でDC場所を区別している
PaaS
ストレージ
サーバーHW
ネットワーク
O/S
ミドルウェア
仮想化技術
アプリケーション
ランタイム
データ
SaaS
ストレージ
サーバーHW
ネットワーク
O/S
ミドルウェア
仮想化技術
アプリケーション
ランタイム
データ
IaaS
ストレージ
サーバーHW
ネットワーク
O/S
ミドルウェア
仮想化技術
データ
アプリケーション
ランタイム
ユーザー管理
ベンダー管理
オンプレミス
ストレージ
サーバーHW
ネットワーク
O/S
ミドルウェア
仮想化技術
データ
アプリケーション
ランタイム
HTML/アプリ
Web サーバー
ゲスト OS
物理
仮想化
IaaS
HTML/アプリ
PaaSAuto Scale
アプリ以外の運用不要世界中のDCへLB
PaaS
Azure管理
利用者が管理
外部
内部
大量のx86サーバー
Windows Server (Hyper-V)
お客様の仮想マシン
大量のネットワークスイッチ(SDN)
大容量ストレージ(VMのディスク置き場)
次世代 Dv2Dシリーズより35%高速な最新
CPU
Dv2/DSv2
Aシリーズより60%高速なCPUSSDストレージ
D/DS
開発・検証汎用インスタンス
A
大容量メモリ多数コアを提供
G/GS/M
RDMAGPU搭載モデルHPC, RemoteFX 用途に最適化
H/N
コンピューティング能力が最適化された VM サイズ
F/Fs
ディスク性能重視
ビッグデータSQL
No SQLDB向
Ls
https://docs.microsoft.com/ja-jp/azure/virtual-machines/windows/sizes
https://docs.microsoft.com/ja-jp/azure/virtual-machines/linux/sizes?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json
https://azure.microsoft.com/ja-jp/regions/services/
• 全リージョン一覧Get-AzureRmLocation | foreach-object {Get-AzureRmVMSize -location $_.Location | ft $_.Location, Name}
• 特定リージョンのみ(例:東日本)
Get-AzureRmVMSize -Location "japanEast"
PowerShellも便利
WEBから確認可能
https://support.microsoft.com/ja-jp/help/2721672/microsoft-
server-software-support-for-microsoft-azure-virtual-machines
https://www.microsoft.com/en-us/CloudandHosting/licensing_sca.aspx
https://docs.microsoft.com/ja-jp/azure/virtual-machines/linux/endorsed-distros
VM視点では、各OS用のVMマスターイメージ(VHD)が置いてある場所
Azureのイメージを利用する場合は、このイメージ(VHD)をコピーしてVMを作成
F5/Barracuda/Check Point/Trend Micro/Palo Alto等、アプライアンスも存在
OSバージョンによっては、ここに存在しないバージョンもある
サポート切れのOSはAzure上に標準イメージがないため、
自分で持ち込む必要がある(例:Windows Server 2003)
オンプレミスの Hyper-V と異なり、
Azure 上の仮想マシンは、
LP と VP の比が 1:1 です。
つまり、物理的なコアが一つ丸ごと、
仮想マシン上の CPU コアになります。
「他の仮想マシン」とコアを共有する
ことがないため、物理コアの性能を
すべて享受できます。
A0 (XS)サイズだけは
例外で、複数の仮想マシンでコアを
共有します。
(LP:VP が 1:Nになります)
Mシリーズはハイパースレッディング
を利用しています。
https://docs.microsoft.com/ja-jp/azure/virtual-machines/windows/compute-benchmark-scores
https://docs.microsoft.com/ja-jp/azure/virtual-machines/linux/compute-benchmark-scores
CPU/Memory は仮想環境なのでオンプレのHyper-Vと同等の考え方でOK
VMをシャットダウンすれば、
スケールアップ・スケールダウン
が可能
NVIDIA M60 NVIDIA K80(NC24rは+InfiniBand)
northeurope:Standard_NV6
northeurope:Standard_NV12
northeurope:Standard_NV24
northeurope:Standard_NC6
northeurope:Standard_NC12
northeurope:Standard_NC24
northeurope:Standard_NC24r
westeurope:Standard_NV6
westeurope:Standard_NV12
westeurope:Standard_NV24
westeurope:Standard_NC6
westeurope:Standard_NC12
westeurope:Standard_NC24
westeurope:Standard_NC24r
japaneast:Standard_NV6
japaneast:Standard_NV12
japaneast:Standard_NV24
australiaeast:Standard_NV6
australiaeast:Standard_NV12
australiaeast:Standard_NV24
southeastasia:Standard_NV6
southeastasia:Standard_NV12
southeastasia:Standard_NV24
eastus:Standard_NV6
eastus:Standard_NV12
eastus:Standard_NV24
eastus:Standard_NC6
eastus:Standard_NC12
eastus:Standard_NC24
eastus:Standard_NC24r
eastus2:Standard_NV6
eastus2:Standard_NV12
eastus2:Standard_NV24
northcentralus:Standard_NC6
northcentralus:Standard_NC12
northcentralus:Standard_NC24
northcentralus:Standard_NC24r
northcentralus:Standard_NV6
northcentralus:Standard_NV12
northcentralus:Standard_NV24
southcentralus:Standard_NV6
southcentralus:Standard_NV12
southcentralus:Standard_NV24
southcentralus:Standard_NC6
southcentralus:Standard_NC12
southcentralus:Standard_NC24
southcentralus:Standard_NC24r
uksouth:Standard_NC6
uksouth:Standard_NC12
uksouth:Standard_NC24
uksouth:Standard_NC24r
uksouth:Standard_NV6
uksouth:Standard_NV12
uksouth:Standard_NV24
westus2:Standard_NC6s_v2
westus2:Standard_NC12s_v2
westus2:Standard_NC24rs_v2
westus2:Standard_NC24s_v2
westus2:Standard_NC6
westus2:Standard_NC12
westus2:Standard_NC24
westus2:Standard_NC24r
westus2:Standard_NV6
westus2:Standard_NV12
westus2:Standard_NV24
westus2:Standard_ND6s
westus2:Standard_ND12s
westus2:Standard_ND24rs
westus2:Standard_ND24s
Get-AzureRmLocation | foreach-object `
{
$location = $_.Location
Get-AzureRmVMSize -location $_.Location | ForEach-Object {if ($_.Name -like "Standard_N*"){ $location + ":" + $_.Name } }
}
A8,A9,H16r,H16mrはInfiniBand搭載
northeurope:Standard_H8
northeurope:Standard_H16
northeurope:Standard_H8m
northeurope:Standard_H16m
northeurope:Standard_H16r
northeurope:Standard_H16mr
westeurope:Standard_H8
westeurope:Standard_H16
westeurope:Standard_H8m
westeurope:Standard_H16m
westeurope:Standard_H16r
westeurope:Standard_H16mr
uksouth:Standard_H8
uksouth:Standard_H16
uksouth:Standard_H8m
uksouth:Standard_H16m
uksouth:Standard_H16r
uksouth:Standard_H16mr
westus2:Standard_H8
westus2:Standard_H16
westus2:Standard_H8m
westus2:Standard_H16m
westus2:Standard_H16r
westus2:Standard_H16mr
eastus:Standard_H8
eastus:Standard_H16
eastus:Standard_H8m
eastus:Standard_H16m
eastus:Standard_H16r
eastus:Standard_H16mr
westus:Standard_H8
westus:Standard_H16
westus:Standard_H8m
westus:Standard_H16m
westus:Standard_H16r
westus:Standard_H16mr
northcentralus:Standard_H8
northcentralus:Standard_H16
northcentralus:Standard_H8m
northcentralus:Standard_H16m
northcentralus:Standard_H16r
northcentralus:Standard_H16mr
southcentralus:Standard_H8
southcentralus:Standard_H16
southcentralus:Standard_H8m
southcentralus:Standard_H16m
southcentralus:Standard_H16r
southcentralus:Standard_H16mr
japaneast:Standard_H8
japaneast:Standard_H16
japaneast:Standard_H8m
japaneast:Standard_H16m
japaneast:Standard_H16r
japaneast:Standard_H16mr
eastus:Standard_A8
eastus:Standard_A9
westus:Standard_A8
westus:Standard_A9
northcentralus:Standard_A8
northcentralus:Standard_A9
southcentralus:Standard_A8
southcentralus:Standard_A9
northeurope:Standard_A8
northeurope:Standard_A9
westeurope:Standard_A8
westeurope:Standard_A9
japaneast:Standard_A8
japaneast:Standard_A9
ディスク種類として、SSD と HDD が選択可
VM視点では、単なるVHDの置場用ストレージ
Subscription(≒契約)
Storage Account
https://*.core.windows.net
最大 x 200 Storage Account
(≒97PB)/Subscription
500 TB
レプリケーション設定
LRS
3重化
GRS東日本 西日本
地理冗長
データ格納場所
VHDBackup
log
仮想統合環境の場合、ストレージ製品の上限性能以下に負荷が収まっていれば
VM単位のIOを特に意識してなくても何とかなっていました。
ストレージを監視
全体であふれなければ
VM単位のIOを正確に意識しなくてもOKだった
①VHD単位の性能上限
②VMサイズによる性能上限
③ストレージ領域に対する性能上限
CPU/Memory だけで構成やサイズを判断せず、IO性能要件の考慮が必須です。
3つの考慮が必要
Standard Storage Account最大500TB/1 Account20000 IOPS/1 Account
最大スループット(LRS) R:10Gbps/S:15Gbps
BlockPage Table Queue
1VHD最大 4095GB
500 IOPS,60MB/s
Premium Storage Account最大35TB/1 Account
送受信スループット最大 50Gbps
1VHD最大 4095GB
7500 IOPS,250MB/s
Page
例: IaaS VM GS5
CPU 32コア
メモリ 448GB
HDD 64個
NIC 16
Windows/Linux
VMサイズによって接続可能HDDは異なる
Files
https://docs.microsoft.com/ja-jp/azure/azure-subscription-service-limits#storage-limits
Azure Backupは、現時点では
1TB以上のVHDはサポート外
https://docs.microsoft.com/ja-jp/azure/virtual-machines/linux/sizes?toc=%2fazure%2fvirtual-
machines%2flinux%2ftoc.json
VM 限界IOPS VM限界MB/s VHD限界MB/s VHD限界 IOPS
20000 500 250 x # VHD 7500 x # VHD
60 x # VHD 500 x # VHD
32
Storage Account MAX bps Storage Account Max
IOPS
S:15Gbps,R:10Gbps (standard LRS)
S:1875MB/s, R:1250MB/s
20000
Total 50Gbps (Premium)
=6250MB/s
-
# 25 40#
LRSのみ 実使用GB課金でなく、サイズ課金 Azure to Azure のASRは将来対応予定
VM 限界IOPS VM限界MB/s VHD限界MB/s VHD限界 IOPS
20000 500 250 x # VHD 7500 x # VHD
60 x # VHD 500 x # VHD
32
# #
VMのIO性能のみ考慮すればOK
Managed Disk は設計が楽
管理ディスク(Managed Disk)を利用する場合は、4.の考慮は不要
アドレス空間
サブネット
172.18.0.0/16
例
172.18.1.0/24
224.0.0.0/4 (マルチキャスト)
255.255.255.255/32 (ブロードキャスト)
127.0.0.0/8 (ループバック)
169.254.0.0/16 (リンクローカル)
168.63.129.16/32 (内部 DNS)
アドレス空間A
サブネット1
172.18.0.0/16
例
172.18.1.0/24
サブネット2 172.18.2.0/24
アドレス空間B
サブネット3
172.19.0.0/16
172.19.1.0/24
サブネット4 172.19.2.0/24
・同じVNet 中の仮想マシン同士は自動ルーティング・( VNet 標準実装の SNAT 経由で)インターネット通信も可能
仮想マシンのサイズによって、作成できる最大仮想NIC数が異なり、最大で32NIC
VNet
× 〇
通信元VM 通信先VM
VM① VM② VM③ VM④
VM① 〇 × ×
VM② 〇 × ×
VM③ × × ×
VM④ × × ×
このままでは、同じVNet内のVM同士しか、通信できない
通信元VM 通信先VM
VM① VM② VM③ VM④
VM① 〇 〇 〇
VM② 〇 〇 〇
VM③ 〇 〇 〇
VM④ 〇 〇 〇
VPN Gatewayで全て通信可能に
通信経路は閉域網またはインターネットを利用可能
Internet
種類 宛先 nexthop
System
internet
0.0.0.0/0 Azure GW
System VNet 192.168.0.0/16VNetアドレス空間
VNet 内
System On-
Premises
172.16.0.0/24ローカルネットワークゲートウェイに手動定義BGP経由で広報されたアドレス
VPN GW
Internet
SNAT
Azure側が一時的にPublic IPを付与
SNATしてインターネット通信可能
Internet
Public IP無
VMのPublic IPで通信
Public IP有
Azureはデフォルトで
インターネット通信可
まとめ
世界中にある単なる仮想環境基盤
OS以上の管理だけですむ
好きな時に、好きな分だけ利用
© 2015 Microsoft Corporation. All rights reserved.
https://azure.microsoft.com/ja-jp/pricing/
• http://aka.ms/startazure
https://docs.microsoft.com/ja-jp/azure/
https://azure.microsoft.com/ja-jp/pricing/
https://www.microsoft.com/ja-jp/Server-Cloud/local/support/cloud-direct/
自分の目と手で試しましょう!
51
ビデオで過去の
ウェブセミナーを視聴する▶▶▶ http://aka.ms/dx-ondemand
セミナー・ウェブセミナーに参加する ▶▶▶ https://aka.ms/azjp-events
Azure の活用を
電話で相談する▶▶▶
0120-337-499
または
お問い合わせフォーム
https://aka.ms/adj
対面で Azure の活用を相談する
Azure 相談窓口▶▶▶
Azure Antenna (渋谷)
月~金午前中および
特設イベントがない月曜日午後
相談窓口 (名古屋)