Windows Azure Virtual Machines
Agenda• Windows Azure VMs• Getting Started with
VMs• Managing VMs• Managing VMs with
PowerShell• Understanding Linux
VMs
Windows Azure VMs
PaaS SaaSPhysical Virtual IaaS
A Continuous Offering From Private to
Public Cloud
Windows Azure Virtual MachinesIT Pro experience
Support for key server applications
Easy storage manageability
High availability features
Advanced networking
Integration with compute PaaS
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 ServerLinuxExtra SmallSmallMediumLarge X-Large
Supported Windows Server Applications
http://support.microsoft.com/kb/2721672
We will supportSUSE SLES 11 sp2Open SUSE 12.1CentOS 6.2 by OpenLogic* Ubuntu 12.04
Specific versions are endorsedIntegration ComponentsTesting and validation by partnersBring other variants at your own risk**
Linux on Windows Azure
*Image provided by OpenLogic based on CentOS 6.2**Integration Work will be needed
Gallery Images AvailableMicrosoftWindows Server 2008 R2SQL Server Eval 2012Windows Server 2012Biztalk Server 2013 Beta
Open SourceOpenSUSE 12.2CentOS 6.3Ubuntu 12.04/12.10SUSE Linux Enterprise Server 11 SP2
Virtual Machine Sizes
Each Persistent Data Disk Can be up to 1 TB
VM Size CPU Cores Memory Bandwidt
h# Data Disks
Extra Small Shared 768 MB 5 (Mbps) 1
Small 1 1.75 GB 100 (Mbps) 2Medium 2 3.5 GB 200 (Mbps) 4Large 4 7 GB 400 (Mbps) 8Extra Large 8 14 GB 800 (Mbps) 16
Linux Offering
1ST
First Class CitizenEnterprise + ISV
Open Source Community
Support
Virtual Machines and Cloud Services
Cloud Service is a…• Management• Configuration• Security• Networking• Service Model
boundary
Cloud Services, Roles, and Instances
INST
ANCE
S
ROLE
S
VM 1 VM 2 VM 3WEB ROLE
VM 4 VM 5 VM…WORKER ROLE
Cloud Services with Virtual MachinesMultiple Virtual Machines can be hosted within the same cloud service
Cloud Service
VM 1 VM 2
VM 3 VM 4
Multiple Cloud Services Configuration
OnPrem
LB
80/443
VPN Tunnel
Cloud Service 1
Cloud Service 2
Azure
WEBSQL
AD/DC/DNS
Corp Users
AD 1
Virtual Machine Availability
Service Level Agreements
What’s includedCompute Hardware failure (disk, cpu, memory)Datacenter failures - Network failure, power failureHardware upgrades, Software maintenance – Host OS UpdatesWhat is not includedVM Container crashes, Guest OS Updates
99.95% for multiple role instances4.38 hours of downtime per year
Server 2
SLA 99.95
Availability set
Server 1
Fault and Update DomainsFault Domains•Represent groups of resources anticipated to fail together•i.e. Same rack, same server•Fabric spreads instances across fault at least 2 fault domainsUpdate Domains•Represents groups of resources that will be updated together•Host OS updates honour service update domains•Specified in service definition•Default of 5 (up to 20)Fabric spreads role instances across Update Domains and Fault Domains
Fault DomainRack
Fault and Update DomainsFault Domain
Rack
INSTANCE
INSTANCE
INSTANCE
INSTANCE
INSTANCE
INSTANCE
INSTANCE
INSTANCE
UD #1
UD #1
UD #2
UD #2
Virtual Machine Availability SetsUpdate Domains are honored by host OS updates Fault
DomainRackFault
DomainRack
IIS1
SQL1
IIS2
SQL2
UD #2
UD #2
UD #1
UD #1
SQL Server2
SQL Server1
End to End Highly Available SolutionRedundancy at every level
IIS Web Application
Web Role
IIS Web Application
Web Role
LB
SQL M
irror
ingInternet
SQL-AVSET
IIS-AVSET
Demo
Configuring Load Balancing and High Availability
Disks
VM disk layoutOS Disk• Persistent• SATA• Drive C:
VM disk layoutTemporary Storage Disk• Local (Not Persistent)• SATA• Drive D:
VM disk layoutData Disk(s)• Persistent• SCSI• Customer Defined
Letter
Persistent Disk Management
• C:\ = OS Disk• D:\ = Non-Persistent Cache Disk• E:\, F:\. G:\ ... Data Disks
Capability OS Disk Data Disk
Host Cache Default
ReadWrite None
Max Capacity 127 GB 1 TBImaging Capable Yes NoHot Update Cache Setting
Requires RebootChange Cache Without Reboot, Add/Remove without Reboot.
Disk CachingDisk Type Default SupportedOS Disk ReadWrite Read-only and ReadWrite
Data Disk None None, Read-only and ReadWrite
Modify using Set-AzureOSDisk or Set-AzureDataDisk
Persistent Disks and Highly Durable
Windows Azure Storage
Windows Azure Storage (Disaster Recovery)
Virtual Machine
Persistent Disks and Highly Durable
Windows Azure Storage
Windows Azure Storage (Disaster Recovery)
Virtual Machine
Virtual Machine
Images & Disks
Disks and ImagesOS Images• Microsoft• Partner • User
Disks• OS Disks • Data Disks
Base OS image for new Virtual MachinesSys-Prepped/Generalized/Read Only Created by uploading or by capture
Writable Disks for Virtual MachinesCreated during VM creation or during upload of existing VHDs.
Image MobilityOn-Premises Cloud
MyApp.vhd
Bring Your Own Server/VHDOn-Premises
On Premises Virtual Server
MyApp.vhd
Cloud
Provision VM from Image or
Disk using portal, script or APIUse Case
• Forklift Migration of VMs• Sys Prepped ImagesVHD Must Be Fixed Disk * CSUpload Can Convert on Upload
Imaging VMs in the CloudCloud
Base.VHD
Identical/similar deployment instances using common OS image
as start
Capture VM Saves Customized Image to Your Image Library
What will work on upload…Images
Disks
Sysprep’d Windows Server VHD on Hyper-V
(Server 2008 R2 and Windows Server 2012)
Windows Azure Image
Windows Server VHD on Hyper-V
(Server 2008 R2 and Windows Server 2012)
Windows Azure Disk
Tips on BYO Generalized Images• Sysprep and
“Generalize” is expected
• Do NOT put unattend.xml on the disk
• Do NOT install the Windows Azure Integration Components!!
• No WA Agent
Demo
Migrate a Virtual Machine to the Cloud
Managing VMs
Manage using existing Tools
AzureOnPrem
Windows Server 2012
InternetAndroid
Windows Phone 8
Windows RT
iOS
X86/x64 Macs
Windows Server 2008
Windows Server 2003
Windows Server 2012
Windows Intune
VPN Tunnel
AD
Windows Server 2008
Windows Server 2003
Scripting CapabilitiesFull Support for IaaS• Windows Azure PowerShell Cmdlets• Cross Platform Scripting Built on node.js
Capabilities• Provisioning, Removal• Reboot, Start• Import and Export VM settings• Support for Windows and Linux VMs• Domain Join at Provision for Windows• Fully Customize VM with Data Disks and Endpoint
Configuration• Automate Virtual Network Settings
What can you do with PowerShell?
AutomationQuery, Manage and Configure Virtual Machines across multiple subscriptions, cloud services and storage accounts.
Virtual NetworkingCompletely Configure VNETs from a Script
Provision Fully Configured Virtual MachinesDomain JoinedStorage and Networking Configured
Virtual Machine Management
Quick VM Provisioning ModeSupports VM Creation in a Single Cmdlet
Create Multiple Pre-Defined VMs in a BatchNew-AzureVM -VMs $vm1, $vm2, $vm3
Advanced Provisioning Configuration ModeProvision With: Endpoints, Data DisksConfigure: Cache Settings for OS/Data Disks and Subnet Names
Hands-on Lab
Upload VMs from On-premises to Cloud
SummaryIT Pro experience
Support for key workloads
Create Disks and Images
Manage VMs easily
ResourcesTechNet Evaluation CenterDownload Microsoft software trials today.technet.microsoft.com/evalcenter
Microsoft Virtual AcademyTake a free, online course.microsoftvirtualacademy.com
IT CampsFind an additional IT Camp near you.technet.microsoft.com/globalitcamps
Microsoft CertificationsGet certified on Microsoft Products & Technologies.aka.ms/certifications
TechNet EdgeGet weekly Microsoft news and watch technical video interviews with the product teams for IT Prosedge.technet.com
© 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.