Azure 虚拟机简介

22

Click here to load reader

description

Azure 虚拟机简介. 方兴 微软开发技术顾问 博 客: http://blog.csdn.net/shaunfang Azure 技术讨论组 (QQ): 289913970. Version: November, 2012. Cloud First Provisioning. Getting Started. New Disk Persisted in Storage. Select Image and VM Size. Windows Server. Boot VM from New Disk. Management Portal. Linux. >_. - PowerPoint PPT Presentation

Transcript of Azure 虚拟机简介

Page 1: Azure  虚拟机简介

Azure 虚拟机简介

方兴 微软开发技术顾问博客: http://blog.csdn.net/shaunfangAzure 技术讨论组 (QQ): 289913970

Page 2: Azure  虚拟机简介

New Disk Persisted in

Storage

Cloud

Cloud First ProvisioningSelect Image and VM SizeGetting Started

Management Portal

>_Scripting

(Windows, Linux and Mac)

REST API

Boot VM from New DiskWindows Server

Linux

Extra SmallSmallMediumLarge X-LargeLarge memory

Page 3: Azure  虚拟机简介

Supported Windows Server Applications

http://support.microsoft.com/kb/2721672

Page 4: Azure  虚拟机简介

We supportSUSE SLES 11 sp2Open SUSE 12.3CentOS 6.5 by OpenLogic Ubuntu 12.04/12.10/13.04

Specific versions are endorsedIntegration ComponentsTesting and validation by partnersBring other variants at your own risk**

Linux on Windows Azure

**Integration Work will be needed

Page 5: Azure  虚拟机简介

第三方维护的 VM 仓库

可自己打包、上传映像 其他人可以下载、部署

https://vmdepot.msopentech.cn/

Page 6: Azure  虚拟机简介

演示

部署虚拟机

Page 7: Azure  虚拟机简介

磁盘和映像OS 映像• 微软• 合作伙伴• 用户

磁盘• OS 磁盘• 数据磁盘

对新的虚拟机有基础 OS 映像Sys-Prepped/ 一般化 / 只读通过上传或者捕获创建

虚拟机的可写磁盘在虚拟机创建的时候创建或者上传存在的 VHD

Page 8: Azure  虚拟机简介

持久的磁盘和高耐用性

Windows Azure 存储

宿主物理机

Windows Azure 存储( 灾难恢复 )

虚拟机

Page 9: Azure  虚拟机简介

持久的磁盘和高耐用性

Windows Azure 存储

宿主物理机

Windows Azure 存储( 灾难恢复 )

虚拟机

宿主物理机

虚拟机

Page 10: Azure  虚拟机简介

虚拟机磁盘配置

Windows• C:\ = OS 磁盘• D:\ = 临时盘• E:\, F:\. G:\ ... 数据磁盘

能力 OS 磁盘 数据磁盘 临时盘

默认托管的缓存 读写 无

缺省大小 Windows 127 GBLinux 30GB

根据虚拟机规格

最大大小 127 GB 1 TB

可以变成映像 是 否Linux• /dev/sda ( 挂载点为 /) = OS 磁盘• /dev/sdb ( 挂载点为 /mnt/resource) = 临

时盘• /dev/sdc… 数据磁盘

虚拟机创建时,只有 OS 盘和临时盘

Page 11: Azure  虚拟机简介

磁盘可以手动迁移On-Premises Cloud

MyApp.vhd

Page 12: Azure  虚拟机简介

演示

虚拟机磁盘管理

Page 13: Azure  虚拟机简介

虚拟机网络

Page 14: Azure  虚拟机简介

首先了解下 Azure 云服务

Cloud Service

云服务是一个容器,对外提供单一的 DNS 地址和 IP 地址,内部容纳多个虚拟机将内部资源与外部资源隔离可以看成是一个应用的边界可以当作一个整体管理,进行监控、自动缩放

VM 1 VM 2

VM 3 VM 4

Page 15: Azure  虚拟机简介

采用缺省选项创建虚拟机,将自动建立一个云服务

云服务和外部 IP 一一对应

云服务

外部 IP ( VIP )2200 端口

内部 IP22 端口

Page 16: Azure  虚拟机简介

外部端口定义: ACL 与端口映射

端口 3389端口 5586

<IP Range>

端口 5587

云服务

端口定义外部端口内部端口协议 (TCP/UDP)名称ACL

端口 3389

公用 IP/VIP

内部 IP 1

内部 IP 2

内部通信无需专门定义

Page 17: Azure  虚拟机简介

外部端口可增加负载均衡能力

云服务缺省情况下, Azure 根据每个 VM 的健康状态决定是否向该虚拟机转发请求

端口 80

Page 18: Azure  虚拟机简介

VM 4

VM 3

VM 2

VM 1

LB

VNET

子网1

子网2

• 自定义内网地址段• 可容纳多个云服务• 虚拟网络内均为内网通信• 可与外部建立 VPN 通道

虚拟网络

Page 19: Azure  虚拟机简介

演示

虚拟机端口定义

Page 20: Azure  虚拟机简介

再次强调:正确使用虚拟机临时盘

Page 21: Azure  虚拟机简介

动手实验 进入 http://sdrv.ms/15ai3Ej,打开 Labs Manual 里的”虚拟机实验 .pdf”

Page 22: Azure  虚拟机简介

© 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.

Translated to Chinese Simplified Version by Shanghai Yungoal Info Tech Co., Ltd.