42
Windows Azure Virtual Machines

Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs Agenda

Embed Size (px)

Citation preview

Page 1: Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs Agenda

Windows Azure Virtual Machines

Page 2: Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs Agenda

•Windows Azure VMs•VMs and Cloud Services•VM Availability•Images and Disks•Managing VMs

Agenda

Page 3: Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs Agenda

Windows Azure VMs

Page 4: Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs Agenda

PaaS SaaSPhysical

Virtual IaaS

A Continuous Offering From Private to

Public Cloud

Page 5: Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs Agenda

Windows Azure Virtual Machines

IT Pro experience

Support for key server applications

Easy storage manageability

High availability features

Advanced networking

Integration with compute PaaS

Page 6: Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs Agenda

Cloud First Provisioning

Getting Started

Management Portal

>_Scripting

(Windows, Linux and Mac)

REST API

New Disk Persisted in Storage

Cloud

Boot VM from New Disk

Select Image and VM Size

Windows Server

Linux

Extra SmallSmallMediumLarge X-Large

Page 7: Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs Agenda

Get-AzureVM# Set VM Image, IP of DNS/AD and VM Name$imgName = 'fb83b3509582419d99629ce476bcb5c8__Microsoft-SQL-Server-2012SP1-Enterprise-CY13SU04-SQL2012-SP1-11.0.3350.0-

Win2012'$advmIP = '10.0.10.4'$advmName = 'SQL-73'$dns1 = New-AzureDns -Name $advmName -IPAddress $advmIP#SET VM NAME AND DOMAIN ITEMS$vmName = 'FishersSQL'$adminUsername = 'microsoft'$adminPassword = ‘p@$$word'$domainPassword = ‘p@$$word'$domainUser = 'microsoft'$FQDomainName = 'contoso.com'$subNet = 'Apps'# Configuring VM to Automatically Join Domain$advm1 = New-AzureVMConfig -Name $vmName -InstanceSize Medium -ImageName $imgName | add-AzureProvisioningConfig -

WindowsDomain -AdminUserName $adminUsername -Password $adminPassword -Domain 'contoso' -DomainPassword $domainPassword -DomainUserName $domainUser -JoinDomain $FQDomainName | Set-AzureSubnet -SubnetNames $subNet

#SET Network$serviceName = 'FishersBootCamp'$affinityGroup = 'USApplications'$adVNET = 'Development'# New Cloud Service with VNET and DNS settingsNew-AzureVM –ServiceName $serviceName -AffinityGroup $affinityGroup -VMs $advm1 -DnsSettings $dns1 -VNetName $adVNET

Powershell Provisioning Demo

Page 8: Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs Agenda

Supported Windows Server Applications

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

Page 9: Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs Agenda

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

Page 10: Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs Agenda

Gallery Images Available

Open SourceOpenSUSE 12.2

CentOS 6.3

Ubuntu 12.04/12.10

SUSE Linux Enterprise Server 11 SP2

MicrosoftWindows Server 2008 / 2012

SQL Server Eval

BizTalk Server

Visual Studio 2013

Page 11: Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs Agenda

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) 2

Medium 2 3.5 GB 200 (Mbps) 4

Large 4 7 GB 400 (Mbps) 8

Extra Large 8 14 GB 800 (Mbps) 16

Page 12: Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs Agenda

Linux Offering

1ST

First Class CitizenEnterprise + ISVOpen Source CommunitySupport

Page 13: Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs Agenda

Virtual Machines and Cloud Services

Page 14: Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs Agenda

Cloud Service is a…• Management• Configuration• Security• Networking• Service Model

boundary

Cloud Services, Roles, and Instances

INS

TA

NC

ES

RO

LES

VM 1 VM 2 VM 3WEB ROLE

VM 4 VM 5 VM…WORKER ROLE

Page 15: Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs Agenda

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

Page 16: Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs Agenda

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

Page 17: Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs Agenda

DEMO

Getting Started with Virtual Machines

Page 18: Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs Agenda

Virtual Machine Availability

Page 19: Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs Agenda

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

Page 20: Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs Agenda

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 domains

Update 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

Page 21: Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs Agenda

Fault Domain

Rack

Fault Domain

Rack

INSTANCE

INSTANCE

INSTANCE

INSTANCE

INSTANCE

INSTANCE

INSTANCE

INSTANCE

UD #1

UD #1

UD #2

UD #2

Fault and Update Domains

Page 22: Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs Agenda

Virtual Machine Availability SetsUpdate Domains are honored by host OS updates

Fault DomainRack

Fault DomainRack

IIS1

SQL1

IIS2

SQL2

UD #2

UD #2

UD #1

UD #1

Page 23: Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs Agenda

SQL Server2

SQL Server1

End to End Highly Available SolutionRedundancy at every level

IIS Web Application

Web Role

IIS Web Application

Web Role

LB

SQ

L M

irro

ring

Internet

SQL-AVSET

IIS-AVSET

Page 24: Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs Agenda

DEMO

Configuring Load Balancing and High Availability

Page 25: Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs Agenda

Images & Disks

Page 26: Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs Agenda

Persistent Disks and Highly Durable

Windows Azure Storage

Windows Azure Storage (Disaster Recovery)

Virtual Machine

Page 27: Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs Agenda

Persistent Disks and Highly Durable

Windows Azure Storage

Windows Azure Storage (Disaster Recovery)

Virtual Machine

Virtual Machine

Page 28: Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs Agenda

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.

Page 29: Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs Agenda

Image MobilityOn-Premises Cloud

MyApp.vhd

Page 30: Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs Agenda

Bring Your Own Server/VHD

On-Premises

On Premises Virtual Server

Use Case• Forklift Migration of VMs

• Sys Prepped Images

VHD Must Be Fixed Disk * CSUpload Can Convert on Upload

MyApp.vhd

Cloud

Provision VM from Image or Disk using portal, script or API

Page 31: Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs Agenda

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

Page 32: Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs Agenda

What will work on upload…Images

Disks

Sysprep’d Windows Server OS 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

Page 33: Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs Agenda

•Sysprep and “Generalize” is expected•Do NOT put unattend.xml on the disk•Do NOT install the Windows Azure Integration Components!! •No WA Agent

Insert Screenshot.

Tips on BYO Generalized Images

Page 34: Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs Agenda

DEMO

Imaging Virtual Machines

Page 35: Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs Agenda

Managing VMs

Page 36: Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs Agenda

Manage using existing Tools

AzureOnPrem

Windows Server 2012

Internet

Android

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

Page 37: Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs Agenda

Full 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

Scripting Capabilities

Page 38: Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs Agenda

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

Page 39: Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs Agenda

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

Page 40: Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs Agenda

Take the DevUnleashed Windows Azure Survey

Your feedback, helps us make these events available to your community, please fill it out sometime today.

www.surveymonkey.com/s/azureunleashed

Page 41: Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs Agenda

Introduction to Windows Azure Virtual Machines(Windows or Linux)

• Creating Virtual Machines for IIS• Creating a SQL Server Virtual Machine• Deploying a Simple MVC4 ApplicationOr• Creating a Linux Virtual Machine in

Windows Azure• Installing and Configuring the Virtual

Machine• Installing and Configuring Drupal

HANDS ON LAB

Page 42: Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs Agenda

Thank You!